library
turbot/slack
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Test Invite Users to Channel

Test the invite_users_to_channel pipeline.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run slack.pipeline.test_invite_users_to_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_invite_users_to_channel
args = {
is_private = <bool>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.slack
YesName of Slack connection to use. If not provided, the default Slack connection will be used.connection.slack.default
channel_to_create
string
YesName of the public or private channel to create.flowpipe-test-channel-a89469a9-0915-2c9c-3b0d-782a93d323d5
is_private
bool
YesCreate a private channel instead of a public onefalse
users
list(string)
YesA comma separated list of user IDs. Up to 1000 users may be listed.
[
"UB1BZ6QLV"
]

Outputs

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

Tags

folder = Tests