library
turbot/slack
Get Involved
Version
Pipeline: Test Update Message
Test the update_message pipeline.
Run the pipeline
To run this pipeline from your terminal:
flowpipe pipeline run slack.pipeline.test_update_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_update_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 |
| initial_message | string | Yes | The formatted text of the message to be published. | Hello World from test_update_message pipeline. |
| updated_message | string | Yes | The formatted text of the message to be published. | Hello World from test_update_message pipeline - Updated. |
| 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. |
| update_message | Check for pipeline.update_message. |
| delete_message | Check for pipeline.delete_message. |
Tags
folder = Tests