How can I reference Zendesk requester fields in variables?
<%= zendesk.requester.FIELD %>
(you will need to replace the “FIELD” with the field name. The list of default fields and their names is available here
Some examples would be:
Requester Name: <%= zendesk.requester.name %>
<%= zendesk.requester.email %>
<%= zendesk.requester.user_fields.key_name %>
. You can replace “key_name” with the values that appear in the People -> Configuration -> User Fields page under Field key.
In the below example, if I wanted to populate a variable for the “SFDC Contact ID” field, I’d enter the variable as <%= zendesk.requester.user_fields.sfdc_contact_id %>
.
<%= zendesk_requester.user_fields.key_name %>
. Note the use of an underscore instead of a space between “zendesk” and “requester”.