Anchor to AutomationTemplateAutomation
objectAutomation Template
Requires access scope. Also: The app must have write access to automations and act on behalf of a user.
A Shopify Flow template that provides a starting configuration for a new automation.
Anchor to FieldsFields
- configuration (JSON!)
- description (String)
- id (ID!)
- title (String!)
- Anchor to configurationconfiguration•JSON!non-null
The template's JSON configuration. Use it as
configurationinand supplynameseparately.- Anchor to descriptiondescription•String
The template description.
- •ID!non-null
A globally-unique ID.
- Anchor to titletitle•String!non-null
The template display name.
Was this section helpful?
Anchor to QueriesQueries
- automationTemplate (AutomationTemplate)
- automationTemplates (AutomationTemplateConnection!)
- •query
Returns a Flow template by ID.
Show fields
- •ID!required
The ID of the
to return.
Arguments
- •ID!
- •query
Returns the Flow templates available to the shop.
Show fields
- Anchor to afterafter•String
The elements that come after the specified cursor.
- Anchor to beforebefore•String
The elements that come before the specified cursor.
- Anchor to firstfirst•Int
The first
nelements from the paginated list.- Anchor to lastlast•Int
The last
nelements from the paginated list.- Anchor to queryquery•String
A free-text search over template titles and descriptions.
- Anchor to reversereverse•BooleanDefault:false
Reverse the order of the underlying list.
Arguments
Was this section helpful?