library
turbot/slack
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Invite Users to Channel

Invites users to a channel.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run slack.pipeline.invite_users_to_channel \
--arg 'channel=<string>' \
--arg 'users=<list(string)>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = slack.pipeline.invite_users_to_channel
args = {
channel = <string>
users = <list(string)>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.slack
YesName of Slack connection to use. If not provided, the default Slack connection will be used.connection.slack.default
channel
string
YesThe ID of the public or private channel to invite user(s) to.-
users
list(string)
YesA list of user IDs. Up to 1000 users may be listed.-

Outputs

NameDescription
channelChannel details.