library
turbot/slack
Get Involved
Version
Pipeline: 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 |
|---|---|---|---|---|
| conn | connection.slack | Yes | Name of Slack connection to use. If not provided, the default Slack connection will be used. | connection.slack.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 | true |
| team_id | string | No | Encoded team id to create the channel in, required if org token is used. | - |
Outputs
| Name | Description |
|---|---|
| channel | Conversation object. |