Chat2Crm Trigger icon

Chat2Crm Trigger

Triggers workflow when messages arrive in Chat2Crm Redis streams

Chat2Crm Trigger

AI-generated

Summary

Monitors selected Chat2Crm Redis streams and triggers the workflow for each new entry. It reads entries directly with Redis XREAD, starting from the latest entry present when monitoring begins, or from the beginning for an empty or not-yet-created stream.

Inputs

  • Streams (required) — Select one or more streams to monitor. The node uses the Redis database selected in its credentials for all chosen streams; the DB numbers shown in the stream descriptions do not override that setting.
  • Block Time (Ms) — Redis read block time; defaults to 1000 ms and is capped at 500 ms when reading. Valid range: 0–60000 ms.
  • Count — Maximum entries requested per stream read; defaults to 10. Valid range: 1–1000.
  • Polling Interval (Seconds) — Delay between polling cycles; defaults to 0.5 seconds. Valid range: 0.01–60 seconds; values above 0.5 seconds are capped to 0.5 seconds.

Output shape

One workflow item per stream entry, with a single main output.

Each item contains messageId, stream, data, and commandList. data maps Redis field names to values; if it contains a commands string that parses as JSON, that field is returned as parsed data. commandList is the same object as data. Existing streams are read from their current last entry onward; empty or missing streams are monitored from ID 0-0. Entries already present before monitoring starts are therefore skipped for non-empty streams.

Links

Discussion