Macros: Giving different responses based on ticket content


  • Jennifer Rowe
    Zendesk Documentation Team

    Good one! Thanks, Graeme!

  • Riah Lao


    1. Is there a way to "escape" or what to replace single quote ' within the if else condition?

    For example:

    {% if == 'XYZ's' %}

    2. Does "else if" work?



  • Greg Katechis
    Zendesk Developer Advocacy

    Hi Riah! Liquid markup is something that we provide as part of the function of our placeholders, however we don't have a lot of expertise on here at Zendesk. The documentation listed here goes over a few options for if/else workflows, so take a look at that and see if something there helps out. If not, I'd be happy to see what I can do, I just need some clarification around your questions. Could you let me know exactly what you're trying to accomplish so that I can see if I can find some options for you?


Please sign in to leave a comment.

Powered by Zendesk