Integration of HubSpot forms

Map Webflow forms directly to HubSpot to integrate with your marketing automation platform.

Crucial: Starting August 29th, 2023, you have the option to link your Webflow site with HubSpot’s marketing and CRM platform using the HubSpot App. For more details, take a look at our guide on the HubSpot App.

Avoid third-party connection tools and manually written CSS for form embeds by aligning your Webflow form fields with your configuration in HubSpot. When users enter their details on your website’s forms, the integration automatically directs that information to HubSpot.

Remember: This functionality is exclusively accessible to Webflow Enterprise clients. If you or a customer are interested in knowing more, kindly reach out to our enterprise team.

In this tutorial, you will learn:

  1. How to link HubSpot with Webflow
  2. How to align individual forms with HubSpot

Linking HubSpot with Webflow

Initially, you must add the HubSpot integration to your Workspace. To reach your Workspace:

  1. Expand the Account dropdown in the navigation bar
  2. Click Workspaces
  3. Choose a Workspace to establish the HubSpot integration

To add the HubSpot integration:

  1. Visit Workspace settings > Integrations tab > Marketing automation integrations
  2. Click Add marketing integration
  3. Opt for HubSpot from the dropdown menu
  4. Click Add marketing integration (you will be redirected to HubSpot to connect the two applications)
  5. Select your HubSpot account in the “Connecting Webflow Prod to HubSpot” page and click Choose account
  6. Hit Connect app to grant Webflow access to your HubSpot account (you will then be directed back to the Integrations tab in your Webflow Workspace)

Note: To modify your integration, you will have to delete and replace it.

HubSpot’s interface to connect Webflow to a HubSpot account is shown. 
HubSpot’s interface to allow access to Webflow is shown. 

Removing your HubSpot integration

If you wish to eliminate your HubSpot integration, start by accessing your Workspace: 

  1. Expand the Account dropdown in the navigation bar
  2. Choose Workspaces
  3. Select the Workspace you want to remove the HubSpot integration from

Next, remove the HubSpot integration:

  1. Proceed to Workspace settings > Integrations tab > Marketing automation integrations
  2. Click Delete next to the integration you want to uninstall
  3. Enter “DELETE” to confirm and click the Delete button

Crucial: If you delete your Workspace’s HubSpot Marketing automation integration and later re-add it, you will also need to remove any prior HubSpot form integrations on your sites and re-add them to ensure their proper functioning.

Aligning individual forms with HubSpot

When a user completes a form on your Webflow site, each Webflow form field that you have linked to a HubSpot form field automatically retrieves the submitted data into the values of your corresponding HubSpot fields. In essence, this integration exchanges submitted data from mapped fields between your Webflow form and your HubSpot form. You can align your form and manage it with the following steps:

  1. Publish your form and make a test submission
  2. Link your Webflow form to HubSpot
  3. Test your linked form
  4. Adjust your form integration settings
  5. Delete your form integration

Publish your form and make a test submission

Prior to aligning your dynamic Webflow forms with a universal HubSpot form, you must create your form in Webflow, publish your site (or republish it if you already have a form in operation), and make a test submission:

  1. Create your form in Webflow if it doesn’t exist yet
  2. Publish (or re-publish) your site containing the form you wish to connect to HubSpot
  3. Thoroughly fill out and submit your form on your live site

Remember, every Form block in your site should have a distinct Form name. If two or more forms share the same name, it can lead to issues with Webflow’s API and how it fetches mappable form fields. By default, our API fetches forms with the most recent submission, and if 2 forms share the same name, it can disrupt or break the expected mapping between Webflow and HubSpot. Having multiple forms with the same name can also cause other complications (e.g., multiple forms submitting to HubSpot when you intended only one to submit).

Crucial: Even if you have previously published your form, you will need to republish it for the integration to work as intended.

Learn more aboutforms.

Link your Webflow form to HubSpot

After generating a test submission from the form you wish to connect to HubSpot and after adding the HubSpot integration to Webflow, you can link the form to HubSpot. 

  1. Access Site settings of the site containing the form you wish to link to HubSpot
  2. Navigate to the Forms tab > Form integrations
  3. Click Map new form
  4. Select webflow.com(HubSpot) from the Marketing platform dropdown menu
  5. Pick your form from the Marketing form name dropdown menu
  6. Choose your respective Webflow form from the Webflow form name dropdown menu
  7. Link your Webflow form fields with Marketing lead fields (e.g., a “FirstName” field in Webflow links to a “firstName” field in HubSpot — you don’t have to link all your fields if you don’t want to)
  8. Click Connect form to link your Webflow form to HubSpot
Helpful to be aware: When linking form fields, ensure your HubSpot form incorporates every Webflow form field as a corresponding field in the HubSpot form itself. You can include these corresponding fields in your HubSpot form by choosing your matching HubSpot form, accessing it, editing it, and adding any necessary fields to your HubSpot form.

Test your linked form

You can test your integration after linking your Webflow form to your HubSpot form to confirm that it’s pulling data into HubSpot as desired: 

  1. Access your live site, thoroughly fill out,and submit your form
  2. Log in to HubSpot
  3. Check the submission log in HubSpot to verify that your form information was correctly pulled into HubSpot

Adjust your form integration settings

If you wish to modify your form integration settings, you must first create a form test submission:

  1. Publish the site containing the form you wish to link to HubSpot
  2. Complete your form
  3. Submit it

After creating a test submission from the form you want to connect to HubSpot, you can update your form fields in your current form integration:

  1. Head to Site settings of the site containing the form integration you wish to update
  2. Go to the Forms tab > Form integrations
  3. Click Edit next to the form you want to modify 
  4. Make any necessary changes to your fields
  5. Press Update form connection to save your alterations

Delete your form integration

If you need to erase a form integration: 

  1. Navigate to the Site settings of the site containing the HubSpot form integration you wish to delete
  2. Go to the Forms tab > Form integrations
  3. Click the Delete button next to the form integration you aim to remove
  4. Enter “DELETE” to confirm and press the Delete button
Ewan Mak
Latest posts by Ewan Mak (see all)