library
turbot/slack
OverviewPipelines
0
Triggers
0
Variables
GitHub

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

NameTypeRequiredDescriptionDefault
conn
connection.slack
YesName of Slack connection to use. If not provided, the default Slack connection will be used.connection.slack.default
text
string
YesThe formatted text of the message to be published.Hello World from test_post_message pipeline.
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.
delete_messageCheck for pipeline.delete_message.

Tags

folder = Tests