Block 1 - Airflow: dag_run
- Type / Role
- n8n-nodes-base.httpRequest - httpRequest
- Config choices
- Version 4.2
This workflow is provided as-is. Please review and test before using in production.
Run Apache Airflow DAG and Retrieve XCom Value What this workflow does This workflow integrates the Apache Airflow API [DAGRun](https://airflow.apache.org/docs/apache airflow/2.10.5/stable rest api...
n8n-nodes-base.httprequest, n8n-nodes-base.code, n8n-nodes-base.stopanderror, n8n-nodes-base.if, n8n-nodes-base.switch, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.wait, n8n-nodes-base.set
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Antonio Cheong.
Original n8n.io sourceThis workflow integrates the Apache Airflow API DAGRun and XCom. It enables n8n to trigger Airflow DAGs and retrieve the execution results.
Update Airflow API Link Prefix
airflow-api node.http(s)://ip:port.https://airflow.example.comConfigure Authentication
Airflow: dag_run node.Basic Auth credentials with your Airflow username and password.Airflow: dag_run - state and Airflow: dag_run - get result nodes.Security Note: Using Basic Authentication requires storing credentials in plaintext. If possible, consider using API Keys or Tokens for enhanced security.
can create on DAG Runs, can read on DAG Runs, can read on XComs, can edit on DAGs, and can read on DAGs.To execute this workflow, use the Execute Sub-workflow node with the following input parameters:
Airflow: dag_run - state check.Airflow: dag_run - state before returning an error.Airflow: dag_run - get result.return_value is stored in the value field.This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Run Apache Airflow DAG and retrieve XCom value |
|---|---|
| Complexity | intermediate |
| Nodes | 12 |
| Categories | Engineering |
| Author | Antonio Cheong |
| Published | 27 Feb 2025 |
Use the JSON export at /data/workflows/3026/3026.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
Run Apache Airflow DAG and Retrieve XCom Value What this workflow does This workflow integrates the Apache Airflow API [DAGRun](https://airflow.apache.org/docs/apache airflow/2.10.5/stable rest api...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering use case.