Chat2Crm Send icon

Chat2Crm Send

Send messages to Chat2Crm Redis streams

Chat2Crm Send

AI-generated

Summary

Writes each input item’s message to one or more selected Chat2Crm Redis streams. It chooses message data from the input item when available, otherwise from the Message Data parameter, and appends a sent and errors summary to each output item.

Inputs

  • Stream Names or IDs (required) — Select one or more streams to write to. The predefined options map to Redis DB 0 or DB 1; custom stream IDs default to DB 0 unless recognized by the node’s mapping.
  • Message Data — JSON object to send when the input item has neither an object-valued data field nor an object-valued commandList field. The chosen object must contain at least one field.
  • Message ID — Redis stream entry ID; defaults to * for automatic generation. An input item’s messageId, when present, takes precedence over this parameter.

Output shape

One output item per input item, preserving its original JSON fields and adding sent and errors arrays.

For each selected stream, the node writes the message fields with Redis XADD. Object values are JSON-encoded; null or undefined values become empty strings, and other values are stringified. Each sent entry reports the stream, DB, and Redis-generated or specified message ID; each errors entry reports a per-stream write failure. Empty message data or no selected stream causes an error.

Links

Discussion