Question
How do I remove the agent signature from proactive outbound SMS messages?
Answer
This solution uses a third-party app called Zignatures, which is not supported by Zendesk. Instead, to proactively reach out to your end users on either WhatsApp or SMS using a Zendesk developed app, check this article: Installing and using the Relay messaging app.
To remove the agent signature from proactive outbound SMS
- Make sure the signature fields in your Zendesk account are blank, so only the app will be applying signatures.
- Ensure that Rich content in email is enabled on your account to allow HTML.
- Install Zignatures from the marketplace on your Zendesk account.
-
On the app configuration screen, in the Text or HTML of the signature field add the below script.
{% capture tags %} {{ticket.tags}} {% endcapture %} {% if tags contains "proactive_text" %} {% else %} <br>--<br> {{current_user.name}} [{{ticket.account}}] <br> tel: {{current_user.phone}} <br> email: {{current_user.email}} <br> www: <a href='https://www.zendesk.com/' target=_blank'>www.zendesk.com</a> <br> {% endif %}If you want a signature for your SMS messages, add it after the if statement and before the else statement.
Replaceproactive_textwith the same tag you use on your trigger. If you have multiple triggers you can add multiple if statements. -
Make any needed changes to the information.
Note: You can't use the agent data placeholders when using the app, for example,agent.nameoragent.phone. Instead, use thecurrent_user placeholders.The screenshot below is an example of a configured signature:
- On the ticket, make sure that Sign this comment and Sign all my comments are enabled to add the signature to the ticket you are responding to.
- Press submit and the signature added to your ticket.
For more information, see this article: Understanding Liquid markup and Zendesk Support.