Slack

The Slack node sends a message to a Slack channel via an Incoming Webhook. Use it for notifications, alerts, and error reporting.

The Slack node sends a message to a Slack channel via an Incoming Webhook. Use it for notifications, alerts, and error reporting.

Overview

PropertyValue
Inputs1
Outputs1
OutputPasses through input

Parameters

ParameterTypeDescription
credentialIdUUIDSlack credential (webhook URL) from Credentials
messageexpressionMessage text. Supports expressions.

Setup

  1. Create an Incoming Webhook in your Slack workspace
  2. Add a Slack credential in Credentials tab with the webhook URL
  3. 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"