Introduction
Sometimes tasks in Airflow need to share small pieces of data. XComs let tasks send and receive these values easily during a workflow run.
When you want one task to send a result to another task later in the workflow.
When you need to pass a status or a small data value between tasks without using external storage.
When you want to coordinate tasks by sharing simple messages or flags.
When debugging and you want to check what data a task sent to another.
When you want to avoid writing temporary files or databases for small data exchange.