Skip to content

AutomationQuery

A query step that fetches data in an automation

Fields

config · JSON! · required · Query arguments with optional template variables. Example: {"arguments": {"id": "{{trigger.resource_id}}"}}
created_at · ISO8601DateTime! · required · When the query was created
id · ID! · required · Unique identifier
query_identifier · String! · required · User-defined query identifier within the step
query_name · String! · required · Name of the query to execute
updated_at · ISO8601DateTime! · required · When the query was last updated

Definition

"""
A query step that fetches data in an automation
"""
type AutomationQuery {
"""
Query arguments with optional template variables. Example: {"arguments": {"id": "{{trigger.resource_id}}"}}
"""
config: JSON!
"""
When the query was created
"""
created_at: ISO8601DateTime!
"""
Unique identifier
"""
id: ID!
"""
User-defined query identifier within the step
"""
query_identifier: String!
"""
Name of the query to execute
"""
query_name: String!
"""
When the query was last updated
"""
updated_at: ISO8601DateTime!
}