FlowmageDocs

Invite people to a channel

BetaChanges data

Adds people to a Slack channel.

Settings

SettingWhat it is
ConnectionRequiredThe Slack connection the step signs in with.
ChannelRequiredPicked from the list Slack offers.
PeopleRequiredPick 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
KeyValue
connectiontexta connection id from `requires.connections` (provider `slack`)
channeltexta value from the vendor's own list
userstexta value from the vendor's own list

Output

FieldType
invitedCountPeople invitednumber
alreadyPresentThey were already in the channelboolean
channelobject
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
}