Syncing 10,000 leads/mo? Get a demo
Google Sheets logo
+
HTML Form logo

How to connect Google Sheets with HTML Form

Connect Google Sheets to HTML Form with LeadsBridge

Google Sheets » HTML Form

In this article, you'll learn how to set up the bridge and connect Google Sheets to My CRM Example using LeadsBridge.

How to set up your bridge step-by-step tutorial

Before you start

  1. Head over to the left sidebar and click on the Create new Bridge green button
  2. You'll be taken to the first step of the bridge creation

Step 1: Choose the apps you want to connect

  1. Choose Google Sheets as the source for your bridge
  2. Choose HTML Form as the destination for your bridge
  3. Click on the Continue button
  4. At this point you can choose a name for your bridge (this will only be visible inside LeadsBridge and you can also edit it later)

Step 2: Configure your Google Sheets with HTML Form

Step 2.A: Setup your Google Sheets integration

  1. Click on Connect Google Sheets
  2. Click on Create new integration to connect your Google Sheets (or select an existing one from the dropdown if you already connected it)
  3. A popup wil be opened where you can authorize the Google Sheets integration
  4. Click on Authorize and you will be prompted to the Google Sheets authorization experience
  5. Here you will need to provide the info required and grant access to LeadsBridge
  6. Once done, you will be get back to LeadsBridge application
  7. You can choose a name for this Google Sheets and LeadsBridge integration (you can also edit it later)
  8. Once done, click on Continue button and you will get back to the bridge experience where you could choose additional integration settings
  9. Now that your Google Sheets is connected, you can continue with the set-up of your bridge

Step 2.B: Configuration details for Google Sheets

How to get Domain, Sheet Id, Collect only last N rows

(Optional) Enter the Sheet Id of your spreadsheet if you need to use a specific one
(Optional) Enabling More Settings? it is possible to insert the value for the field Collect only last N rows which allow collecting only the last N rows of the Sheet. This option is useful with very large Sheets because due to some API limits, the integration can't retrieve all the data.

How to get Allow Duplicates

Using the Allow Duplicates option, you may choose if you want to send duplicate leads in your Google Sheets when using it as a Destination integration.

If you want to avoid duplicates when sending leads to Google Sheets, you can disable the Allow Duplicates toggle from the Google Sheets integration settings.

Please note that this option works only if there's an Email column inside your Google sheet.

If the Allow Duplicates toggle is enabled, LeadsBridge will search for the exact same email address that already exists in your Google Sheets and then it will update it. If there's no match, a new row will be created.

Step 2.C: Setup your HTML Form integration

  1. Click on Connect HTML Form
  2. Click on Create new integration to connect your HTML Form (or select an existing one from the dropdown if you already connected it)
  3. A popup wil be opened where you can authorize the HTML Form integration
  4. Fill HTML form code field to connect HTML Form with LeadsBridge
  5. Click on the Authorize button
  6. You can choose a name for this HTML Form and LeadsBridge integration (you can also edit it later)
  7. Once done, click on Continue button and you will get back to the bridge experience where you could choose additional integration settings
  8. Now that your HTML Form is connected, you can continue with the set-up of your bridge

Step 2.D: Configuration details for HTML Form

How to get HTML form code

If your CRM has the feature called Web-To-Form or HTML form, to embed HTML code inside a web page, you only need to copy and paste the HTML code into LeadsBridge as a new custom HTML form integration.

An HTML form code is something that typically starts with <form> and ends with </form>. Pay attention that the attribute “action” should be specified inside the tag form.

Learn more about HTML forms here: ( Learn more)

Other Info

If you don't have the form code but you have an opt-in form online, you may copy its code by following these steps:

  1. Open your opt-in form page.

  2. Hover the form.

  3. Right-click to open the contextual menu.

  4. Click on "Inspect" the open the dev tool.

  5. Position at the form action line.

  6. Right-click and "Edit as HTML".

  7. Copy the form code.

"Encoding", "Timeout", "Success Patterns" and "Failure Patterns" can be left with their default values, you don't need to set them in most cases. If you'd like to know more, please read the common questions below.

Step 2.E: Email Receipt (Optional)

You may choose to receive an email receipt for each incoming lead.

  • Type the address(es) where you'd like to receive the receipt
  • You may also modify the Subject line of the email

Step 3: Fields Mapping

Here you'll be able to map your Google Sheets information with your HTML Form fields.

  1. You will have HTML Form fields on the left. Match the information you wish to pass align from Google Sheets
  2. Based on HTML Form functionality, some fields might be required; if this is the case, you can identify those fields with a * (star), so be sure to map all them
  3. You can also use the functions to customize information like reformatting dates and times or modifying text, phone numbers and so on.
  4. You may leave blank the box of a field's information you don't want to send through. Clicking on the Show unmapped fields button you will have visibility on all the available fields still not mapped

Step 3.A: Leads Filter (Optional)

If you'd like you could add a filter for incoming leads. This filter will sync only leads that meet the configured conditions

  1. Click on the link Add Filter for Incoming Leads on the top left
  2. A popup wil be opened where you can configure the filter
  3. You can define a series of condition to filter the leads. The lead will be synced only when all the conditions will be met
  4. Once finished, click the Save Changes button to switch back to the Fields Mapping to continue with the bridge configuration

Step 3.B Test Connection (Optional)

Once you’ve mapped all the fields that you need, if available, you can run a test of your connection by clicking on the Test Connection button.

Step 4: Save and Publish

  • Click on the Save and publish button

Congratulations! Now your bridge is up and running

Do you need help?

Here some additional resources:

RELATED ARTICLES FROM OUR BLOG

https://leadsbridge.com/blog/how-to-use-google-sheets-as-a-crm/

How to connect TikTok with Google Sheets: A step-by-step guide

The best Facebook Lead Ads CRM integrations for your marketing campaigns