Out-Bound webhooks are messengers in the web development world. They let one app send data or trigger actions in another app using HTTP requests. This creates a real-time pipeline for information and event notifications. Whenever something interesting happens in one app (like a new order or a completed task), it can send a webhook to another app or website to keep it in the loop. This is super useful for automating tasks, syncing data between apps, and setting up alerts. Here I am going to show you how you can use out-bound webhooks in Facebook messenger with BotSailor to a 3rd party website. Here I picked Zapier for an easy demonstration.
To set up an outbound webhook, follow these steps:
1. Go to the BotSailor dashboard and click on bot manager under the Facebook section.
2. Select your bot, and navigate to the “Bot Reply” and click the `Create` button.
3. Now create a bot flow which will trigger the webhook. Here I am creating a bot flow which will ask for email.
4. Now navigate to the `Outbound Webhook` and click the `Create` button.