library
turbot/slack
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
conn
connection.slack
YesName of Slack connection to use. If not provided, the default Slack connection will be used.connection.slack.default
initial_message
string
YesThe formatted text of the message to be published.Hello World from test_update_message pipeline.
updated_message
string
YesThe formatted text of the message to be published.Hello World from test_update_message pipeline - Updated.
channel
string
YesChannel, private group, or IM channel to send message to. Can be an encoded ID, or a name.-

Outputs

NameDescription
channelChannel name used in the test.
post_messageCheck for pipeline.post_message.
update_messageCheck for pipeline.update_message.
delete_messageCheck for pipeline.delete_message.

Tags

folder = Tests