1. Log in to your Wootric dashboard and go to your Settings. You will see a scroll menu on the left side of your screen. Scroll down and click on “Incoming Webhooks”.  Click the button to set up Zendesk and click the “enable” button. If you do not see Zendesk as an option, it means this feature is not currently enabled for this account. Please contact us to enable this feature.

2. In a new browser tab, log in to your Zendesk account. On the left side of you screen, you will see a little gear icon, which is your Admin tab. Click through and then scroll down the menu to “Settings”. Select “Extensions” under “Settings”. Next, click “add target”.

3. Select “HTTP target”.

4. Provide a title for your webhook that describes its function, e.g. “Send CSAT survey-ticket close target”.

5. On the tab with Wootric open, scroll down to the URLs for survey channel options and copy your your chosen survey delivery channel's URL.

6. Paste the URL into Zendesk, then in the drop down menu for “Method”, select “POST”. Under Content type, select “JSON” in the drop down menu, if it is not already selected. Leave the check box under “Basic Authentication” unchecked.

7. Test your webhook first by selecting “Test Target” and hitting submit. This will let you see if the request is reaching the server. 

8. When you hit submit, a box will pop up titled JSON body. For your test, return to the tab with Wootric open and copy the text indicated in this screenshot:

9. Paste this text into the JSON body on your Zendesk tab then hit submit. You should see “HTTP/1.1 200 OK” on the next screen that pops up, like the example below. 

Note:  You can send yourself a test email by copying the following text, pasting it into the JSON body, and replacing the text between the quotation marks in “your@email.com” with your actual email:


  "emails" : "your@email.com",

  "subject" : "This is the email's subject. It can contain placeholders like ticket id: {{ticket.id}}",

  "intro" : "This is an intro message."


You should receive an email and the response screen should display the same “HTTP/1.1 200 OK” message, or something similar.

With email surveys, you can customize this body to include various properties in the email subject and intro.
10. To create the target, select “Create Target” in the drop down menu and hit “Submit”. 

11. Now go to “Triggers” under “Business Rules” in the left sidebar. Here you can add a new trigger or edit existing ones.

12. Whether you are creating or updating a trigger, you first need to select the conditions under which the trigger will work. In “Actions”, be sure to select “Notify target”, under which you can select the target you recently created.

13. In the message field be sure to use the correct JSON body. You can select the custom property fields by which the end user can be identified and surveyed by clicking on “view available placeholders”, copying the text provided, and pasting the text into the JSON body where appropriate. To finish up, click on “Create Trigger”.

For example:


 "emails" : "{{ticket.requester.email}}",

"subject" : "Please, give us your feedback on ticket #{{ticket.id}}",

 "intro" : "Your feedback is appreciated!"


14. Your trigger and target are set up. Customers who meet the trigger criteria will now receive a Wootric survey like the example below:

Did this answer your question?