marketing_automations_read, marketing_automations_write
required
Analytics for this marketing automation, grouped by what is being measured.
required
Which trigger family this marketing automation belongs to.
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.
required
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.
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.