Webhooks are user-defined HTTP (Hypertext Transfer Protocol) call-backs. These call-backs may be maintained, modified, and managed by third-party users and developers who may not necessarily be affiliated with the originating website or application. They are triggered by some event in a web application and can facilitate integrating different applications or third-party APIs.
Webhooks typically are used to connect two different applications. When an event happens on the trigger application, it broadcasts data about that event and sends it to a webhook URL from the action application—the one you want to do something based on the data from the first application.
Helpfulness of Webhook:
Handling Text Messages
Handling Emails
Handling Payments
Responding to Changes on the Web Itself
Responding to What’s Happening on Your Servers
How can webhooks be used in CallHippo?
Webhooks are used in IVRs. Set a webhook in the Settings section first and then use it in IVR. The client will hear the result returned by Webhook on press IVR input. Follow the steps given below to use it:-
Log in to your CallHippo Account.
Go to Settings → Webhook→ Add Webhook
Let’s add a webhook; for eg:- I will add a URL and an API (Deal Size) on return, of which the client should get to know the balance of his account through IVR.
Go to Numbers→ Settings option of number that you want to use → Music And Messages → Enable IVR toggle
For eg-
IVR Message =Press 1 for online banking query, Press 2 for Credit Card inquiry Press 3 to know your account balance. This means that when the customer Presses 3, he should be able to hear his account balance. So now, select Webhook as action for Press 3 and then select “Deal Size” since this is the webhook that you’ve added.
Now when the customer Presses 3, he’ll be able to hear his account balance. This is how we can webhooks in IVR.
NOTE:- The webhook option in the Action of IVR will only appear when there is at least one webhook added.