Hi there!
I have an active template that I use to work with brands. The answer in the macro varies depending on the brand.
Please help me make a macro in which the content will change depending on where the macro came from: email or WhatsApp.
Answer header:
{% case ticket.via %}
{% when 'mail' %}
Hi {{ticket.requester.first_name}},
{% else %}
Hi {{ticket.requester.first_name}}, it's {{ticket.assignee.first_name}}, Customer Support Manager here
{% endcase %}
Unfortunately, the code only works after "else". Please help me find the error and fix it๐
it seems like Brandon shared an important adjustment to your loop. Try to use 'email' instead, as the channel's name should be that one.
Best,