Question

How to use ticket fields in emails?

  • 3 August 2022
  • 2 replies
  • 81 views

Userlevel 3
Badge +4

In email bodies we have expression like this

Hi {{ticket.agent.name}},

Ticket "#{{ticket.id}} - {{ticket.subject}}" has been reopened, please visit {{ticket.url}} to view the ticket.

 

From where do we get the details about these field names to be used like ticket.subject?

Is there any link where these details can be seen and also what would be the names of custom fields?


2 replies

Userlevel 3
Badge +4

I got the answer. Its in Insert Placeholder in the email.

Userlevel 7
Badge +14

Correct, and don’t forget that since these are liquid language placeholders, you can use liquid filters to alter the result. See more here https://shopify.github.io/liquid/basics/introduction/.

Take care!

Reply