# Task deleted Source: https://neondeerdata.com/docs/platform/automations/triggers/task-deleted/ Trigger · Tasks Starts a run when a task is deleted. **Attio events:** `task.deleted` ## Inputs No configuration. ## Outputs | Label | Key | Type | Always set | Notes | | -------------- | -------------------- | ---------- | ---------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Task | `task` | Task | Yes | A reference to the deleted task. Steps that read the task from Attio will not find it. | | Task ID | `task_id` | Text | Yes | | | Triggered at | `triggered_at` | Timestamp | Yes | | | Deleted by | `deleted_by` | Actor | No | Present only when Attio sends an actor of a recognized type (workspace member, API token, system, app or workflow). | | Content | `content` | Text | No | The task’s text as last saved by Task created, a task change trigger or task trigger setup in Neon Deer. | | Prior deadline | `prior_deadline_at` | Date | No | The deadline saved when the task was created, or by task trigger setup for an existing task. Later deadline changes do not update it. | | Was completed | `prior_is_completed` | True/false | No | The status saved when the task was created, or by task trigger setup for an existing task. Later changes do not update it, so it can reflect an earlier status. | ## How it behaves - The task is not read from Attio, because it is already deleted. Content, Prior deadline and Was completed are values the app saved earlier; each is absent when nothing was saved for the task. - They are not the task’s values at deletion. Content follows the task’s latest text seen by a task trigger. Prior deadline and Was completed keep the values from when the task was created or from task trigger setup: changes seen by Task status changed or Task deadline changed do not update them, and running task trigger setup again does not refresh them. - Starts at most one run per task each time the workflow is turned on. ## 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/). ## Notes - Linked records are not available. ## Example Record when a task is deleted. **Example inputs** | Event | Value | | -------------- | ----------------------------------------------------- | | `task.deleted` | Maya Chen deletes the task "Call back about invoice". | **Example outputs** | Output | Value | | -------------- | ------------------------------------ | | Task | Call back about invoice (deleted) | | Task ID | 7f8a9b0c-1d2e-4f3a-9b4c-5d6e7f8a9b0c | | Triggered at | 2026-10-07T18:22:03Z | | Deleted by | Maya Chen (workspace member) | | Content | Call back about invoice | | Prior deadline | 2026-10-10 | | Was completed | false | Prior deadline and Was completed are the values saved when the task was created, not its values at deletion, so Was completed can reflect an earlier status. Each is absent if nothing was saved.