How to Create a Shopify Form and Send Submissions to HubSpot

How to Create a Shopify Form and Send Submissions to HubSpot

A Shopify contact form is only useful if the information it collects reaches the people who need it. Every day, businesses receive wholesale enquiries, quote requests, partnership proposals, product questions, event registrations and customer support requests through Shopify forms. If those submissions remain inside Shopify or require someone to manually copy them into a CRM, valuable time is lost and the chances of delayed follow-ups increase. Manual data entry also creates opportunities for duplicate records, missing information and human error, making it harder for sales and marketing teams to respond quickly.

Connecting Shopify forms to HubSpot removes this extra work by automatically sending every form submission to your CRM as soon as it is submitted. Instead of checking multiple systems, your team can manage new contacts, trigger follow-up activities, assign leads and start marketing or sales workflows from a single place. This creates a more reliable process while ensuring that every enquiry is captured and acted upon without unnecessary delays.

Setting up this automation does not require building a custom integration or writing API code. IPS – Contact Form to Any API provides a straightforward way to connect Shopify forms with the HubSpot Contacts API, allowing form submissions to flow directly into HubSpot using your preferred field mappings.

This guide explains the complete setup process, from installing the app and connecting it to HubSpot to mapping your Shopify form fields and testing the integration, so every submission automatically creates or updates a contact in HubSpot.

How the Integration Works

Once you configure IPS – Contact Form to Any API with your Shopify store, and connect it with your HubSpot CRM, every submission follows the same path.

Shopify store → Form build with IPS – Contact Form to Any API → HubSpot Contacts API → HubSpot contact

  • A new email address creates a new contact in HubSpot.
  • An existing email address updates the matching contact instead of creating a duplicate.
  • Email based matching prevents duplicate contacts from building up in your CRM.
  • The access token you generate in HubSpot authorizes each API request.

What You Need

Before you connect Shopify forms to HubSpot, gather the following.

  • A Shopify store
  • A compatible Shopify 2.0 theme
  • A HubSpot account
  • Permission to create a HubSpot private app
  • IPS – Contact Form to Any API installed on your store
  • A Shopify form ready to connect

If you would rather have this configured for you, our experts are here to help you out and set up the full connection on your Shopify store.

 

Build Your Shopify to HubSpot Integration in Minutes

Create custom Shopify forms, map fields to HubSpot contacts, and send every submission automatically through the HubSpot Contacts API. IPS – Contact Form to Any API gives you the flexibility to connect Shopify with HubSpot and hundreds of other API-enabled platforms without writing custom integration code.

Install IPS – Contact Form to Any API

 

How to Connect Shopify Forms to HubSpot

The process for connecting Shopify forms to HubSpot involves eight steps, from creating the form to testing it live on your storefront. This walkthrough uses one example form throughout, a contact form with three fields: email, first name and last name.

Step 1: Create the Shopify Form

Start inside IPS – Contact Form to Any API by creating the form you want to send to HubSpot. If you have not installed the app yet, add it from the Shopify App Store first.

Install on Shopify →

For this guide, that means a simple contact form with email, first name and last name fields.

  1. Create the form.
  2. Add the email, first name and last name fields.
  3. Set the labels and validation for each field.
  4. Save the form.

Step 2: Create a HubSpot Private App

HubSpot needs a private app before it can accept data from Shopify. This app generates the access token that authorizes the connection.

  1. Log in to HubSpot.
  2. Go to Settings.
  3. Open Integrations.
  4. Select Private Apps.
  5. Click Create private app.
  6. Enter an app name, such as Contact Form Integration.
  7. Under Scopes, enable crm.objects.contacts.write.
  8. Create the private app.
  9. Copy the access token.

Keep this token private. It works as a Bearer token, and IPS – Contact Form to Any API uses it to authenticate every request sent to HubSpot.

Step 3: Configure the HubSpot API

With the access token copied, return to IPS – Contact Form to Any API and set up the API connection. Enter the following details.

Replace YOUR_PRIVATE_APP_TOKEN with the access token you copied from HubSpot in the previous step.

Step 4: Map the Shopify Form Fields

Make sure every Shopify field is mapped to the exact HubSpot property name. Even small differences in property names can prevent data from being saved correctly.

Form Field HubSpot API Key
Email email
First name firstname
Last name lastname
  1. Select each Shopify form field.
  2. Assign the corresponding HubSpot API key.
  3. Check the mapping against the table above.
  4. Save the configuration.

Example data sent to HubSpot once mapping is complete:

{

"email": "[email protected]",

"firstname": "John",

"lastname": "Doe"

}

Step 5: Save and Test the HubSpot Configuration

  1. Save the API settings.
  2. Submit a test entry through the form.
  3. Open HubSpot.
  4. Search for the submitted email address.
  5. Verify the email, first name and last name.
  6. Correct the mapping if any value is missing.

Step 6: Copy the Form Code

Once the form configuration is complete, open the form inside IPS – Contact Form to Any API and copy the HTML code the app provides. You will paste this into your Shopify theme in the next step.

Step 7: Add the Form to Shopify

  1. Open Online Store in Shopify Admin.
  2. Go to Themes.
  3. Find your compatible Shopify 2.0 theme.
  4. Click Customize.
  5. Open the page or template where the form should appear.
  6. In the Apps section, click Add block.
  7. Select Apps.
  8. Select Contact Form.
  9. Paste the copied shortcode into the shortcode field.
  10. Save the page.

Step 8: Preview and Test the Published Form

  1. Preview the Shopify storefront page.
  2. Confirm the form displays correctly.
  3. Submit another test entry.
  4. Open HubSpot.
  5. Search for the submitted email.
  6. Confirm the mapped fields appear correctly.

Step 9: Review Submission Logs

After testing the published form, open the Submissions section in IPS – Contact Form to Any API to review the submission logs.

Each submission includes the request, response and delivery status, making it easy to confirm whether the data reached HubSpot successfully or identify what prevented it from being accepted.

The logs help you verify:

  • Successful submissions
  • Failed submissions
  • API response messages
  • HTTP status codes
  • Validation or authentication errors
  • Request timestamps

If a submission fails, the response returned by the HubSpot API is displayed in the log, helping you quickly identify issues such as incorrect field mapping, an invalid access token, missing required properties, or authentication errors. After correcting the configuration, submit another test entry to confirm the integration is working as expected.

Bonus: Start Collecting Leads Before Connecting Your CRM

One of the advantages of IPS – Contact Form to Any API is that an API integration is completely optional. You can publish your Shopify form and begin collecting submissions immediately, even if your CRM or other business application has not been connected yet.

Every form submission is automatically stored in the Submissions section of the app, giving you a central place to review all collected entries. This means you can launch your form without delaying lead collection and configure your API integration later, without worrying about losing valuable customer information.

Once your integration is ready, you can continue sending new submissions to your CRM while keeping a complete record of every form entry inside the app.

If you need custom fields or additional forms beyond what IPS – Contact Form to Any API covers out of the box, our Shopify app development team can build that for you.

Start Automating Your Shopify Forms

A reliable Shopify form should do more than collect enquiries. It should move every submission directly into the systems your team already uses, so sales, marketing and support can respond without manual data entry or unnecessary delays.

IPS – Contact Form to Any API makes that possible by giving you complete control over how your Shopify forms connect with HubSpot. From flexible field mapping and multiple authentication options to detailed submission logs and built-in submission storage, the app provides everything needed to build dependable API-driven workflows without developing a custom integration.

Whether you are capturing customer enquiries, wholesale requests, quote requests or lead generation forms, you can connect your Shopify forms to HubSpot in just a few steps and keep your contact data flowing automatically as your business grows.

If you are looking for a flexible way to connect Shopify forms with HubSpot or any other API-enabled platform, install IPS – Contact Form to Any API and start building integrations that fit your workflow.

Frequently Asked Questions

1. Can HubSpot update an existing contact instead of creating a duplicate?

Yes. HubSpot identifies contacts using their email address. If a submitted email already exists in your HubSpot account, the contact is updated instead of creating a duplicate. If the email address is new, HubSpot creates a new contact. This helps keep your CRM organized and reduces duplicate records.

2. What happens if my Shopify form submission fails to reach HubSpot?

If the API request fails, the submission logs in IPS – Contact Form to Any API record the request details, response message, HTTP status code and any validation or authentication errors returned by HubSpot. These logs make it easier to identify the cause of the failure, update your configuration and test the integration again.

3. Can I send additional Shopify form fields to HubSpot?

Yes. You can map any supported Shopify form field to the corresponding HubSpot contact property, provided the property already exists in your HubSpot account. If you use custom contact properties in HubSpot, simply map your Shopify fields to those property names during the API configuration.

4. Can I collect Shopify form submissions before connecting HubSpot?

Yes. One of the advantages of IPS – Contact Form to Any API is that every form submission is stored within the app, even if you have not configured an API integration yet. This allows you to publish your forms immediately, start collecting leads and connect HubSpot or another CRM later without losing any submissions.

5. Does IPS – Contact Form to Any API only work with HubSpot?

No. Although this guide focuses on HubSpot, IPS – Contact Form to Any API can connect Shopify forms to virtually any application that provides an API. This includes CRMs, help desk platforms, marketing automation tools, databases, ERP systems and custom business applications.

6. Can I connect multiple Shopify forms to different APIs?

Yes. IPS – Contact Form to Any API lets you create multiple forms and configure separate API integrations for each one. For example, you can send a contact form to HubSpot, a wholesale enquiry form to your CRM and a support form to your help desk platform, each with its own field mapping and API configuration.

×