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.

  1. Visit the link https://yourdomain.zendesk.com/admin/platform/webhooks in your browser.

  2. Click Create webhook

  3. Provide a name, for example: Reward user

  4. Endpoint URL: https://perk.exchange/api/perks

  5. Request method: POST

  6. Header:

    • Enter x-perk-token for the header and the promotion token as the value

  7. (optional) Click Test webhook and then Send test. Validate there is a response.

  8. Click Create.

Step 2: Update triggers

  1. Visit the link https://yourdomain.zendesk.com/agent/admin/triggers in your browser.

  2. Click Add trigger.

  3. Enter trigger name and other details, including match conditions.

  4. Under Actions click Add action.

  5. Select Notify active webhook and select the webhook from the earlier step above.

  6. In the JSON body:

    • To reward an agent, {"email": "{{ticket.assignee.email}}"}

    • To reward a customer, {"email": "{{ticket.requester.email}}"}

  7. Click Save.

The trigger is now active.

Last updated