library
turbot/slack
Get Involved
Version
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
| 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_to_create | string | Yes | Name of the public or private channel to create. | flowpipe-test-channel-6fb296de-c4e0-e5ea-63f4-93d60e1c05cc | 
| is_private | bool | Yes | Create a private channel instead of a public one | false | 
| users | list(string) | Yes | A comma separated list of user IDs. Up to 1000 users may be listed. |  | 
Outputs
| Name | Description | 
|---|---|
| channel | Channel name used in the test. | 
| users | User IDs used in the test. | 
| create_channel | Check for pipeline.create_channel. | 
| get_channel | Check for pipeline.get_channel. | 
| invite_users_to_channel | Check for pipeline.invite_users_to_channel. | 
| archive_channel | Check for pipeline.archive_channel. | 
Tags
folder = Tests