samples
turbot/flowpipe-samples/throw-error-example-using-slack
OverviewPipelines
0
Triggers
0
Variables
GitHub

Throw Error Example Using Slack

Throw an error if the requested Slack channel is unavailable.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run throw_error_example_using_slack.pipeline.throw_error_example_using_slack \
--arg 'channel=<string>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = throw_error_example_using_slack.pipeline.throw_error_example_using_slack
args = {
channel = <string>
}
}

Params

NameTypeRequiredDescriptionDefault
slack_credstringYesName for Slack credentials to use. If not provided, the default credentials will be used.default
channelstringYesConversation ID to learn more about.-

Outputs

NameDescription
channelChannel details.