Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Slack connection the step signs in with. |
| ChannelRequired | Picked from the list Slack offers. |
| PeopleRequired | Pick people, or type user ids — at most 1,000. Find user by e-mail gives you an id. People who are already in the channel are skipped. |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `slack`) |
channel | texta value from the vendor's own list |
users | texta value from the vendor's own list |
Output
| Field | Type |
|---|---|
invitedCountPeople invited | number |
alreadyPresentThey were already in the channel | boolean |
channel | object |
Sample output, and the expression for each field
- alreadyPresentfalse
- channel{}
- invitedCount2
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"channel": "<channel>",
"connection": "<connection id>",
"users": "<people>"
},
"label": "Invite people to a channel",
"type": "slack.inviteToChannel",
"version": 1
}