Community Contributed Airflow Dag Run
detail.loadingPreview
This workflow triggers an Airflow DAG run and monitors its state.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This n8n workflow automates the process of triggering an Airflow DAG run, monitoring its status, and handling different outcomes like success, failure, or prolonged waiting periods. It utilizes Airflow API calls to start DAGs and check their execution state. The workflow also includes logic to stop and error out if the DAG run takes too long to complete or fails.
Key Features
- Triggers Airflow DAG runs via API.
- Monitors the state of the triggered DAG run.
- Handles success, failure, and queued states.
- Implements a timeout mechanism for DAG runs.
- Provides error handling for prolonged or failed DAG runs.
How To Use
- Import the workflow into your n8n instance.
- Configure the Airflow credentials (HTTP Basic Auth) with your Airflow API details.
- Set the
BASE_URLandAPI_BASE_URLenvironment variables with your Airflow API endpoint. - Trigger the workflow by providing the
dag_id,task_id,conf(optional),wait(optional), andwait_time(optional) as input. - The workflow will initiate the DAG run and proceed based on its status.
Apps Used
Workflow JSON
{
"id": "9dd68d73-2414-4b30-bf7d-e6e78055a6c8",
"name": "Community Contributed Airflow Dag Run",
"nodes": 0,
"category": "Community Contributed",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 9dd68d73-2414...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Loading Data Into a Spreadsheet
This workflow demonstrates loading mock CRM contact data into a target destination like a spreadsheet.
Get Company by Name
Retrieves company information using the UPROC API.
ConvertKit: Add Subscriber to Form and Tag
Adds a subscriber to a ConvertKit form and a specific tag.
Create Website Screenshot and Send to Telegram
Captures a screenshot of a given website URL and sends it to a Telegram channel.
Post to Twitter from Manual Trigger
Manually trigger a workflow to post a message to Twitter.
Community Contributed GitHub Releases
Parses GitHub release notes to extract and categorize changes for community contributions.