library
turbot/slack
Get Involved
Version
Pipeline: List Channels
Lists all channels in a Slack team.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run slack.pipeline.list_channels
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = slack.pipeline.list_channels }
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 |
types | list(string) | No | Mix and match channel types by providing a list of any combination of public_channel, private_channel, mpim, im. | - |
exclude_archived | bool | No | Set to true to exclude archived channels from the list. | - |
Outputs
Name | Description |
---|---|
channels | List of channel details. |
Tags
recommended = true