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

> ## Agent Instructions
> Automate.ax automations are TypeScript programs.
> Use Bun for installation and command examples.
> Use Automate.ax for the product name and automate.ax for the package, CLI, and domain.
> Treat documented public APIs as current; do not invent transitional or deprecated names.

# On task time tracked updated

> Run an automation when tracked time on a task changes.

`clickUp.onTaskTimeTrackedUpdated` starts an automation when tracked time on a task changes.

```ts automations/clickup-on-task-time-tracked-updated.automation.ts theme={null}
import { automation, sendEmail } from "automate.ax"
import { clickUp } from "automate.ax/clickup"

export default automation("On task time tracked updated", () => {
  const event = clickUp.onTaskTimeTrackedUpdated({
    workspaceId: "workspace-id",
  })
  sendEmail({ subject: "On task time tracked updated", text: event.event })
})
```

Provide the ClickUp `workspaceId`. Optional static `account` defaults to the project's ClickUp binding. Automate.ax maintains one signed Workspace webhook and updates its provider event set as triggers change.

## Trigger data

Returns a `Signal<ClickUpWebhookEvent>`. `event` is `taskTimeTrackedUpdated`; the payload includes `webhookId`, `historyItems`, and applicable `taskId`, `listId`, `folderId`, `spaceId`, `goalId`, or `keyResultId`. Each history item includes its stable ID, date, type, optional field, before and after values, and user.
