Skip to main content
Automations use Liquid variables to insert values from triggers and previous actions into text fields. You can use variables in places such as messages, private notes, Slack messages, HTTP URLs, HTTP headers, HTTP body templates, and Set variables values.

Basic syntax

Wrap a variable in double curly braces:
Variables are grouped by node name. If your trigger node is named trigger, ticket variables are available under trigger:
If an HTTP request node is named lookupPlayer and creates an output named segment, later actions can use:
If a Set variables node is named 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 as trigger, 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:
Only values that exist on the ticket or player will render. If a value may be missing, write templates that still make sense when the rendered value is empty.

Workflow inputs

Manual workflows can ask the agent for inputs before running. Inputs are available under inputs on the workflow trigger node. For example, if the trigger is named trigger and an input key is escalationReason, use:
Input keys must start with a letter and can contain only letters, numbers, and underscores.

Switch variables

Switch nodes expose information about the branch they selected: For example:

Example Slack message

Example HTTP JSON body