Toggle Flag
launchdarkly.toggle_flag
ActionBusiness appsconnection required
Calls the LaunchDarkly API with the connection's credentials.
Turn a flag on or off in an environment.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- API key
- Providers
- LaunchDarkly
- Secret shape
- the API access token, or {"token": "…"}
- Config it needs
- project_key, environment_key
- Resolved by
- config.connection_id, else node.connection_id
Configuration
3 fields, 1 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
flag_key Id of the flag to act on, from launchdarkly.list_flags — not its name. | string | Yes | — | — | — |
on true = on, false = off. | boolean | No | — | — | — |
environment_key Overrides the connection's environment. | string | No | — | — | — |
Output
One shape.
result
The provider's response object, as returned.
Extra keys beyond the ones listed can appear.
{}Related LaunchDarkly nodes
See Toggle Flag run in a workflow.
In a technical demo we add the LaunchDarkly connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.