Menu
Send Message
Send a message to a Slack channel
Use it in a workflow
- Add a step and choose the Slack connector.
- Pick the Send Message action (under slack).
- Fill in the fields below, then reference the result from later steps as
{{sendMessage.response.data}}.
Fields
Examples
Simple Text Message
Send a plain text message to a channel
{
"channel": "#general",
"text": "Hello from API Orchestrator!"
}
Rich Formatting with Blocks
Send a formatted message using Slack Block Kit
{
"channel": "#alerts",
"blocks": "[\n {\n \"type\": \"header\",\n \"text\": {\n \"type\": \"plain_text\",\n \"text\": \"Alert Notification\"\n }\n },\n {\n \"type\": \"section\",\n \"text\": {\n \"type\": \"mrkdwn\",\n \"text\": \"*Status:* :warning: Warning\\n*Message:* Workflow execution failed\"\n }\n }\n]"
}
Reply in Thread
Reply to a message in a thread
{
"channel": "#general",
"text": "This is a reply in the thread",
"threadTs": "1234567890.123456"
}
Need more? See the Slack guide for connection setup and behaviour shared by every action.
Was this page helpful?