Skip to content

Automation

An automation workflow definition

Fields

created_at · ISO8601DateTime! · required · When the automation was created
description · String · Description of what the automation does
id · ID! · required · Unique identifier
is_enabled · Boolean! · required · Whether the automation is active
last_run_at · ISO8601DateTime · When the automation last executed
name · String! · required · Display name for the automation
provider · User! · required · The user the automation actions are taken on behalf of
run_count · Int! · required · Total number of times the automation has run
steps · AutomationStepPaginationConnection! · required · Steps in the automation workflow
triggers · [AutomationTrigger!]! · required · Triggers that initiate this automation
updated_at · ISO8601DateTime! · required · When the automation was last updated
variables · [AutomationVariable!]! · required · Named variables referenced in steps as {{vars.NAME}}

Used By

Definition

"""
An automation workflow definition
"""
type Automation {
"""
When the automation was created
"""
created_at: ISO8601DateTime!
"""
Description of what the automation does
"""
description: String
"""
Unique identifier
"""
id: ID!
"""
Whether the automation is active
"""
is_enabled: Boolean!
"""
When the automation last executed
"""
last_run_at: ISO8601DateTime
"""
Display name for the automation
"""
name: String!
"""
The user the automation actions are taken on behalf of
"""
provider: User!
"""
Total number of times the automation has run
"""
run_count: Int!
"""
Steps in the automation workflow
"""
steps(
"""
Returns the elements in the list that come after the specified cursor.
"""
after: String
"""
Returns the elements in the list that come before the specified cursor.
"""
before: String
"""
Returns the first _n_ elements from the list.
"""
first: Int
"""
Returns the last _n_ elements from the list.
"""
last: Int
): AutomationStepPaginationConnection!
"""
Triggers that initiate this automation
"""
triggers: [AutomationTrigger!]!
"""
When the automation was last updated
"""
updated_at: ISO8601DateTime!
"""
Named variables referenced in steps as {{vars.NAME}}
"""
variables: [AutomationVariable!]!
}