Note We do not recommend the use of automated replies on Google My Business reviews as it will create a poor customer experience for your customers. Use it at your own risk! Also, please consult Zendesk's documentation about Race conditions when combining this trigger with other triggers.
In case you want to set up automated replies in Zendesk you can use the HTTP Target and use Zendesk's API to automate a regular agent reply. The reply will in this case always been posted to your ticket by the same agent.
- Go to Admin > Settings > Extensions
- Click Add Target and choose HTTP Target
- Title: Update ticket
- URL:
https://yourcompany.zendesk.com/api/v2/tickets/{{ticket.id}}.json
(Replace yourcompany.zendesk.com with your account) - Method: PUT
- Content-type: JSON
- Enable the option Basic Authentication, if you have Password Acces enabled under Settings > API you can just fill in the username and password of your Zendesk account. If you disabled Password Access and use Token Access you can create a new API token and copy this to the Password field. As username, you enter your email address and add
/token
to the end. - When completed you switch the Test target dropdown to Create target and choose the Submit button.
- Now your HTTP Target is completed you can go to Admin > Business Rules > Triggers and choose Add trigger.
- Under Meet ALL of the following conditions you add the following items:
- Ticket > Is > Created
- Channel > Is > Google My Business
- Optionally you could, for example, let positive reviews be answered automatically. In this case, you could add the following items under Meet ANY of the following conditions:
- Subject text > Contains the following string > ★★★★★
- Subject text > Contains the following string > ★★★★☆
- Now we have created the right conditions for our trigger we can continue and select the Actions we want to use. For the automated reply you now add the following:
- Notify target > Update ticket
As message us the following code and replace the body in the API call with your reply:{"ticket": { "comment": { "body": "Thank you for your review." }}}
- Notify target > Update ticket
- Choose the Create button in the bottom right.