Skip to main content

Messaging Nodes

Send notifications and alerts via email, Telegram, Slack, and Discord.

Messaging Nodes

Send alerts, notifications, and reports to your team or users. Integrate with popular messaging platforms to receive real-time updates from your IoT devices and automations.

4 Nodes
4 Platforms
2-Way Communication

email

SMTP HTML Attachments

Send emails via SMTP with attachments and HTML templates. Perfect for reports, logs, and formal notifications.

Protocol SMTP with TLS/SSL
Auth Plain, LOGIN, OAuth2
Content Plain text, HTML, templates
Attachments Files, buffers, base64

Configuration

server SMTP server hostname
port 587 (TLS) or 465 (SSL)
user Email username
password App password or OAuth token
to Recipient email(s)
subject Email subject line

Output Example

{
  "payload": {
    "messageId": "<abc@mail.com>",
    "accepted": ["user@example.com"]
  }
}

Use app passwords for Gmail (not your main password). HTML templates support Mustache syntax for dynamic content.

telegram

Bot API Two-Way Commands

Send and receive messages, photos, and commands via Telegram bots. The most popular choice for real-time IoT alerts.

Modes Send and receive
Content Text, photos, documents, location
Buttons Inline & reply keyboards
Groups Full group chat support

Configuration

botToken Bot token from @BotFather
chatId Target chat ID or @username
parseMode "Markdown" | "HTML"
type "message" | "photo" | "document"
replyMarkup Keyboard buttons JSON

Output Example

{
  "payload": {
    "message_id": 123,
    "chat": { "id": -100123 },
    "text": "Hello!"
  }
}

Create bots via @BotFather. Use /setcommands to register bot commands. Chat IDs are negative for groups.

slack

Webhooks Block Kit Threads

Post messages and notifications to Slack channels and users. Great for team notifications and DevOps alerts.

API Web API and Webhooks
Content Text, blocks, attachments
Formatting Markdown, Block Kit
Threads Reply to threads

Configuration

token Bot token (xoxb-...)
webhookUrl Incoming webhook URL
channel #channel or channel ID
text Message text
blocks Block Kit JSON array
thread_ts Reply to thread

Output Example

{
  "payload": {
    "ok": true,
    "ts": "1234567890.123456",
    "channel": "C01234567"
  }
}

Use Block Kit Builder for rich messages. Webhooks are simpler but less flexible than bot tokens. Rate limit: 1 msg/sec per channel.

discord

Webhooks Embeds Mentions

Send messages and embeds to Discord channels via webhooks or bots. Popular for community alerts and gaming integrations.

API Webhooks and Bot API
Content Text, embeds, files
Embeds Rich formatted messages
Mentions @users, @roles, @everyone

Configuration

webhookUrl Discord webhook URL
botToken Bot token (for full API)
channelId Channel ID for bot
content Message text
embeds Embed objects array
username Override webhook username

Output Example

{
  "payload": {
    "id": "123456789",
    "content": "Alert!",
    "embeds": [...]
  }
}

Webhooks are easiest - right-click channel → Integrations → Webhooks. Embeds support colors, fields, images, and footers.

Example Alerts

Common alert patterns for IoT and automation systems

Critical Just now

Temperature exceeded 85°C on Sensor-001. Immediate action required.

Warning 5 min ago

Battery level low (15%) on Gateway-03. Schedule maintenance.

Status Update 1 hour ago

Daily backup completed. 2,847 records exported to S3.

Which Platform to Use?

Choose the right messaging platform for your use case

Platform Best For Two-way Rich Media
email Reports, logs, formal alerts HTML, attachments
telegram Real-time alerts, commands Bot commands Photos, buttons
slack Team notifications, DevOps Slash commands Blocks, threads
discord Community alerts, gaming Bot commands Embeds, reactions

Quick Tips

Avoid Alert Fatigue

Use the delay node to rate-limit notifications and batch similar alerts.

Remote Commands

Telegram bots can receive commands - use /status to query device state remotely.

Security First

Store API tokens and webhook URLs in environment variables, never in flows.

Multi-Channel Alerts

Send critical alerts to multiple platforms for redundancy - email + Telegram for important events.