Skip to main content
A flow is a JSON document with three main sections: metadata, trigger, and nodes.

Basic Structure

Trigger Types

Triggers define how a flow is invoked.

HTTP Trigger

The most common trigger type. Creates a REST endpoint.

Cron Trigger

Schedule flows to run at specific times.

Queue Trigger

Process messages asynchronously with automatic retries.
See Queue Trigger for full documentation.

Node Structure

Every node has the same base structure:

Execution Order

By default, nodes execute sequentially in the order they appear in the nodes array.

Branching

Control flow nodes (condition, switch) can branch execution:
Branches are specified by node IDs in the then and else arrays.

Parallel Execution

The parallel node runs multiple branches concurrently:

Context

Every flow execution has a context - a data store that nodes read from and write to.

Initial Context

When a flow starts, context is seeded with trigger data:

Node Outputs

After each node executes, its output is written to context:
Access outputs using template expressions:

Flow States

Flows have a status that controls execution:

Versioning

Flows maintain version history for rollback:
  • current_version - Latest saved version
  • published_version - Currently deployed version
You can deploy specific versions to different environments (production, staging).

Next Steps