> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracecat.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Task triggers

> Run Tracecat workflows from case tasks: trigger automations as tasks are created, assigned, completed, or updated to keep response work moving.

## Overview

You can start a workflow from a case task. Set the workflow on the task, then start it from the task UI. If the workflow has an Input schema, the dialog asks for inputs. Otherwise, Tracecat shows generated case inputs.

<img src="https://mintcdn.com/tracecat/9IEnC4OWdnuB3EvN/img/triggers/task-trigger.png?fit=max&auto=format&n=9IEnC4OWdnuB3EvN&q=85&s=91e3aafea3ea19a100dd0bdfbf177629" alt="Task trigger" width="3440" height="1848" data-path="img/triggers/task-trigger.png" />

## Trigger payload

Task trigger data is available under `${{ TRIGGER }}`.

Fields:

* `${{ TRIGGER.case_id }}`: case ID.
* `${{ TRIGGER.task_id }}`: task ID.

Example payload:

```json theme={null}
{
  "case_id": "case_01abc",
  "task_id": "task_01abc"
}
```
