library
turbot/slack
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
conn | connection.slack | Yes | Name of Slack connection to use. If not provided, the default Slack connection will be used. | connection.slack.default |
channel | string | Yes | The ID of the public or private channel to invite user(s) to. | - |
users | list(string) | Yes | A list of user IDs. Up to 1000 users may be listed. | - |
Outputs
Name | Description |
---|---|
channel | Channel details. |