library
turbot/slack
Get Involved
Version
Pipeline: Get Channel ID
Get the ID from the channel name.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run slack.pipeline.get_channel_id \ --arg 'channel_name=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = slack.pipeline.get_channel_id 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 channel. | - |
channel_types | list(string) | No | Mix and match channel types by providing a list of any combination of public_channel, private_channel, mpim, im. | - |
Outputs
Name | Description |
---|---|
channel_id |