Skip to content

AutomationAction

An action to execute in an automation step

Fields

action_identifier · String! · required · User-defined action identifier within the step
action_type · AutomationActionKind! · required · The GraphQL mutation to execute
config · JSON! · required · Mutation arguments with optional template variables. Example: {"arguments": {"content": "Complete onboarding for {{query-patient.first_name}}", "user_id": "{{query-patient.dietitian_id}}"}}
created_at · ISO8601DateTime! · required · When the action was created
id · ID! · required · Unique identifier
updated_at · ISO8601DateTime! · required · When the action was last updated

Definition

"""
An action to execute in an automation step
"""
type AutomationAction {
"""
User-defined action identifier within the step
"""
action_identifier: String!
"""
The GraphQL mutation to execute
"""
action_type: AutomationActionKind!
"""
Mutation arguments with optional template variables. Example: {"arguments": {"content": "Complete onboarding for {{query-patient.first_name}}", "user_id": "{{query-patient.dietitian_id}}"}}
"""
config: JSON!
"""
When the action was created
"""
created_at: ISO8601DateTime!
"""
Unique identifier
"""
id: ID!
"""
When the action was last updated
"""
updated_at: ISO8601DateTime!
}