Plan requirement
| Subscription | Any plan |
| Access | Admin |
Defining a webhook and calling it from a trigger. Two pieces, and the conditions on the trigger are the part to be careful with.
Create the webhook
- Open Admin Center, then Apps and integrations, then Webhooks.
- Add a webhook and name it after what it tells and to whom.
- Set the endpoint address and the request method.
- Set the authentication the other system expects.
- Test it from the setup screen.
- Save.
Call it from a trigger
- Create or edit a trigger.
- Set conditions narrowly. See below.
- Add the action that notifies the webhook.
- Build the message body, using placeholders for the ticket data.
- Test on one ticket before activating it.
Narrow the conditions
A webhook creates work in a system you do not control. Conditions that are slightly too wide mean hundreds of unwanted records over there, and cleaning that up is somebody else's afternoon.
Start with a test tag as a condition, prove it works, then widen deliberately.
The message body
Send what the other system needs and nothing more. A body containing the whole ticket including all comments sends customer conversations to another system, which is a data question as much as a technical one.
Authentication
Whatever the other system requires, configured on the webhook rather than in the trigger. That keeps credentials in one place and out of your business rules.
Comments
0 comments
Article is closed for comments.