Skip to main content
query

Requires write_automations access scope. Also: The app must have write access to automations and act on behalf of a user.

Returns automations visible in the Flow editor, most recently updated first. Each result is the latest draft, or the most recently published version if no draft exists.

Anchor to Arguments

AutomationWorkflowConnection arguments

•AutomationWorkflowConnection!
•String

The elements that come after the specified cursor.

•String

The elements that come before the specified cursor.

•Int

The first n elements from the paginated list.

•Int

The last n elements from the paginated list.

•String

A filter made up of terms, connectives, modifiers, and comparators. You can apply one or more filters to a query. Learn more about Shopify API search syntax.

Show filters
Anchor to default
•string

Filter by automation name.

Example:

  • my automation
•string

Filter by automation name.

Example:

  • name:"my automation"
•string

Filter by activation status. Applies to the automation, including automations with a newer draft.

Valid values:

  • ACTIVE
  • INACTIVE

Example:

  • status:ACTIVE
Anchor to trigger
•string

Filter by trigger task ID.

Example:

  • trigger:"shopify::admin::order_created"
•Boolean
Default:false

Reverse the order of the underlying list.


Was this section helpful?

•[AutomationWorkflowEdge!]!
non-null

The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.

Show fields
•[AutomationWorkflow!]!
non-null

A list of nodes that are contained in AutomationWorkflowEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.

Show fields
•PageInfo!
non-null

An object that’s used to retrieve cursor information about the current page.

Show fields

Was this section helpful?