Running flows
Executions & live runs
Launch a flow from the app, CLI, API, CI, or a schedule, watch it run node by node, and read what every node did.
Watch a run
Section titled “Watch a run”Press run and watch the nodes light up one at a time. The event log shows what the live stream sends.
- POST /auth/token get_token queued
- POST /payments create_payment queued
- Delay Delay 2s wait_for_settlement queued
- Module verify-refund verify_refund queued
- Press Run flow to stream events.
run_when: always, so it still runs after a failure — unless an input it needs was never produced.
Launch a run
Section titled “Launch a run”| From | How |
|---|---|
| App | Press Run flow on the canvas |
| CLI | echopoint flows launch <flow-id> or echopoint flows run <flow-id> |
| API | POST /flows/{id}/launch with an API key |
| CI | The GitHub Action, nanostack-dev/echopoint-cli@v1 |
| Schedule | A monitor runs a tagged suite on a recurring schedule |
launch returns right away with the execution ID. run goes end to end and waits for the result. Exit code 0 means the flow passed.
echopoint flows launch <flow-id>
echopoint flows run <flow-id> --environment staging --verboseThe API launch endpoint accepts an Idempotency-Key header. A retried request then does not start a duplicate run.
curl -X POST "https://api.echopoint.dev/flows/<flow-id>/launch" \ -H "X-Api-Key: <key>" \ -H "X-Organization-Id: <org-id>" \ -H "Idempotency-Key: deploy-2026-06-09-1"Statuses
Section titled “Statuses”An execution moves through pending, then running, then ends as completed, failed, or cancelled.
Nodes use the same statuses plus skipped. A node is skipped when its upstream path failed or its inputs were missing. It records why.
Follow a run live
Section titled “Follow a run live”While a run is going, the canvas updates node by node over SSE. You do not refresh. The stream sends flat JSON events:
| Event | Meaning |
|---|---|
flow.started | The execution began. |
node.started | A node began running. |
node.completed | A node finished, with its results. |
node.failed | A node failed. |
The same stream is at GET /flows/{flowId}/executions/{executionId}/stream. In a terminal, echopoint flows run --verbose prints live node status.
Read the results
Section titled “Read the results”Each flow keeps its full run history. Open any execution to see what every node recorded:
| Field | What it tells you |
|---|---|
assertion_results | Each assertion with expected value, actual value, and pass or fail. Recorded on passing runs too. |
skip_reason | Why a skipped node did not run. |
missing_inputs | Which inputs a skipped node was waiting on. |
Nodes also keep their own history across runs. Use it to spot a step that fails now and then.
From the CLI:
echopoint flows execution list <flow-id>echopoint flows execution get <flow-id> <execution-id>Debug a failed run
Section titled “Debug a failed run”- Find the first failed node. Nodes after it are usually skipped, not the cause.
- Read its assertion results. Expected against actual shows a wrong status, a wrong value, or nothing at all.
- Check each skipped node’s
skip_reasonandmissing_inputs. A missing input points to an upstream output that did not match, often ajsonPaththat no longer fits the response. - Confirm the right environment key was used at launch, and that the flow’s variables point to outputs that exist.
- Fix the request, extractor, or assertion. Launch again against the same environment.
Next: Runners · Scheduled runs · Outputs & assertions · Flow history · CLI