- 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 each time a user is assigned to a messaging ticket:
-
Create a trigger action with the following payload to call Delayer webhook:
{ "delay": 0, "message": { "author": { "type": "business", "displayName":"{{ticket.assignee.name}}" }, "content": { "text": "Hello!", "type": "text" } }, "ticket_id": "{{ticket.id}}" }where
delayis the delay in seconds.messagestructure is in Sunshine conversation format.displayNameis the name of the sender.textis the message text.{{ticket.assignee.name}}is a placeholder for the assignee name.
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