library
turbot/slack
- Archive Channel
- Create Channel
- Delete Message
- Delete Scheduled Message
- Get Channel
- Get Channel History
- Get Channel ID
- Get Current User
- Get Message Permalink
- Get User
- Invite Users to Channel
- List Channels
- List Scheduled Messages
- Open Message
- Post Message
- Post Message to Webhook
- Schedule Message
- Test Create Channel
- Test Invite Users to Channel
- Test Post Message
- Test Schedule Message
- Test Update Message
- Update Message
Get Involved
Version
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 |
---|---|---|---|---|
cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | 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. |