Concept Flow - Orchestrating dbt with Airflow
Start Airflow DAG
Trigger dbt run task
dbt runs models
Check dbt run success?
No→Handle failure
Yes
Trigger dbt test task
dbt runs tests
Check dbt test success?
No→Handle failure
Yes
DAG completes successfully
Airflow starts a DAG that runs dbt models, checks success, then runs dbt tests, handling failures if any.