A webhook is similar to an API that is driven by events rather than requests. Instead of an application making a request to another to receive a response, a webhook allows one program to send data to another as soon as an event is triggered.
Webhooks let you send information from one app to another in near real-time. In CallHub Workflows, you can associate a webhook with any trigger, condition, or action to pass relevant information.
When you click on the icon to associate a webhook, a side panel opens up that lets you customize the information you want to send to a webhook URL.
What is a webhook URL?
A webhook is a URL provided by another application to which CallHub will post information in the format.
{
"city": "Santa Clara",
"first_name": "John",
"last_name": "Doe",
"campaign": "Fishy Campaign",
"mobile": "16507868629",
"country": "HU",
"notes": "This person loves fish!",
"zipcode": "50103",
"record_url": "https://s3.amazonaws.com/recordings/081eecf6-dsfdsgdfg4e051700.mp3",
"company_website": "https://callhub.io/",
"state": "CA",
"contact": "16507868628",
"nationbuilder_tags": [
"survey responded",
"fish owner"
],
"company_name": "CallHub",
"address": "Genesis Suncity",
"job_title": "Engineer",
"disposition": "MEANINGFUL_INTERACTION",
"surveys": [
{"answer": "A", "type": "MultiChoice", "question": "You like A or B?"},
{"answer": "My Text", "type": "Text", "question": "What is your text?"},
{"answer": 32, "type": "Numeric", "question": "Your age?"}
],
}
Webhook URL: The URL of the app (Zapier, Integromat, etc.) where we send the API request is called a webhook URL or a callback URL.
Compose request body:
Choose the information you want to send as part of the callback request. Here, you can add merge tags based on the data you wish to receive, apart from those added by default.
Comments
0 comments
Please sign in to leave a comment.