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 Post Message
- Test Schedule Message
- Test Update Message
- Update Message
Get Involved
Version
Create Channel
Initiates a public or private channel-based conversation.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run slack.pipeline.create_channel \ --arg 'channel_name=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = slack.pipeline.create_channel args = { channel_name = <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_name | string | Yes | Name of the public or private channel to create. | - |
is_private | bool | Yes | Create a private channel instead of a public one |
|
team_id | string | No | Encoded team id to create the channel in, required if org token is used. | - |
Outputs
Name | Description |
---|---|
channel | Conversation object. |