Add User To Channel
This step adds a new user to your Slack workspace by sending an invitation. You provide the user's email address. Use this step in onboarding workflows that provision new employee access to Slack, or in automation that invites external collaborators to your workspace. Permission User must have the following permissions:
| Tokens | Permissions |
|---|---|
| Bot tokens | • channels:write.invites • channels:read • groups:write.invites• groups:read • mpim:write.invites• channels:manage • groups:write• im:write • im.read• mpim:write • mpim:read• users:read.email User tokenschannels:write.invites • groups:write.invites • mpim:write.invites• channels:write • channels:read• groups:write • groups:read• im:write • im:read• mpim:write • mpim:read• users:read.email |
| User tokens | • channels:write.invites • groups:write.invites • mpim:write.invites• channels:write • channels:read• groups:write • groups:read• im:write • im:read• mpim:write • mpim:read• users:read.email |
Reference API documentation: https://api.slack.com/methods/conversations.invite
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. |
Input Tab
Input Fields
| No. | Field Name | Description |
|---|---|---|
| 1 | Channel Name | Specify the channel name in which you want to add the user. The data type is String. This field is mandatory. |
| 2 | Get | Click Get. If a connection is successfully established, it populates a list of channels. |
| 3 | User Email ID | Specify the user email ID which you want to add to the channel. The data type is String. This field is mandatory. |
| 4 | Get | Click Get. If a connection is successfully established, it populates a list of users. |
| 5 | API Request Delay | Provide an appropriate delay according to the rate limit of your Slack API. |