- Follow the guide to install the Delayer app from Zendesk marketplace if you have not done so previously.
-
Create a trigger with the following Conditions. We want it to trigger when a messaging ticket's status is updated to Solved, but no CSAT survey was previously offered in it:
-
Create a trigger action with the following payload to call Delayer webhook:
{ "add_tag": "csat_offered", "delay": 10, "message": { "author": { "type": "business" }, "content": { "text": "Please rate your support experience {{satisfaction.rating_url}}", "type": "text" } }, "ticket_id": "{{ticket.id}}" }where
add_tagis the tag to be added to the ticket.delayis the delay in seconds.messagestructure is in Sunshine conversation format.textis the message text.{{satisfaction.rating_url}}is a placeholder for the CSAT.
You can see the list of Zendesk placeholders here:
https://support.zendesk.com/hc/en-us/articles/4408886858138-Placeholder-reference-for-business-rules - Save the resulting trigger.
Comments
0 comments