Integrations Guide: How to integrate LeadGen via Webhooks

Automate your lead generation needs using Webhooks integrated with LeadGen.

To integrate forms via webhooks, start by giving all your questions field name labels. For example, when asking for first name, you can name your field name “first”.

Important: Only use lowercase field name text and avoid spacing, e.g. use “email_address” instead of “email address”

When setting up your webhook integration later one, you will continue working with those field names.  

Field names (used for webhooks)(

Once you built your form and assigned a field name to each question, it’s time to build the Webhook. In the Forms menu, click on “Webhooks.”

Access webhooks settings from form overview page

Create a new webhook by pressing the “+ Webhook” button.

Add new webhook

Next, you can add a few details about your newly-created webhook. It's a good idea to start with the title, as this will help you identify it later in the process. Leave the webhook URL blank, for now. You will come back to it with an URL from Zapier.

Edit webhook settings

Next, go to, login with your account and use the button in the top left corner to create a new Zap.

Make a zap in Zapier

First, you need to go through one of the most important steps: Selecting the trigger. Basically, we're talking about the event that starts your Zap. To select your trigger, you need to search and click on "Webhooks by Zapier."

Choose Zapier trigger, Webhooks by Zapier

Now it's time to choose the trigger.  From the "Trigger event" dropdown menu, select "Catch Hook" and click Continue. Don't forget to name your Zap so that you can find it with ease later on.

Choose trigger event "Catch Hook"

After the new Zap is created, a custom webhook URL will be created. Copy the custom webhook URL and save it.

Test trigger

Go back to LeadGen, and in the Webhook URL field, paste the one you just saved in Zapier and click on "Create webhook."

Add webhooks URL in LeadGen

Open the live link of the form you created earlier in LeadGen and submit it to generate a lead.  Then go back to Zapier and click on "Test webhook." You should get a confirmation message almost instantly, showing you that the request from LeadGen was found.

Search for lead data in Zapier

Now, everything you need to do is select the data destination. Let’s say you want to send the email address to an email marketing platform, like Mailchimp. Search for the platform in the list and select the action you want to do, in this case “Add/Update Subscriber.”

Choose action in Zapier, here: Create Mailchimp subscriber

You need to login to Mailchimp to provide access to Zapier. 

Sign in to Mailchimp via Zapier

You will see a pop-up asking to confirm everything, and then you will return to Zapier, with your account listed in the dropdown menu. Click “Continue.”

Add Mailchimp account in Zapier

Now you need to select the information that will be sent to Mailchimp. In the first dropdown, called “Audience,” you need to select which list the new subscriber will go to. In the second dropdown, called “Subscriber Email,” you will see the information from the hook. Select the field that has the email address.

Field mapping in Zapier

There are many more fields that can be sent into Mailchimp, you can see the list below. In this case, besides the email address, we’re also using two other fields, “Double Opt-In” and “Update existing,” both with the false value. The first one can trigger a confirmation email for the user to confirm the subscription to your list. The second one means that if the subscriber already exists in the list, the action will be skipped, and there will be no updates. When you finish mapping all the information you want to send from LeadGen to Mailchimp, click “Test & Continue.”

Send Test Subscriber to Mailchimp

You will see a confirmation message that everything is working ok. At the bottom of the page, you have the option to turn the Zap on. You can do this now, or you can do it at a later date from Zapier’s dashboard.

Zapier Test Success message

👆 You’re all caught up