OLD BUILDER - Send Webhook

This article corresponds to the V2 (Classic) of the app. You can check the equivalent for the new version V3 (Bricks) here

Send Webhook is a type of block that allows you to send data to a third-party app when the chatbot flow reaches the block. We'll show you how to configure it by using Zapier.

More information about this functionality in this article: How to POST, GET (and more) with Landbot

You need a Professional or Business account to add  Send Webhook blocks.
You need a Zapier account to build zaps, get yours here.

The most common use of the Send Webhook is sending Lead information straight to your inbox or updating some Google Sheet as you gather the information from a new Lead. 

Step-by-step guide on Zapier Webhooks and Landbot:

  1. Create an Send Webhook block. Click on Power-ups, and then Send Webhook.
  2. Now, you need to configure the content of the block like in the image below:

    1. URL.  Enter here the URL you'll be sending data to. If you plan to use Zapier, leave it blank and hit  Save, we'll come back later.
    2. Send data from variables. Here you need to enter the list of variables collected in the flow (name of the variable, @field_name) you want to send. Check the placeholder for format information.
  3. Sign in your Zapier account and select  Make a zap!
  4. Select  Webhooks by Zapier as the trigger app by typing its name:
  5. Select the trigger Catch hook (second option) and click Save + Continue:
  6. Skip the  Pick off a child key (optional) by clicking Continue:
  7. Copy the custom webhook URL and paste it into the URL field of the Zapier block inside the Chatbot Builder we'd left blank at the beginning of the article.  
  8. Now, Save the chatbot and test it. To test it, start a conversation with the chatbot and follow the flow until you reach the Send Webhook block. Once done, come back to Zapier and click OK, I did this. The app will tell you that the test has been successful.
  9. Now you need to configure the  Action app or the app you want to receive information in when a visitor reaches the Send Webhook block. In this example, we'll configure a Gmail notification with the information of the Lead.
  10. We select  Send email action:
  11. And choose the  account we want to send the email from (note you need to log in your Gmail account to see it here):
  12. Finally, we configure the basics: who do we want to receive the email, if we want to CC or BCC anyone and the  subject and body of the email:
  13. In the  body, we need to introduce the variables / dynamic fields we had configured in the DATA field of the Send Webhook block on the builder, just like this:
  14. All you have to do now is click  Continue and do a final Test. If everything's OK, you'll receive an email with the information provided by yourself when testing the Trigger app on step 7. 

    Your Send Webhook integration is ready!

Here's a video on how to configure a Send Webhook block using Zapier to send data to a MailChimp list:

How did we do?