Zendesk
Reward agents when they resolve certain support cases or customer who deserve an extra special acknowledgement for their patience.
Follow the steps below to send rewards to Agents or Customers.
For more information about the automation feature please refer to the Zendesk documentation.
In the following steps, replace yourdomain with your Zendesk domain.Comment
Prerequisites
An existing promotion with a promotion token.
Step 1: Create a webhook
Create a webhook that can be used in a trigger.
Visit the link
https://yourdomain.zendesk.com/admin/platform/webhooks
in your browser.Click Create webhook
Provide a name, for example:
Reward user
Endpoint URL:
https://perk.exchange/api/perks
Request method: POST
Header:
Enter
x-perk-token
for the header and the promotion token as the value
(optional) Click Test webhook and then Send test. Validate there is a response.
Click Create.
Step 2: Update triggers
Visit the link
https://yourdomain.zendesk.com/agent/admin/triggers
in your browser.Click Add trigger.
Enter trigger name and other details, including match conditions.
Under Actions click Add action.
Select Notify active webhook and select the webhook from the earlier step above.
In the JSON body:
To reward an agent,
{"email": "{{ticket.assignee.email}}"}
To reward a customer,
{"email": "{{ticket.requester.email}}"}
Click Save.
The trigger is now active.
Last updated