Send Message To User
The Send Message To User step is used to send a message to the user. Prerequisite User must have the following permissions:
Tokens and Permissions
Token Type | Permissions |
---|---|
Bot tokens | chat: write channels: write groups: read im:read mpim:read users:read.email |
User tokens | chat: write chat:write: user chat:write: bot channels:read groups:read im:read mpim:read users:read.email |
Reference API documentation: https://api.slack.com/methods/chat.postMessage
Configurations
No. | Field Name | Description |
---|---|---|
1 | Step Name | Name of the step. This name has to be unique in a single workflow. |
2 | Bot/User Access Token | Specify the generated Bot or User Access Token. The data type is Secure String. This is a mandatory field. |
3 | Test Connection | Verifies whether the connection is established or not. |
No. | Field Name | Description |
---|---|---|
1 | User Email ID | Specify the user email ID to which you want to send the message. The data type is String. This field is mandatory. |
2 | Get | Click Get, if a connection is successfully established, it populates a list of users. |
3 | Message | Specify the message you want to send to the user. The data type is String. This field is mandatory. |
4 | API Request Delay | Provide an appropriate delay according to the rate limit of your Slack API. |
Output tab:
No. | Field Name | Description |
---|---|---|
1 | Message ID | Output field to hold the result of the successful plugin execution. The default label value for this field is “MessageID”. |