Automations
Post to Slack Node
4 min readnode-slack
Send a message to a Slack channel via an Incoming Webhook when an automation runs.
Post to Slack Node
Posts a message to a Slack channel using Slack's Incoming Webhooks feature. Ideal for internal alerts and team notifications.
When to use it
- Alert the sales channel in Slack the moment a high-value lead comes in.
- Notify #ops when a Stripe payment is confirmed.
---
Required fields
| Field | Type | Required | Description |
|---|---|---|---|
| webhookUrl | string | Yes | Slack Incoming Webhook URL (see below) |
| message | string | Yes | Message text — {{variables}} supported |
---
How to get a Slack Webhook URL
- Go to api.slack.com/apps and click Create New App → From scratch.
- Select your Slack workspace.
- In the left sidebar click Incoming Webhooks and toggle it on.
- Click Add New Webhook to Workspace, pick the channel, click Allow.
- Copy the Webhook URL — it starts with
https://hooks.slack.com/services/....
---
Variables available
This node does not produce output variables.
---
Step-by-step setup
- Create the Slack webhook URL (steps above).
- Add a Post to Slack node to the canvas.
- Paste the webhook URL.
- Write your message — e.g.
New lead: {{lead.firstName}} {{lead.lastName}} ({{lead.email}}). - Save and test.
---
Example config
json
{
"webhookUrl": "https://hooks.slack.com/services/T00000/B00000/xxxxxxxxxxxx",
"message": "🔔 New hot lead: *{{lead.firstName}} {{lead.lastName}}* — {{lead.email}} — Score: {{variables.score}}"
}
---
Tips & gotchas
- Slack webhook URLs are effectively secrets — don't expose them publicly.
- Slack supports mrkdwn formatting:
*bold*,_italic_,<URL|link text>. - If the webhook URL is invalid or the app is uninstalled from Slack, the node will fail. Wrap in Try/Catch to prevent the whole flow stopping.