Skip to content

AutomationRun

A record of an automation execution

Fields

automation_name · String! · required · Name of the automation at time of execution
completed_at · ISO8601DateTime · When execution completed
completed_step_count · Int! · required · Number of steps that completed successfully
created_at · ISO8601DateTime! · required · When this record was created
error_message · String · Error description when status is FAILED
id · ID! · required · Unique identifier
resume_at · ISO8601DateTime · When a run paused on a delay step will resume
run_steps · AutomationRunStepPaginationConnection! · required · The individual steps executed during this run
started_at · ISO8601DateTime · When execution started
status · AutomationRunStatus! · required · Execution status of the run
total_step_count · Int! · required · Total number of steps executed in this run
trigger_data · JSON · The webhook event payload that initiated this run
updated_at · ISO8601DateTime! · required · When this record was last updated

Used By

Definition

"""
A record of an automation execution
"""
type AutomationRun {
"""
Name of the automation at time of execution
"""
automation_name: String!
"""
When execution completed
"""
completed_at: ISO8601DateTime
"""
Number of steps that completed successfully
"""
completed_step_count: Int!
"""
When this record was created
"""
created_at: ISO8601DateTime!
"""
Error description when status is FAILED
"""
error_message: String
"""
Unique identifier
"""
id: ID!
"""
When a run paused on a delay step will resume
"""
resume_at: ISO8601DateTime
"""
The individual steps executed during this run
"""
run_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
): AutomationRunStepPaginationConnection!
"""
When execution started
"""
started_at: ISO8601DateTime
"""
Execution status of the run
"""
status: AutomationRunStatus!
"""
Total number of steps executed in this run
"""
total_step_count: Int!
"""
The webhook event payload that initiated this run
"""
trigger_data: JSON
"""
When this record was last updated
"""
updated_at: ISO8601DateTime!
}