Pause/Unpause DAG
airflow.set_dag_paused
ActionBusiness appsconnection required
Calls the Airflow API with the connection's credentials.
Pause or unpause a DAG.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- Username & password
- Providers
- Apache Airflow
- Secret shape
- the password, or {"password": "…"}
- Config it needs
- base_url, user
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 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 |
|---|---|---|---|---|---|
dag_id The DAG's id as Airflow lists it, not its display name. | string | Yes | — | — | — |
paused true = pause, false = unpause. | boolean | No | — | — | — |
Output
One shape.
result
| Field | Type | Example |
|---|---|---|
is_paused | boolean | — |
{
"is_paused": false
}Related Apache Airflow nodes
See Pause/Unpause DAG run in a workflow.
In a technical demo we add the Apache Airflow connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.