Getting Started with Webhook
Here is the video illustrating the procedure of creating Webhooks.
Webhooks are user-defined callbacks that are triggered by specific events. They help start the execution of a particular task when specific actions take place and push data from one application or server to another on the occurrence of an event (also called trigger). They are useful for the integration of Smartflo with the CRMs of your choice. Also, they provide responses in real-time and hence, eliminate delays in accessing important information.
You can configure Webhook by setting up the HTTP Method, and URL to receive data, and selecting the trigger options, all explained below in detail. Follow the below-mentioned steps to add a Webhook:
-
Go to Services > Webhook.
-
Click Add Webhook.
- Enter the general details as per the fields described in the table below.
[block:image]
{
"images": [
{
"image": [
"https://files.readme.io/cca02a9-Webhook.png",
null,
null
],
"align": "center"
}
]
}
[/block]
Field | Description |
---|---|
Name | Enter the name of the Webhook. |
Description | Add the Description. |
Trigger | Choose the trigger from the dropdown. A trigger is a predefined action or a notification that activates Webhook. The below-mentioned triggers or the automated processes are generated for both inbound and outbound calls, which are as follows:
|
URL | Enter the URL to provide HTTP callbacks for the Webhook. |
Request | Select a request from either of the following options: POST or GET. Note: The exchange of data happens over the web through an HTTP request, using GET & POST methods. |
Call Type | Select the required Call Type from either of the following options:
|
Content-Type | Select the Content-Type that contains the data from either of the following body types:
|
Outbound Type | Select the Outbound-Type that contains the data from either of the following body types:
|
My Numbers | Select the required numbers from the dropdown. |
Note: While configuring the triggers, Webhook sends an HTTP request encompassing various parameters to different endpoints. These parameters form the Response Body as demonstrated in the screenshot. Also, the parameters change as per the selected trigger.
- Click Add header and enter the key and the value to insert additional values in the Response Body.
- Click Save.
Updated 3 months ago