> ## 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.

# Add task dependencies

> Add blocking dependencies to an Asana task.

`asana.addTaskDependencies` add blocking dependencies to an Asana task.

```ts automations/asana-add-task-dependencies.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { asana } from "automate.ax/asana"

export default automation("Add task dependencies", () => {
  onDashboardRun({ title: "Add task dependencies" })
  asana.addTaskDependencies({
    taskId: "task-gid",
    dependencyTaskIds: ["blocker-task-gid"],
  })
})
```

Provide `taskId` and one or more `dependencyTaskIds`. Optional second argument `{ account }` selects a named Asana binding.

Returns no value.
