apollo.createAccount creates a workspace account from at least a name or domain.
automations/create-apollo-account.automation.ts
Returns the created
ApolloAccount. Stage and owner strings must resolve to a unique exact match.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Create an Apollo account with optional owner, stage, and custom fields.
apollo.createAccount creates a workspace account from at least a name or domain.
import { automation, onDashboardRun } from "automate.ax"
import { apollo } from "automate.ax/apollo"
export default automation("Create an Apollo account", () => {
onDashboardRun({ title: "Create an Apollo account" })
apollo.createAccount({
name: "Acme, Inc.",
domain: "acme.example",
stage: "Qualified",
owner: "seller@example.com",
})
})
| Input | Type | Required | Description |
|---|---|---|---|
name | string | One identity required | Name for the account. |
domain | string | One identity required | Primary domain without www. |
stage | ApolloReference | No | Stage ID, exact name, or { id }. |
owner | ApolloReference | No | Owner ID, exact email/name, or { id }. |
phone | string | No | Main phone number. |
rawAddress | string | No | Human-readable location. |
customFields | Record<string, string> | No | Values keyed by Apollo field ID. |
Second argument: { account } | string | IntegrationAccountReference<"apollo"> | No | Connected workspace. Defaults to project binding. |
ApolloAccount. Stage and owner strings must resolve to a unique exact match.