Send Slack Message
Overview
The Send Slack Message node posts messages to Slack via an incoming webhook. Use it to notify channels about events, errors, summaries, or team updates.
Description
Post updates to Slack.
Provide a Slack webhook URL and message content. You can send simple text or use Slack's Block Kit for rich formatting.
Team Alerts
Notify channels about critical system events.
Bot Messages
Send automated reports or daily standups.
Input Parameters
Configure the message.
webhookUrlstringRequired"https://hooks.slack.com/services/..."messagestringRequired"Daily report ready."usernamestringOptional"Notifier Bot"attachmentsstringOptionalOutput Parameters
The node returns the delivery status.
deliveryStatusstringOptionalresponseStatusnumberOptionalOutput Type
Output Type: JSON
Returns a JSON object confirming the message delivery.
Example Usage
Example 1: Simple Message
Send a text notification.
{ "webhookUrl": "https://hooks.slack.com/services/...", "message": "Deployment started."}
{ "deliveryStatus": "success", "responseStatus": 200}
Example 2: Rich Blocks
Send a structured message.
{ "webhookUrl": "https://hooks.slack.com/services/...", "message": "New Alert", "attachments": "{\"blocks\":[{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"*Critical Error* detected.\"}}]}"}
{ "deliveryStatus": "success", "responseStatus": 200}
How to Use in a No-Code Workflow
Add the Node
Place the Send Slack Message node in your workflow.
Get Webhook
Paste your Slack Webhook URL (see guide below).
Compose
Enter the message text. Optionally add attachments for rich layouts.
Run
Execute the node to post to the channel.
Create a Slack Webhook URL
Follow these steps to generate a webhook URL for your workspace:
Create App
Go to api.slack.com/apps and click Create New App. Select From scratch.
Enable Webhooks
In the app settings sidebar, click Incoming Webhooks and toggle it On.
Add to Workspace
Click Add New Webhook to Workspace. Select the channel to post to and click Allow.
Copy URL
Copy the Webhook URL displayed. Use this in the node's webhookUrl field.
Best Practices
- Use Block Kit for interactive and structured messages.
- Create separate webhooks for different channels to manage access.
Do / Don’t
- ✔️ Use the
usernamefield to identify the bot clearly. - ✔️ Validate your JSON blocks using Slack's Block Kit Builder.
- ❌ Don’t include sensitive secrets in the message payload.
- ❌ Don’t spam channels; respect user attention.
Common Errors
invalid_payloadErrorOptionalchannel_not_foundErrorOptionalExample Workflow Integration
Use Case: Daily Sales Report
Post a summary of daily sales to the #sales channel.
- Schedule Trigger: Run every day at 9 AM.
- Database Query: Fetch total sales for the previous day.
- Send Slack Message: Post the total amount.
Workflow Data Flow:
{{db.salesTotal}} → {{slack.message}}
