Skip to main content
Anchor to AutomationTaskConfigField

AutomationTaskConfigField

interface

Requires write_automations access scope.

A configurable value accepted by an automation task.

•String

The default value encoded as a string in the format expected by this field type.

•String

The field description.

•String!
non-null

The field ID written into the automation step's configuration as config_field_id.

•String!
non-null

The field display name.

•Boolean!
non-null

Whether the field must have a value.

•[AutomationTaskConfigFieldValidation!]!
non-null

The validations that can be checked before saving the workflow.

Show fields

Was this section helpful?

Anchor to Types implemented inTypes implemented in

•OBJECT

A Shopify Admin API mutation and its input values.

Show fields
•OBJECT

A list of string values, encoded as a JSON array in a string.

Show fields
•OBJECT

A boolean value, encoded as the string true or false.

Show fields
•OBJECT

Source code for a task's input query, script, or output schema. Check language and role for the expected content.

Show fields
•OBJECT

A selection of Shopify collections.

Show fields
•OBJECT

A reference to a Shopify resource ID, encoded as a JSON object in a string. Set value to a literal GID or a Liquid expression such as {{ order.customer.id }}. When value is blank, default_value supplies a field path such as order.customer.id. Use possibleObjectTypes for the allowed resource types.

Show fields
•OBJECT

A condition expression that decides which branch an automation takes, written in Flow's condition syntax. Compare a field path with a literal or another path using ==, !=, >, >=, <, <=, string operators such as start_with? and include?, or unary checks such as nil? and empty_or_nil?. Test lists with any?, all?, or none? and an item variable, and combine expressions with && or ||. Example: (order.totalPrice > 100) && (order.tags any? |tags_item| (tags_item == 'vip')).

Show fields
•OBJECT

A duration, encoded as a JSON object with amount and unit in a string. Unit values are lowercase, such as seconds or hours.

Show fields
•OBJECT

A member of an Admin GraphQL enum. Options and the default value use the Admin API version of the request. If the schema is unavailable, options are empty and only an explicit default is preserved.

Show fields
•OBJECT

A decimal number, encoded as a string.

Show fields
•OBJECT

A field path used to read task input from the automation's data. The default path is provided in defaultValue.

Show fields
•OBJECT

An integer, encoded as a string. Liquid expressions are accepted only when supportsLiquid is true.

Show fields
•OBJECT

Key/value pairs, encoded as a JSON array of two-element arrays in a string.

Show fields
•OBJECT

A marketing activity associated with an email action.

Show fields
•OBJECT

A metafield value type selected from options.

Show fields
•OBJECT

A selection of multiple Admin API resources of the type named by adminResourceType.

Show fields
•OBJECT

A field path that selects a value from the automation's data. Use listsOnly and allowedTypes to determine which paths can be selected.

Show fields
•OBJECT

A marketing activity associated with an automation action.

Show fields
•OBJECT

A search query for fetching resources, with preset expressions listed in options.

Show fields
•OBJECT

A recurring schedule, encoded as a string containing a JSON array of iCalendar schedules. Each schedule is a DTSTART line with a TZID from timeZones, a newline, and an RRULE line, for example DTSTART;TZID=America/Toronto:20261101T090000\nRRULE:FREQ=WEEKLY;BYDAY=MO.

Show fields
•OBJECT

A single value selected from options. Use the option value in the automation configuration.

Show fields
•OBJECT

A shipping carrier and service selection.

Show fields
•OBJECT

The fields monitored by an update trigger. Use options for selectable fields and maxSelections for the selection limit.

Show fields
•OBJECT

A ShopifyQL query to run as part of an automation.

Show fields
•OBJECT

A selection of one Admin API resource of the type named by adminResourceType.

Show fields
•OBJECT

A resource sort key and direction, encoded as a JSON object in a string. Set sortKey to a value from options and order to ASCENDING or DESCENDING.

Show fields
•OBJECT

A text value. Liquid expressions are accepted only when supportsLiquid is true, and secret references only when supportsSecrets is true.

Show fields
•OBJECT

A metafield selection with a namespace, key, and value type. Use supportedTypes for the allowed types.

Show fields
•OBJECT

A configuration field with a type this API version doesn't describe. It's returned so that clients can see whether the field is required.

Show fields
•OBJECT

A metafield selection identified by its namespace and key.

Show fields
•OBJECT

A shipping package weight, encoded as a JSON object with amount and unit in a string.

Show fields
•OBJECT

A weight, encoded as a JSON object with optional value and unit in a string.

Show fields

Was this section helpful?