Hi all!
I've created a navbar to sit in all the outbound emails we send, as we now have a second support team I would like for them to have their own navbar.
The HTML code is solid and has been tested to ensure it resizes correctly so I have no issues there, where I have been struggling is the use of liquid to change the navbars content based on either a) the support email the request was sent to or the tag assigned to the support request.
From a few articles here this is what should work:
{% if ticket.tags == uk %}
HTML CODE FOR UK NAVBAR
{% else ticket.tags == de %}
HTML CODE FOR DE NAVBAR
{% endif %}
This only sends out the DE navbar to all emails received at any address. I've tried the following
{% if {ticket.tags} == 'uk' %}
and that either produces the same result or sends nothing out at all (the same result to all emails received).
I also tried to see if I could use the support email address but couldn't find any reference for a liquid tag for that (possibly email.received_at ?).
Is there anyone here who has an idea of what is going on here? I know the same result can be achieved in brands (which we don't use) and by placing each specific code into relevant triggers/automations but this would mean a lot of work should we need to change some details later on.