Can I add custom ticket field values to email notifications?

Have more questions? Submit a request

12 Comments

  • Deidre Jones

    How do I find the field ID for system fields. Looking for Subject field id

    0
  • Jessie Schutz

    Hi Deidre!

    Numerical field IDs are only given to custom ticket fields. If you tell me more about what you're working on, I might be able to help you figure out where to find what you need!

    0
  • Vladan Jovic

    I'm wondering if there a way to put custom user (requester) field values into a ticket?

     

     

    0
  • Chris Bulin

    I've added a ticket field (a checkbox) to our auto response in our sandbox, but when I send it to a test account, there is no field showing to the end user. 

    Am I missing something?

    0
  • Gretchen Ladd

    Hey Chris! The process is a bit different for custom checkbox fields.

    You can use placeholders in combination with Liquid markup to verify if a checkbox has been selected on a ticket and provide customized output based on the checkbox status (checked, or not checked).

    When you use Liquid markup if/else/case statements for checkbox custom ticket fields, keep in mind that the checkbox field has a value of 0 or 1, not false or true. For example:
     
    {% if ticket.ticket_field_(field_id) contains ‘0’ %}
    checkbox is unchecked
    {% else %}
    checkbox is checked
    {% endif %}
     
    Where you can replace the "checkbox is unchecked/checked" text with whatever text you would like to be displayed.
     
    Hope this helps!
    1
  • Chris Bulin

    Thanks Gretchen!

    0
  • Jimmy Rufo

    Would adding this to notifications make the field value visible to all recipients, or just agents?

    0
  • Jon Daniels

    Hey, Jimmy!

    Adding this will display the value to anyone who can see the public comment (including end-users, if they are on the communication), as the value is rendered in text when the agent submits the macro comment.

    Hope this helps!

    0
  • Leonardo

    Hi, can I ask a user to add/assign custom ticket field values to email notifications rather than from the ticket form?

    0
  • Brett - Community Manager

    Hi Leonardo,

    Check out my response to your post here.

    0
  • Leonardo

    Hi Brett

     

    Awesome, thx for explaining, I'll take a look at the article you mentioned.

    0
  • Brett - Community Manager

    Happy to help Leonardo :)

    0

Please sign in to leave a comment.

Powered by Zendesk