Overview
The Slack Incoming Webhook node allows you to send messages to Slack channels using the legacy Slack Incoming Webhooks integration. This is useful for automating notifications, alerts, or updates from n8n workflows directly into Slack. For example, you can use this node to notify a team channel when a new lead is added to your CRM, or to post error alerts from automated processes.
Properties
| Name | Type | Meaning |
|---|---|---|
| Message | String | The content of the message to send to Slack. Required. |
| Options | Collection | Additional settings for the message: |
| - Icon (String): Set the emoji icon for the message (e.g., :robot_face:). | ||
| - Name (String): Set the display name for the message sender (e.g., "n8n-bot"). |
Output
The node outputs a JSON object with the following structure:
{
"status": "ok"
}
- If the operation succeeds,
statuswill indicate the result (typically"ok"). - If an error occurs and "Continue On Fail" is enabled, the output will include:
{
"error": "Error message text"
}
Dependencies
- Slack Incoming Webhook URL: You must configure the node with valid Slack Incoming Webhook credentials.
- n8n Credential: The node requires a credential named
slackIncomingWebhookApi.
Troubleshooting
- Missing or Invalid Webhook URL: If the webhook URL is not set up correctly in the credentials, the node will throw an authentication or request error.
- Message Not Delivered: If required fields (like Message) are empty, Slack may reject the request.
- Common Error Messages:
"invalid_payload": Check that all required fields are provided and formatted correctly."channel_not_found": The webhook is not associated with a valid Slack channel.
- Resolution: Double-check your Slack webhook configuration and ensure all required properties are filled.