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
FieldTypeRequiredDescription
webhookUrlstringYesSlack Incoming Webhook URL (see below)
messagestringYesMessage text — {{variables}} supported

---

How to get a Slack Webhook URL
  1. Go to api.slack.com/apps and click Create New App → From scratch.
  2. Select your Slack workspace.
  3. In the left sidebar click Incoming Webhooks and toggle it on.
  4. Click Add New Webhook to Workspace, pick the channel, click Allow.
  5. 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
  1. Create the Slack webhook URL (steps above).
  2. Add a Post to Slack node to the canvas.
  3. Paste the webhook URL.
  4. Write your message — e.g. New lead: {{lead.firstName}} {{lead.lastName}} ({{lead.email}}).
  5. 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.