Unify Automations
Logo
Streams by UnifyApps

Streams by UnifyApps

Logo

4 mins READ

Streams by UnifyApps provides event streaming capabilities for automation workflows.

Overview

The node enables reliable message passing between automation processes through a stream-based publish/subscribe model, supporting consumer groups, delayed delivery, and dead-letter queue management for resilient event-driven architectures.

Actions

Action

Description

Polls for new events from stream

Polls for a batch of events from a stream and loops over them inside a running automation

Publish event to stream

Sends an event to a stream immediately

Publish event to stream at

Schedules an event for delivery at a specific time

Publish event to stream with delay

Delays event delivery by a specified duration

Update DLQ status for stream

Sends a failed event to the stream's dead-letter queue (DLQ) with a reason

Republish event

Republishes an event from the DLQ back to the parent stream

Commits offsets

Commits offsets for a stream and consumer group

Triggers

Trigger

Description

Triggers on new event from stream

Starts the automation in real time whenever an event is published to a stream

Triggers in particular time interval for events from stream

Starts the automation at a set interval (Trigger every, in Minutes or Hours) for events published to a stream

Polls for New Events

A loop action that pulls a batch of events from a stream inside a running automation and processes them one at a time or in batches. To start an automation when events arrive, use one of the stream triggers instead.

Key Input Fields:

  • Select Stream — The stream to poll

  • Repeat mode — Single item or Batch items (default). With Batch items, the events are divided and processed in batches

  • Batch size — Number of events in each batch

  • Consumer Group — Identifies a group of consumers that share processing of the stream's events, so you can process events in parallel

  • Auto offset reset — Earliest or Latest. Where to start consuming when the consumer group has no stored offset

  • Commit option — Commit After Read, Commit After Iteration or Manual Commit. With Manual Commit, use the Commits offsets action

  • Capture Iterations — Capture every iteration of the loop

  • Enable DLQ Support — When enabled, you can send failed events to a dead-letter queue (DLQ) stream with Update DLQ status for stream

Output: For each pass, the Item: the event data and its metadata (key, timestamp, event ID).

Publish Event to Stream

Immediately publishes an event to a stream for real-time downstream processing.

Key Input Fields:

  • Stream — The target stream to publish to

  • Key — Partition key that determines event ordering and routing within the stream

  • Event data — The payload to include with the event

Output: Success (true or false).

Publish Event to Stream At

Schedules an event for delivery at a specific point in time, enabling time-coordinated workflows and scheduled processing patterns.

Key Input Fields:

  • Stream — Target stream

  • Key — Partition key

  • Time to publish at — ISO 8601 DateTime specifying the exact delivery time

  • Event data — The event payload

Publish Event to Stream with Delay

Delays event delivery by a configured duration relative to the time of publishing, useful for retry strategies and time-delayed follow-up automations.

Key Input Fields:

  • Stream — Target stream

  • Key — Partition key

  • Time delayed for — Numeric duration value for the delay

  • Unit — Time unit (Seconds, Minutes, Hours, Days, Weeks)

  • Event data — The event payload

Update DLQ Status for Stream

Sends a failed event to the stream's dead-letter queue (DLQ), with a reason and a description, so you can review it later. Use it inside Polls for new events from stream with Enable DLQ Support turned on. Events in the DLQ are not retried automatically; to retry one, use Republish event.

Key Input Fields:

  • Select Stream — The stream the event came from

  • Event Id — The event ID from the polling action

  • Select DLQ Reason — Timeout, Deserialization Error, Validation Failed, Processing Error, Missing Dependency or Unexpected Payload

  • Description — A description of why the event failed, recorded for troubleshooting

Republish Event

Republishes an event from the DLQ back to its parent stream so it can be processed again.

Key Input Fields:

  • Select DLQStream — The DLQ stream that holds the event

  • Select Parent Stream — The stream to republish the event to

  • Event id — The ID of the DLQ event

Note: Consumer groups let several consumers share a stream's events, so you can scale event processing horizontally.

Notes

Keep the following in mind when using Streams by UnifyApps:

  • Order is kept per Key — give events that must stay in order the same Key. Events with different keys may be processed out of order.

  • Delivery is at-least-once — an event may be delivered more than once (for example after a retry or an uncommitted offset), so make consuming steps idempotent.

  • Check the dead-letter queue (DLQ) regularly when using Streams in production; failed events accumulate there and are not retried automatically. Use Republish event to retry them.

  • Use Publish Event to Stream with Delay when you need a timed action without setting up a full Schedule trigger.

  • Set Trigger every on the Triggers in particular time interval for events from stream trigger based on your latency requirements and the expected volume of events.

  • Test end-to-end by publishing a test event and confirming the consuming automation receives and processes it before deploying to production.