# Task deadline changed Source: https://neondeerdata.com/docs/platform/automations/triggers/task-deadline-changed/ Trigger · Tasks Starts a run when a task’s deadline is set, changed or cleared. **Attio events:** `task.created` , `task.updated` ## Inputs No configuration. ## Outputs | Label | Key | Type | Always set | Notes | | ------------------- | --------------------- | --------------- | ---------- | ------------------------------------------------------------------------------------------------------------------- | | Task | `task` | Task | Yes | | | Task ID | `task_id` | Text | Yes | | | Triggered at | `triggered_at` | Timestamp | Yes | | | Updated by | `updated_by` | Actor | No | Present only when Attio sends an actor of a recognized type (workspace member, API token, system, app or workflow). | | Change type | `change_type` | Text | Yes | `set` (no prior deadline), `cleared` (no new deadline) or `moved`. | | Deadline | `deadline_at` | Date | No | Date only (YYYY-MM-DD). The time of day is dropped. | | Prior deadline | `prior_deadline_at` | Date | No | Date only. | | Content | `content` | Text | Yes | | | Linked record count | `linked_record_count` | Number | Yes | | | Linked records | `linked_records` | List of records | Yes | Iterable in a Loop block. Records whose object cannot be resolved to a slug are left out. | ## How it behaves - Compares the full deadline value Attio returns with the stored prior value. The Deadline and Prior deadline outputs are truncated to the date. - Needs a stored prior value for the task. The first event for a task the app has never seen stores the value and does not start a run. ## Errors Triggers have no error branch. When something goes wrong inside a trigger, no run starts. See [Troubleshooting](https://neondeerdata.com/docs/platform/automations/troubleshooting/). ## Example Alert the deal owner when a task deadline slips. **Example inputs** | Event | Value | | -------------- | ------------------------------------------------------------------------ | | `task.updated` | Sam Ortiz moves the deadline of "Security review" from 14 to 20 October. | **Example outputs** | Output | Value | | ------------------- | ------------------------------------ | | Task | Security review | | Task ID | 6e7f8a9b-0c1d-4e2f-8a3b-4c5d6e7f8a9b | | Triggered at | 2026-10-07T10:12:48Z | | Updated by | Sam Ortiz (workspace member) | | Change type | moved | | Deadline | 2026-10-20 | | Prior deadline | 2026-10-14 | | Content | Security review | | Linked record count | 1 | | Linked records | Acme Renewal (deals) | Clearing the deadline gives Change type `cleared` with no Deadline output.