library
turbot/slack
OverviewPipelines
0
Triggers
0
Variables
GitHub

Pipeline: Post Message

Sends a message to a channel.

Run the pipeline

To run this pipeline from your terminal:

flowpipe pipeline run slack.pipeline.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.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
NoThe formatted text to describe the content of the message.-
blocks
string
NoThe json to describe the blocks layout of the message.-
channel
string
YesChannel, private group, or IM channel to send message to. Can be an encoded ID, or a name.-
unfurl_links
bool
NoPass true to enable unfurling of primarily text-based content.-
unfurl_media
bool
NoPass false to disable unfurling of media content.-
thread_ts
string
NoProvide another message's 'ts' value to make this message a reply. Avoid using a reply's 'ts' value; use its parent instead.-

Outputs

NameDescription
messageMessage details.

Tags

recommended = true