Skip to main content
Required scopes: marketing_automations_read, marketing_automations_write
Analytics for this marketing automation, grouped by what is being measured.
Which trigger family this marketing automation belongs to.
required
When the automation was created.
String
The merchant’s description of what this automation does.
Boolean!
required
Whether the automation is currently running.
ID!
required
The id of this automation.
String!
required
The automation’s legacy Mongo ObjectId (24-char hex) from before the CockroachDB migration.
String!
required
The merchant-facing name of the automation.
When the current version was published. Null while it has only ever been a draft.
The nodes that make up this automation, including graph edges as step ids. A type this API version does not model field-by-field is returned as MarketingAutomationUnknownStep.
required
steps with every field selected, as JSON: one element per step, with __typename. Null and invalid stored steps are []. Webhook header values and OAuth client secrets are omitted. Edits go through operations.
required
When the automation was last updated.