Integrate WP Forms with LeadSquared

1. Feature Overview

This connector captures leads from your WP Forms on your WordPress account to LeadSquared. You can configure the connector to capture leads in real-time from your WordPress WP Forms. Once the leads are captured, you can leverage LeadSquared’s CRM features to nurture and convert your leads.


2. Prerequisites

  • You must be the Administrator of your LeadSquared account.
  • You must have an active Elite Plan in your WP Forms account,
  • You must have the WP Forms plugin installed in your WordPress account.
  • Once the WP Forms plugin is installed (and you’ve added your license key, under settings), you must install the Webhooks Add-on.
  • This is a paid feature. To enable it, reach out to your account manager, or write to


3. How it Works

To push lead data from your WordPress WP Form to your LeadSquared account, install and configure the WP Forms connector from LeadSquared Apps Marketplace. Once configured, enable the connector sync.

During configuration, a webhook URL is generated in LeadSquared. Copy this URL. Later, you’ll configure this webhook URL in the WP Form (on your WordPress account).

On your WordPress account –

  1. Install the WP Forms plugin.
  2. Navigate to the Settings tab and enter your license key.
  3. Enable the Webhook Add-on, under Add-ons.

Finally, configure the LeadSquared Webhook URL (you obtained from the WPForms connector on LeadSquared) in the desired WP Forms, using the webhooks add-on. Once set up, leads will be captured to LeadSquared from all forms where the webhooks are configured.


4. Installation

You must first install and configure the WP Forms connector.

  1. Navigate to Apps>Apps Marketplace.
  2. Search for WP Forms, and click Install.
    • Alternatively, you can find the connector on the left panel, under Lead Capture.
  3. Once installed, hover your cursor over , and click Configure.

LeadSquared - wp forms installation

4.1 Configure the connector

Once you’ve installed the connector, on the Configure WP Forms pop-up, configure the connector access for the non-Admin users in your account. Only those users for whom access is granted can view and access the connector (under the Apps main menu).

  1. Select if you want to grant Connector Access that’s Based on Role or Advanced (User Level).
    • Based on Role – From the Specify Roles dropdown, select the LeadSquared user roles that can use the connector.
    • Advanced (User Level) – From the Advanced (User Level) dropdown, select a user boolean field. Based on the value entered in the selected boolean field, the user can access the connector (e.g., for the user Sam, if the “Is Employee” boolean user field contains the value “Yes”, then this user can access the connector).
  2. Once you’re done, click Save Details. To continue the configuration, refer to the below sections.
Note: By default, all Admin users will have access to the connector.
LeadSquared - wp forms initial configurations


5. Admin Configuration

To continue the connector configuration, navigate to Apps>WP Forms.

LeadSquared - wp forms navigation

5.1 Basic Settings

Enter the following details –

Lead SourceEnter the lead source through which the leads were captured (e.g., WP Forms, email campaign, etc.). This detail will be displayed on the Lead Details page, under Lead Source.
Default Country CodeIf the lead’s mobile number is captured without a country code, the default country code that’s selected from the dropdown will be added to the lead’s mobile number.
Select Time ZoneThe time zone followed in your WP Forms account.
Lead Capture Search By CriteriaTo avoid duplicate leads, you must select one unique lead field (e.g., email Id, mobile number, PAN number, etc.) as the search key. This is used to identify the leads pushed from WP Forms.

To know how to mark a LeadSquared lead field as unique, please refer to How to Make a Custom Field Unique.

Lead Capture Secondary Search By CriteriaIf lead identification and capture through the primary Search By criteria fails, it will be re-attempted using the secondary Search By criteria.
Select User to Notify on FailureIf there is an error in fetching leads, the selected user will receive a failure message via email. You can select a user from the list of all the users available in your LeadSquared account.

To know more about the type of errors, please refer to Error Notifications.

Enable NotificationTo ensure notification emails are sent to the selected user when there’s a failed query, enable the Checkbox checkbox.

Once you’ve entered all the details, click Save & Next.

LeadSquared - wp forms basic settings


5.2 Entity Options

Define the sync behavior of the connector when leads are captured.

5.2.1 Lead/Contact Entity

Based on the Lead Capture Search By criteria (email Id, phone number, etc.), LeadSquared identifies and captures leads from your WP Forms account. Lead capture is enabled by default, and it cannot be disabled. The following options are available to configure the connector’s Sync Behaviour –

  • Capture (Create and Update existing) Record – Leads that only exist in your WP Forms account (but not in your LeadSquared account) will get created in LeadSquared. Leads that exist in both your data provider and LeadSquared accounts will get updated.
  • Create only new record – Leads that only exist in your WP Forms account (but not in your LeadSquared account) will get created in LeadSquared.
  • Update only existing record – Leads that exist in both your WP Forms account and LeadSquared accounts will get updated in LeadSquared.

LeadSquared - wp forms sync behaviour


5.2.2 Mapping

On the Mapping screen, the WP Forms system fields mapped to the corresponding LeadSquared lead fields are visible. This mapping is carried out by default. If required, you can change or update the default field mapping.

  • To provide a default value for any field, click  , enter the value under Default Value, and click Google.
    • If the data provider doesn’t send data for any lead field, then the default value will get assigned to that specific field. But if the field already has an existing value, then the default value will be ignored.
  • To disable lead data capture for any field, disable the Zoom slider.
  • You can also mark and update a unique lead field as the search key from this screen, by clicking unique icon.
  • To create a custom WP Form field, click the Add Custom button.
    1. Once this field is created, you must map it to the relevant LeadSquared lead field.
    2. After the field is mapped, to save the custom field, click Google.
    3. To delete a custom field, click .

Once you’re done, click Save & Next.


  • Based on the lead fields configured in your Contact Form 7, and the use case you’re trying to solve, add or update the lead fields mapped in LeadSquared.
  • If you face an error when carrying out the field mapping, refer to How to Map Entity Options for Lead Capture.

LeadSquared - wp forms edit mapping


5.3 Generate Webhook URL

After you provide basic details and finish field mapping, a custom webhook URL is generated. To automate lead capture, copy this URL and configure it on your WordPress account. To know how to do this, refer to the next section…

After you’ve set up the webhook, click More Actions, and enable the sync job. This ensures that through the webhook, lead data from WP Forms is pushed to LeadSquared.

Note: You must have an elite plan to perform webhook integration. To know more, refer to Pricing.

LeadSquared - wp forms sync


6. Add Webhook to WordPress WP Forms Plugin

Once the LeadSquared webhook is generated, add and configure this webhook on your WordPress WP Form plugin.

6.1 Install WP Forms Plugin

First, download the WP Forms plugin zip file from your WP Forms account. Next, upload and activate the WP Forms plugin –

  1. In your WordPress account, hover your mouse over the Plugins option and click on Add New.
  2. At the top of the page, click the Upload Plugin button. Upload the zip file you downloaded from your Wp Forms account.
  3. Click Install Now. Then click Activate.
Note: For more details, see Install and Activate WP Forms Plugin.
LeadSquared Integrations


6.2 Add Your License Key

  1. Once you install the plugin, on the left tab, click WP Forms, then click Settings.
  2. Enter your license key and click Verify Key.
LeadSquared Integrations


6.3 Install Webhooks Add-on and Configure the Webhook

Note: You must first enter your license key under the WP Forms settings, before you can enable the webhook add-on.
  1. Hover your cursor over WP Forms and select Addons.
  2. Search for Webhooks Addon and click Install Addon.
  3. Click Activate.
  4. Under WP Forms, click All Forms.
  5. Select a form and click Settings.
  6. Select Webhooks and click Add New Webhook.
  7. Enter the relevant details and click Save.
LeadSquared - wp forms Configure Webhook


7. View Logs

Here, you can view logs of all the sync jobs that have taken place. View New Events (New Leads), Updated Events (Updated Leads), and Errors (when capturing leads).

  1. Navigate to Apps>WP Forms.
  2. From the More Actions dropdown, click View Logs.
  3. You can filter the logs by selecting a date range (Today, Last 7 Days, This Month, and Last Month), by selecting the Job Status (“All”, “Success” and “Failure”), and by selecting the Sync Status (All, Error, and Success).
  4. You can view the sync status of the following events –
    • New Events – List of all the new leads that have been created in LeadSquared during the selected date range.
    • Updated Events – A list of all the –
      • Duplicate leads that were created with the same Search by Criteria value (e.g., with the same Email Id, Mobile Number, etc.).
      • Leads that previously contained errors, which were fixed and synced successfully.
    • Failed – The list of leads that have not been captured due to mapping errors (e.g., when a boolean field is mapped to an integer field, etc.).
  5. To view the Sync Response details, under Request ID/Sync Job ID, click the Id.
    • Under the right panel, you can view the response status, the API URL, the request, and the response.
    • The responses that are successful will contain the details of the leads that have been pushed from WP Forms.
    • To view the lead capture response under Sync API Response, Leads Updated and Errors in Leads, click Information.


  • For a response that contains an error, the reason for the error is listed in the response. Once you fix it, you can click the Retry button to perform the sync again.
  • The current Lead Sync Behaviour will reflect in the Logs screen. This will help identify the sync that’s used (Capture or Update) for the selected Request/Sync Job Id.

LeadSquared - wp forms view logs


8. Other Actions

You can edit or delete the WP Forms connector instance that you created. To do this –

  1. Navigate to Apps>App Marketplace.
  2. Search for WP Forms.
  3. Alongside the WP Forms connector, hover your cursor over .
  4. From the list of options, you can perform the following actions –
    • Edit Configuration
    • Disable Configuration
    • Remove Configuration

LeadSquared - wp forms other actions


9. View Reports

You can view the total number of leads that have been pushed by WP Forms, by referring to the Lead Source report. To know more, please refer to How to track the source of your Leads using Lead Source Report?


Any Questions?

Did you find this article helpful? Please let us know any feedback you may have in the comments section below. We’d love to hear from you and help you out!

Was this Helpful?

Notify of
Inline Feedbacks
View all comments