Skip to main content
The Event Orchestrator evaluates check results from upstream nodes and routes the workflow to the appropriate action: create a new event, update an existing one, close an event, or do nothing.

When to use

Place this node after your check nodes. It reads the checks results and manages event state so your workflow correctly handles the full event lifecycle — from detection to resolution.

How it works

The orchestrator maintains event state in the state machine’s Redis store. On each execution, it:
  1. Reads the checks object from the input (set by upstream check nodes)
  2. Evaluates whether conditions are met (using AND or OR logic across all checks)
  3. Looks up the current event state for this scope
  4. Routes to the appropriate output based on conditions + event state

Routing logic

Outputs

The node has four outputs, one for each routing decision:

Configuration

Advanced options

Scope types

The scope determines how events are grouped:

Output data

The orchestrator adds an eventOrchestrator object to the output:
On the close output, global_event_id contains the Worlds event ID to close, and event_start_time is when the event was created (useful for calculating duration).

Credentials

No credentials required. The orchestrator communicates with the state machine directly.

Example

In the Streaming Track State guide, the orchestrator:
  • Uses track scope (one event per tracked object)
  • Reads the Type I check results
  • Routes to Create Event on first detection → captures image, creates event, generates GIF, sends email
  • Routes to Close Event when the object moves away → closes the event with duration metadata