library
turbot/slack
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Test Schedule Message

Test the schedule_message pipeline.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run slack.pipeline.test_schedule_message \
--arg 'channel=<string>' \
--arg 'post_at=<number>'

Use this pipeline

To call this pipeline from your pipeline, use a step:

step "pipeline" "step_name" {
pipeline = slack.pipeline.test_schedule_message
args = {
channel = <string>
post_at = <number>
}
}

Params

NameTypeRequiredDescriptionDefault
conn
connection.slack
YesName of Slack connection to use. If not provided, the default Slack connection will be used.connection.slack.default
message
string
YesThe formatted text of the message to be published.Hello World from test_schedule_message pipeline.
channel
string
YesChannel, private group, or IM channel to send message to. Must be an encoded ID.-
post_at
number
YesUnix EPOCH timestamp of time in future to send the message.-

Outputs

NameDescription
channelChannel name used in the test.
schedule_messageCheck for pipeline.schedule_message.
list_scheduled_messagesCheck for pipeline.list_scheduled_messages.
delete_scheduled_messageCheck for pipeline.delete_scheduled_message.

Tags

folder = Tests