EnvironmentVariable
An organization environment variable. Reference it from an action field with the `reference` token; the value is substituted per row when the workflow runs. Values are never returned by the API.
Properties
keystringrequiredCanonical identifier, unique within the organization and immutable once created. This is the segment used in the reference token.
namestringrequiredDisplay name shown in the Floqer app. Editable, so never reference a variable by it.
descriptionnull | stringrequiredOptional free-text description set by the org. `null` when unset.
scopestringrequiredWhich axis the value varies along. `org` — one value for the whole organization. `workflow` — one value per workflow, so the variable only resolves in workflows that have one set. `user` — one value per member, resolved against the workflow's OWNER (not whoever triggers the run).
"org""workflow""user"referencestringrequiredReady-to-paste reference token. Use it as (or inside) any string value in Configure Action's `inputs`.
value_countintegerrequiredHow many scope points currently have a value: 1 or 0 for `org` scope, and for `workflow` / `user` scope the number of workflows / members with one set. `0` means the variable resolves nowhere yet.
created_bynull | stringrequiredEmail of the member who created the variable. `null` on older rows.
updated_atstring <date-time>requiredUTC timestamp (ISO 8601) the definition was last changed. Setting a value does not change it.
Example
{
"key": "string",
"name": "string",
"description": null,
"scope": "org",
"reference": "{{env.api_base}}",
"value_count": 0,
"created_by": null,
"updated_at": "1970-01-01T00:00:00.000Z"
}