Skip to main content
Category: Communication Type: Utility

Overview

The Send Slack Message node posts messages to Slack via an incoming webhook. Use it to notify channels about events, errors, or summaries.

Description

Provide a Slack webhook URL and message content. Optionally pass blocks/attachments as JSON-encoded strings for rich formatting.

Input Parameters

  • webhookUrl Slack incoming webhook URL.
  • username Optional display name to show as the message sender.
  • message Main text content.
  • attachments JSON-encoded Slack blocks/attachments for rich messages.
Notes:
  • Provide flat key-value pairs; use JSON-encoded strings for complex fields.

Output Parameters

  • deliveryTime ISO timestamp of request completion.
  • deliveryStatus success or failed.
  • responseStatus HTTP status code.

Output Type

Output Type: JSON

Example Usage

Input:
{
  "webhookUrl": "https://hooks.slack.com/services/...",
  "username": "Notifier Bot",
  "message": "Daily report is ready.",
  "attachments": "{\"blocks\":[{\"type\":\"section\",\"text\":{\"type\":\"mrkdwn\",\"text\":\"*Summary:* All systems operational.\"}}]}"
}
Expected Output:
{
  "deliveryStatus": "success",
  "responseStatus": 200
}

How to Use in a No-Code Workflow

  1. Add the Node Place the Send Slack Message node in your notification flow.
  2. Map Inputs Provide webhookUrl and message, optionally pass blocks/attachments.
  3. Check Outputs Confirm deliveryStatus and responseStatus.

Best Practices

  • Prefer blocks for structured messages.
  • Do not include secrets in payloads.
  • Consider channel-specific webhooks for access control.

Common Errors

  • “invalid_payload” Ensure your JSON matches Slack’s schema.
  • “channel_not_found” Check webhook permissions and channel name.