Collecting form input with HITLEntryOperator
Your team uses AI to draft customer support responses, but drafts should never go out without a human sign-off. A reviewer needs to add feedback and set an urgency level before the response is sent. The HITLEntryOperator pauses the pipeline mid-flight and presents a form, so downstream tasks only fire after the reviewer submits.
The code at the bottom simulates a human response, so the pipeline runs locally.
This exercise is part of the course
Building Data Pipelines with Airflow
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
Start Exercise