Skip to content

Running flows 3 min read

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.

Press run and watch the nodes light up one at a time. The event log shows what the live stream sends.

checkout-smoke
  1. POST /auth/token get_token queued
  2. POST /payments create_payment queued
  3. Delay Delay 2s wait_for_settlement queued
  4. Module verify-refund verify_refund queued
DELETE run_when: always /payments/{id} cleanup queued
  1. Press Run flow to stream events.
Pick a scenario, then run it. Success edges carry the run forward; the cleanup step has run_when: always, so it still runs after a failure — unless an input it needs was never produced.
FromHow
AppPress Run flow on the canvas
CLIechopoint flows launch <flow-id> or echopoint flows run <flow-id>
APIPOST /flows/{id}/launch with an API key
CIThe GitHub Action, nanostack-dev/echopoint-cli@v1
ScheduleA 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.

Terminal window
echopoint flows launch <flow-id>
echopoint flows run <flow-id> --environment staging --verbose

The API launch endpoint accepts an Idempotency-Key header. A retried request then does not start a duplicate run.

Terminal window
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"

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.

While a run is going, the canvas updates node by node over SSE. You do not refresh. The stream sends flat JSON events:

EventMeaning
flow.startedThe execution began.
node.startedA node began running.
node.completedA node finished, with its results.
node.failedA node failed.

The same stream is at GET /flows/{flowId}/executions/{executionId}/stream. In a terminal, echopoint flows run --verbose prints live node status.

Each flow keeps its full run history. Open any execution to see what every node recorded:

FieldWhat it tells you
assertion_resultsEach assertion with expected value, actual value, and pass or fail. Recorded on passing runs too.
skip_reasonWhy a skipped node did not run.
missing_inputsWhich 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:

Terminal window
echopoint flows execution list <flow-id>
echopoint flows execution get <flow-id> <execution-id>
  1. Find the first failed node. Nodes after it are usually skipped, not the cause.
  2. Read its assertion results. Expected against actual shows a wrong status, a wrong value, or nothing at all.
  3. Check each skipped node’s skip_reason and missing_inputs. A missing input points to an upstream output that did not match, often a jsonPath that no longer fits the response.
  4. Confirm the right environment key was used at launch, and that the flow’s variables point to outputs that exist.
  5. Fix the request, extractor, or assertion. Launch again against the same environment.

Next: Runners · Scheduled runs · Outputs & assertions · Flow history · CLI