The Slack node sends a message to a Slack channel via an Incoming Webhook. Use it for notifications, alerts, and error reporting.
Overview
| Property | Value |
|---|---|
| Inputs | 1 |
| Outputs | 1 |
| Output | Passes through input |
Parameters
| Parameter | Type | Description |
|---|---|---|
credentialId | UUID | Slack credential (webhook URL) from Credentials |
message | expression | Message text. Supports expressions. |
Setup
- Create an Incoming Webhook in your Slack workspace
- Add a Slack credential in Credentials tab with the webhook URL
- Reference the credential in the node
Example
{
"type": "slack",
"data": {
"label": "notifyTeam",
"credentialId": "slack-credential-uuid",
"message": "Workflow completed: $userInput.body.text"
}
}Use with Error Handler for failure notifications:
"message": "Error in $errorHandler.errorNode: $errorHandler.error"Related
- Node Types – Overview of all node types
- Error Handler – Send Slack on workflow failure
- Credentials Tab – Add Slack webhook