Before You Begin
🔗 Use the GraphQL Playground to execute the queries in this guide.
Prerequisites
- Authentication: Use a Service Account token.
- Permissions: Ensure your token has permissions to view automations.
Query: Get Automation Event Attributes
Use the automationEventAttributes
query to retrieve the available event attributes for automations. This event attributes are available to be used in the automation action. For instance, the only available event is the automation execution date time: you can use in the action of updating a card field, to update the field with the date and time that the action was executed.
{
automationEventAttributes {
automationEventExecutionDatetime {
internalId
label
type
}
}
}
Key Fields Explained
automationEventAttributes
: An object describing the available event attributes for automations. Each attribute will have the internal id, the label and type.
Example Response
{
"data": {
"automationEventAttributes": {
"automationEventExecutionDatetime": {
"internalId": "automation_event_execution_datetime",
"label": "Date & Time of event",
"type": "datetime"
}
}
}
}