LoomCycle: Channel Message icon

LoomCycle: Channel Message

Fires when a new message arrives on a loomcycle channel

LoomCycle: Channel Message

AI-generated

Summary

Listen for messages on a LoomCycle channel and emit each returned batch as workflow items. Choose a global or per-user queue and an acknowledgement mode; the trigger keeps polling until stopped and retries errors with a configurable backoff.

Inputs

  • Channel Name or ID (required) — Select a declared channel or provide its name or ID.
  • Scope — Choose Global (Admin) for the channel-wide queue or User (Per-User) for a queue scoped to one user. Defaults to Global.
  • User ID — For User scope, provide the user ID. If blank, the node uses the credential's Default User ID; a user ID is required for this scope.
  • Delivery Mode — Auto-Ack (default) uses long-poll subscribe, which commits the cursor before processing and provides at-most-once delivery. Peek + Explicit Ack reads without advancing the cursor, emits the batch, then acknowledges its last message; the node stores that cursor in node workflow static data.
  • Max Messages per Batch — Maximum messages requested per polling round; defaults to 10.
  • Wait Ms — Auto-Ack long-poll timeout or, in Peek + Explicit Ack mode, the delay between empty peeks. Defaults to 30000 ms.
  • Error Backoff (Ms) — Delay before retrying a failed poll; defaults to 5000 ms. After five consecutive failures, the node emits an error and stops polling.

Output shape

A stream of workflow items, one per channel message, emitted in batches.

Each message object is emitted as JSON. Empty polling rounds emit nothing. In Peek + Explicit Ack mode, messages are emitted before the batch is acknowledged.

Links

Discussion