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

# Bulk create tasks

> Create the same Apollo task for several contacts.

`bulkCreateTasks` creates one task per resolved contact in a single provider
request.

```ts automations/bulk-create-apollo-tasks.automation.ts theme={null}
import { automation, onHttpRequest } from "automate.ax"
import { bulkCreateTasks } from "automate.ax/apollo"

export default automation("Create Apollo follow-up tasks", () => {
  onHttpRequest({ scope: "automation" })
  bulkCreateTasks({
    contacts: ["ada@example.com", "grace@example.com"],
    user: "seller@example.com",
    type: "action_item",
    dueAt: "2026-08-06T17:00:00Z",
    note: "Send the event follow-up",
  })
})
```

`contacts` is a non-empty reference array. `user`, `type`, and `dueAt` are
required. `priority` defaults to `"medium"`, `status` to `"scheduled"`, and
`note` is optional. Optional `account` selects the binding. Returns one
`ApolloTask` per created task.
