Freshdesk
Reward agents when they resolve certain support cases or acknowledge a patient customer.
Follow the steps below to send rewards to Agents or Customers.
Prerequisites
An existing promotion with a token.
Step 1: Create an automation rule
Open Admin section and choose Workflows > Automation. Select Ticket Updates and click "New rule".

Step 2: Customize the automation rule
Enter the ticket conditions for when a Perk Exchange reward should be given. Next, under Perform these actions, select Trigger webhook.
Request type: POST
URL:
https://perk.exchange/api/perks
Select Add custom header and enter
{ "x-perk-token": "AAAAAAAAAA" }
where AAAAAAAAAA is your promotion token.Encoding: JSON
Content: Advanced
To reward a ticket agent:
{ "email": "{{ticket.agent.email}}" }
To reward a requester:
{ "email": "{{ticket.requester.email}}" }
Click Preview and save. Confirm the automation and click Save.
The automation is active.
NOTE: Additional placeholders like ticket.agent.email
are documented online.
Last updated
Was this helpful?