Environments & variables
Environment variables keep configuration out of your flow definitions. The same checkout-smoke flow can run against staging or production by changing which environment you pick at launch — not by editing nodes.
Variables live in three layers:
- Organization defaults — the base set, shared by every flow in the organization.
- Named overlays — sets like
stagingorprodthat override matching organization defaults when selected at launch. - Flow-level variables — defined on a single flow.
Resolution at launch
Section titled “Resolution at launch”When you launch a flow, you can pass an environment key — the name of an overlay. Values then resolve into the execution’s inputs in this order, later layers overriding earlier ones:
- Organization defaults
- The named overlay you selected (overrides matching default keys)
- The flow’s own variables (override both organization layers)
Inside requests, reference any resolved variable with {{double_brace}} syntax — {{BASE_URL}}, {{API_TOKEN}}.
# Run against the staging overlayechopoint flows run <flow-id> --environment stagingValues are limited to 1000 characters each.
Managing organization variables
Section titled “Managing organization variables”# Base layer (organization defaults)echopoint org env set --var BASE_URL=https://api.example.comechopoint org env getechopoint org env unset BASE_URL
# Named overlays via -eechopoint org env set -e staging --var BASE_URL=https://staging.example.comechopoint org env get -e staging
# List or delete overlaysechopoint org env environments listechopoint org env environments delete stagingThe Environment page in the app manages the same layers: organization defaults, named overrides, and runtime configuration safety.
Managing flow variables
Section titled “Managing flow variables”echopoint flows env set <flow-id> --var API_TOKEN=tok_test_123echopoint flows env get <flow-id>echopoint flows env unset <flow-id> API_TOKENechopoint flows env delete <flow-id>Next steps
Section titled “Next steps”- Building flows — using
{{variables}}in requests - Dynamic variables — generated test data vs configuration
- Runners — how resolved values reach each runner type
- CLI — full
org envandflows envreference