You can configure webhooks to communicate between systems when an event occurs.
To create a webhook in Zendesk, perform the following steps:
1Log in to the Zendesk Admin Center.
The following image shows an option to go to the Admin Center in Zendesk:
2Click Apps and integrations > Actions and webhooks > Webhooks > Create webhook.
The following image shows the Create webhook button on the Webhooks page:
3Select Trigger or automation and click Next.
The following image shows the Trigger or automation option on the Create webhook page:
4Enter the webhook name, the service URL that you get after publishing the process, and the authentication method, and then click Create webhook > Finish setup.
In the Authentication field, select None if the process is is authorized for anonymous access, or user or group access.
The following image shows the details section on the Create webhook page:
5Go to Admin Center > Add trigger using the following URL:
https://<cloud or tenant name>.zendesk.com/agent/admin/triggers
The following image shows the Add trigger option on the Triggers page:
6Enter the trigger name and add conditions.
The following image shows the Create or Update Ticket section:
7Select Actions > Notify by > > Active webhook, select your webhook, and enter the following snippet in the JSON body field:
{ "ticketID" : "{{ticket.id}}" }
The following image shows the Actions section:
8Click Save.
The webhook request is triggered automatically when a ticket is created or updated in Zendesk.