Skip to main content
This walkthrough creates a minimal flow using the built-in echo action (no external credential needed), triggers it, and follows the run through to its result.
You’ll need an API key. Export it as GETDIALED_API_KEY and set the base URL — https://api.getdialed.ai/v1 in production. Paths below add the product group after that base: flow resources live under flows/, account resources under account/, uploads under data/.

1. Create a Flow Definition

A definition declares its inputs, then a series of steps containing tasks. This one has a single step with a single task that echoes a message built from the trigger input:
The response includes the new definition’s id (e.g. def_a1b2c3d4). Note "status": "active" — only active definitions can be triggered.
{{input.message}} is an expression. At runtime it resolves to the message field of the trigger’s input_data.

2. Trigger it

Every trigger creates a Trigger audit record and a Batch. This one carries a single record, so it produces one Execution. To run the same flow for many records at once (e.g. rows of an uploaded file), pass a records array instead — see Triggering with records.

3. Watch it run

Fetch the batch:
The batch’s status moves pending → running → completed. List its executions to see per-record results:
Each execution has its own status, result, and — on failure — an error message.

Next steps

Batches & Executions

The full lifecycle: triggers, batches, executions, and statuses.

Trigger with records

Fan a file of records out into one execution per row.

Credentials

Store the secrets for real integrations like Five9.

Build a real flow

A multi-step flow against a live integration.