library
turbot/slack
OverviewPipelines
0
Triggers
0
Variables
GitHub

Test Create Channel

Test the create_channel pipeline.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run slack.pipeline.test_create_channel \
--arg 'is_private=<bool>'

Use this pipeline

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

step "pipeline" "step_name" {
pipeline = slack.pipeline.test_create_channel
args = {
is_private = <bool>
}
}

Params

NameTypeRequiredDescriptionDefault
credstringYesName for credentials to use. If not provided, the default credentials will be used.default
channel_to_createstringYesName of the public or private channel to create.flowpipe-test-channel-c50fef87-a07f-0e79-e78d-a13ec12d516d
is_privateboolYesCreate a private channel instead of a public one-

Outputs

NameDescription
channelChannel name used in the test.
create_channelCheck for pipeline.create_channel.
get_channelCheck for pipeline.get_channel.
archive_channelCheck for pipeline.archive_channel.

Tags

type = test