Jump to content
  • 0

Conditionals in Email Template


Question

Posted

We need to add if {} else {} conditional, when a new ticket is received.

e.g. based on ticket priority, would like to return different message on mail.

{% if {ticket.priority} == 'low' %}
Since you marked this ticket as a {ticket.priority_language} priority we will have a resolution of this issue in 10-15 business days.
{% endif %}

{% if {ticket.priority} == 'medium' %}
Since you marked this ticket as a {ticket.priority_language} priority this means that this issue is impacting business but not severely and it can wait to be resolved in about 5-10 business days.
{% endif %}

{% if {ticket.priority} == 'high' %}
Since you marked this ticket as a {ticket.priority_language} priority this is an issue is impacting business greatly and needs to be fixed ASAP but we may need to take 1-5 business days to resolve it.
{% endif %}
 

Is this possible already, if not what would be needed to customize it? let know, thanks.

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...