botspace-logo
Help Center - BotSpace
botspace-logo
Help Center - BotSpace
Triggers

icon picker
Webhook trigger

The webhook trigger is a feature that allows you to activate a flow from external CRMs or by using the API. With the webhook trigger, you can easily integrate your flow with other systems and automate processes.
To create a webhook trigger, follow these steps:
Create a new workflow
Select the trigger as Webhook trigger
Add your actions to execute when the workflow is executed
Copy the webhook url
Once the webhook trigger is set up, you can activate the flow in two ways:
From an external CRM: If you have a CRM system that supports webhooks, you can configure it to send a request to the webhook URL or endpoint whenever a specific event occurs in the CRM. This will trigger the flow and initiate the desired actions or processes.
By calling the endpoint using the API: You can also manually trigger the flow by making a request to the webhook URL or endpoint using the API. This can be done programmatically using any programming language or by using tools like cURL or Postman.
By leveraging the webhook trigger feature, you can seamlessly connect your flow with external systems and automate your workflows efficiently.

megaphone

Note : You need to send a POST request on the webhook endpoint along with the body mentioned below

Here is the body that you need to send in the webhook POST request
{
"name": "Name of the contact",
"phone": "Phone of the contact with countryCode",
}
If you want to pass on information to the the webhook you can always add your variables in the body as follows
{
"name": "Name of the contact",
"phone": "Phone of the contact with countryCode",
"orderId": "23123"
}
Then the variable orderId can be accessed in the workflow from the payload eg. payload.orderId

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.