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

# Create call

> Create a phone-call activity in Apollo.

`apollo.createCall` logs a phone-call activity and associates it with Apollo records.

```ts automations/create-apollo-call.automation.ts theme={null}
import { automation, onDashboardRun } from "automate.ax"
import { apollo } from "automate.ax/apollo"

export default automation("Log a call", () => {
  onDashboardRun({ title: "Log a call" })
  apollo.createCall({
    contact: "ada@example.com",
    status: "completed",
    logged: true,
    durationSeconds: 420,
    note: "Requested a proposal",
  })
})
```

Contact, account, and user fields accept semantic references or `{ id }`. You can also set numbers, timestamps, duration, purpose, outcome, status, and note. Returns the created call.

This action requires an Apollo master API key. Apollo's OAuth app registration omits the required call scope.
