Basic syntax
Wrap a variable in double curly braces:trigger, ticket variables are available under trigger:
lookupPlayer and creates an output named segment, later actions can use:
setVariables and creates a variable named playerTier, later actions can use:
Node names matter
Variable paths use the automation node name. If you rename a node, update any Liquid templates that reference that node. Use short, descriptive names such astrigger, lookupPlayer, setVariables, formatSummary, or routeByTier.
Common ticket variables
Ticket triggers and manual workflows expose ticket-related variables such as:
Some trigger types expose extra variables. For example, Player message exposes the latest message and message history, while Ticket events exposes the event that started the automation.
Common issue variables
Issue raised and Issue resolved triggers expose:
Some automation runs may not include
alertId, as it is only being rolled out. Templates should handle cases where this variable is empty.
Ticket created triggers expose the latest ticket state available when the automation runs. This can include updates made after ticket creation by Issue automations or other Ticket created automations. Ticket events and Player message triggers also expose the current ticket details available when the automation runs, such as tags, fields, player tier, and other ticket values. However, their message and event history variables are limited to the state at the time of the triggering message or event.
Metadata and custom fields
Player metadata and custom fields are objects. You can read nested values with dot notation:Workflow inputs
Manual workflows can ask the agent for inputs before running. Inputs are available underinputs on the workflow trigger node.
For example, if the trigger is named trigger and an input key is escalationReason, use:
Switch variables
Switch nodes expose information about the branch they selected:
For example: