Amazon Price Tracking in Apache Airflow: XCom, Variables and the catchup Trap
Run a daily Amazon Buy Box price check as an Apache Airflow TaskFlow DAG. The SellerMagnet side is unchanged from the Python quickstart (sellermagnet.py/retry.py, byte-identical); the real content is Airflow-specific: the API key as a Connection instead of a bare environment variable, the price baseline in a Variable (the only state the DAG needs), XCom carrying just a small dict between tasks (never the raw response), and a catchup default that quietly flips between Airflow 2.x and Airflow 3.