library
turbot/slack
Get Involved
Version
Pipeline: 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_message \ --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_message args = { channel = <string> }}
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 |
text | string | Yes | The formatted text of the message to be published. | Hello World from test_post_message pipeline. |
channel | string | Yes | Channel, private group, or IM channel to send message 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. |
Tags
folder = Tests