This app is developed to work together with the "Create Ticket for brand App", which can be found on the Zendesk Labs Github.
The app adds a placeholder to the end of every public comment of the ticket, before it is submitted. When a ticket is updated without a comment, or when a private comment is placed, no placeholder will be added.
- Install the "Create Ticket for brand App" and follow all installation instructions.
- Install this app
- Create a dynamic content item, and call it something like "signature"
- Go to the settings of this app, and fill in the dynamic content placeholder (like: {{dc.signature}} )
The dynamic content of the signature should look something like this:
{% case ticket.ticket_field_option_title_24431341 %}
{% when 'Brand 1' %}
Kind regards,
{{current_user.name}}
Brand 1
012-3456789
{% when 'Brand 2' %}
Kind regards,
{{current_user.name}}
Brand 2
0123-456789
{% endcase %}
Of course, you have to change the value ticket.ticket_field_option_title_24431341
to the value of your own brand selection ticket field.