Error to Slack icon

Error to Slack

Connect to the Error output of Telegram Long Polling Trigger (or any node that outputs botId + error). Sends each item to a Slack channel using the given token.

Error to Slack

AI-generated

Summary

Posts one Slack message for each incoming item using the supplied bot token and channel. Choose simple formatting from configurable bot ID and error fields, or structured formatting from title, message, code, source, env, and details.

Inputs

  • Slack Bot Token (required) — Slack bot OAuth token with the chat:write scope.
  • Channel (required) — Channel ID or name; the bot must be a member of the channel.
  • Format Mode — Simple uses the configured bot ID and error fields. Structured builds a multiline message from the item's title, source, env, code, message, and object-valued details.
  • Message Prefix — Optional text prepended to each message; defaults to 🚨 [Telegram Long Polling].
  • Message Field (error text) — In simple mode, the JSON key for error text; defaults to error. Falls back to the item's error field.
  • Bot ID Field — The JSON key for the bot ID; defaults to botId. Falls back to botId, then bot_id.

Output shape

One output item per input item, preserving its JSON and adding Slack status fields.

Successful sends add _slackSent: true and _slackOk: true. When Continue On Fail is enabled, send failures add _slackSent: false and _slackError; otherwise an error is thrown. Missing message text is shown as “(no error text)”. Structured details are included as formatted JSON when they are an object.

Links

Discussion