How to Trigger a Dag from the Apache Airflow® UI
A Dag in Apache Airflow® runs on its schedule, or when you start it yourself. Starting it by hand is called triggering it, and in the UI it takes two clicks: the Trigger button, then the Trigger button of the dialog that opens. That dialog also decides what happens to a paused Dag. This guide triggers a one-task Dag on Airflow 3.4.0.
Prerequisites
- Apache Airflow® running, and a Dag in its list. This guide uses
hello_trigger, whose only task,greet, prints a line.
Step 1: Open the Dag
Click Dags in the menu on the left, then the Dag's name:

At the top right are the pause toggle and the Trigger button. The toggle is off: Airflow creates every new Dag paused.
Step 2: Click Trigger
The Trigger Dag dialog opens:

From top to bottom:
| Option | What it does |
|---|---|
| Single Run | "Trigger a single run of this Dag": what you want here |
| Backfill | "Run this Dag for a range of dates": many runs for past periods |
| Logical Date | The date the run is for. For a hand-started run, now is fine |
| Dag is paused | Only shown for a paused Dag. It decides what the run does to the pause |
| Run ID | "Optional - will be generated if not provided" |
| Dag Run Note | A note attached to the run, for you and your team |
| Configuration JSON | Settings passed to the run. Leave it closed for a Dag that takes none |
The three choices under Dag is paused, in the dialog's own words:
| Choice | What happens |
|---|---|
| Unpause | "The Dag becomes active: unfinished runs continue and the schedule resumes." |
| Drain | "Unfinished runs continue, but no scheduled runs are created." The Dag pauses again once they finish |
| Keep paused | "New and unfinished runs wait until the Dag is unpaused." Your run won't start |
Unpause is selected by default. Keep it if you want the run to happen now and the Dag to stay active.
Step 3: Trigger the Run
Click Trigger at the bottom of the dialog. A few seconds later, the Dag page shows the result:

- Latest Run has a green check: the run succeeded.
- The toggle at the top right is on now, because the dialog unpaused the Dag.
- The grid on the left has one column for the run, and
greetis green in it. - Last Dag Run took 2.91 seconds in total, including the time the run waited in the queue.
To see what the task printed, click greet in the grid; How to Read a Task Log in the Apache Airflow® UI explains the log page.
Common Mistakes
| Mistake | What happens | Do this instead |
|---|---|---|
| Choosing Keep paused | The run is created but waits until you unpause the Dag | Choose Unpause, or unpause later |
| Choosing Backfill for one run | You're asked for a date range and get many runs | Choose Single Run |
| Expecting a paused Dag to stay paused after Unpause | The toggle is on, and a scheduled Dag starts running on its schedule | Choose Drain to have it paused again afterwards |
Troubleshooting
| Symptom | Likely cause | Fix |
|---|---|---|
| The run stays queued | The Dag is paused, or the scheduler isn't running | Unpause it; check the scheduler in the Welcome page's Health row |
| No Trigger button | You're on the Dags list | Click the ▷ button in the Dag's row, or open the Dag |
FAQ
What's a logical date?
The date and time a run is for. Scheduled runs get one from the schedule; a hand-started run uses the time you trigger it, unless you change it.
Can I trigger from the Dags list?
Yes. Each Dag's row has a ▷ button that opens the same dialog.
Can I trigger from the terminal instead?
Yes, with airflow dags trigger: How to Trigger a Dag from the Command Line with airflow dags trigger.
Conclusion
The Trigger button opened the Trigger Dag dialog. With Single Run and Unpause selected, the run of hello_trigger succeeded in 2.91 seconds, its greet task turned green, and the Dag was unpaused along the way.
Additional Resources
- Dag runs — logical dates, manual runs and backfills.
- Dag pausing, deactivation and deletion — Unpause and Drain.
Apache®, Apache Airflow and Airflow® are either registered trademarks or trademarks of The Apache Software Foundation in the United States and/or other countries. No endorsement by The Apache Software Foundation is implied by the use of these marks.
