Query
query InterpolationVariables {
interpolationVariables {
key
label
group
isCustomerFacing
}
}Response
{
"data": {
"interpolationVariables": [
{
"key": "string",
"label": "string",
"group": "THREAD",
"isCustomerFacing": true
}
]
}
}Queries
interpolationVariables
List the static variables that can be interpolated with {{ key }} in snippets, auto-responses, bulk replies and workflow actions, with a label and group for building a picker. Thread field variables are not included; derive them from threadFieldSchemas as threadField.<key>. Requires the workspace:read permission.
QUERY
interpolationVariables: [InterpolationVariable!]!Returns
key
String!
The key used inside the braces, e.g. customer.fullName.
label
String!
A short human-readable label for the variable, suitable for a picker.
The entity the variable reads from.
isCustomerFacing
Boolean!
Whether the variable is suitable for text a customer will read. Internal identifiers and the AI thread summary are not.
Query
query InterpolationVariables {
interpolationVariables {
key
label
group
isCustomerFacing
}
}Response
{
"data": {
"interpolationVariables": [
{
"key": "string",
"label": "string",
"group": "THREAD",
"isCustomerFacing": true
}
]
}
}Was this page helpful?

