library
turbot/slack
- Archive Channel
- Create Channel
- Delete Message
- Delete Scheduled Message
- Get Channel
- Get Channel History
- Get Channel ID
- Get Current User
- Get Message Permalink
- Get User
- Invite Users to Channel
- List Channels
- List Scheduled Messages
- Open Message
- Post Message
- Post Message to Webhook
- Schedule Message
- Test Create Channel
- Test Invite Users to Channel
- Test Post Message
- Test Schedule Message
- Test Update Message
- Update Message
Get Involved
Version
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
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
channel_to_create | string | Yes | Name of the public or private channel to create. | flowpipe-test-channel-b3a60ed3-27ba-9808-2ef9-1d09e61aa9b6 |
is_private | bool | Yes | Create a private channel instead of a public one | - |
Outputs
Name | Description |
---|---|
channel | Channel name used in the test. |
create_channel | Check for pipeline.create_channel. |
get_channel | Check for pipeline.get_channel. |
archive_channel | Check for pipeline.archive_channel. |