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 Post Message
- Test Schedule Message
- Test Update Message
- Update Message
Get Involved
Version
Test Post Message
Test the post_message pipeline.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run slack.pipeline.test_post_blocks \ --arg 'channel=<string>'
Use this pipeline
To call this pipeline from your pipeline, use a step:
step "pipeline" "step_name" { pipeline = slack.pipeline.test_post_blocks args = { channel = <string> }}
Params
Name | Type | Required | Description | Default |
---|---|---|---|---|
cred | string | Yes | Name for credentials to use. If not provided, the default credentials will be used. | default |
blocks | string | Yes | The json of the blocks layout to be published. | Hello World from test_post_blocks pipeline. |
channel | string | Yes | Channel, private group, or IM channel to send blocks to. Can be an encoded ID, or a name. | - |
Outputs
Name | Description |
---|---|
channel | Channel name used in the test. |
post_message | Check for pipeline.post_message. |
delete_message | Check for pipeline.delete_message. |