Basic Structure
Trigger Types
Triggers define how a flow is invoked.HTTP Trigger
The most common trigger type. Creates a REST endpoint.| Field | Type | Required | Description |
|---|---|---|---|
method | string | Yes | HTTP method: GET, POST, PUT, DELETE, PATCH |
path | string | Yes | URL path for the endpoint |
Cron Trigger
Schedule flows to run at specific times.| Field | Type | Required | Description |
|---|---|---|---|
schedule | string | Yes | Cron expression |
timezone | string | No | IANA timezone (default: UTC) |
Queue Trigger
Process messages asynchronously with automatic retries.| Field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Queue name (unique per project) |
parallelism | number | No | Concurrent consumers (1 = strict FIFO) |
retries | number | No | Max retry attempts (0 = no retries) |
timeout | string | No | Handler execution timeout |
backoff | object | No | Retry backoff strategy |
Node Structure
Every node has the same base structure:| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique identifier within the flow |
type | string | Yes | One of the 12 node types |
config | object | Yes | Type-specific configuration |
Execution Order
By default, nodes execute sequentially in the order they appear in thenodes array.
Branching
Control flow nodes (condition, switch) can branch execution:
then and else arrays.
Parallel Execution
Theparallel 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:Flow States
Flows have a status that controls execution:| Status | Description |
|---|---|
draft | In development, not executable |
published | Live and accepting requests |
disabled | Temporarily stopped |
archived | Soft deleted |
Versioning
Flows maintain version history for rollback:current_version- Latest saved versionpublished_version- Currently deployed version
Next Steps
- Nodes Overview - Learn about all node types
- Template Expressions - Reference data in your flows
- Pipes - Transform data inline