Slack Operation

Slack operation is an activity provided by the Slack connector to automate operations on channels, chats, and conversations. By using the Slack operation, you can create public or private channels, invite users, post, delete messages and perform other related actions.

Every activity has a Configuration tab to configure the activity, an Input tab to set the input values for the activity, and an Output tab to set the output values for the activity.

Configuration

On the Configuration tab, you can define the Slack connection, the type of object, and the method that must be used.

Field Description
Connection Specify the Slack connection that you created. If you have created multiple Slack connections, select the one you want to use from the drop down menu.
Object The Slack operation supports the following objects:
  • chat: Select this option to post, update, or delete messages on a slack channel.
  • conversations: Select this option to perform operations associated with conversations object. It is mostly used for operations related to public channels, private channels, direct messaging, and group direct messaging.
Method These are the methods supported by every object. The items in the list vary based on the object selected. For example, if you selected conversations, some methods listed are create, invite, join, leave, and so on.

Input

The input schema for this activity is displayed in a tree format on this tab. The schema varies according to the object that you selected in the Configuration tab. You can provide the input values in the mapping input fields directly or use Mapper to map the input values to a field from the output of a preceding activity in the flow.

Output

The Output tab displays the activity schema in a tree structure format. The output of an activity is read-only. The information in the schema varies based on the fields selected on the Configuration tab. The properties that are displayed in the schema correspond to the output of this activity and can be used as input by subsequent activities in the flow.