Sync Shopify Customers From Updated HubSpot Contacts

7 min setup
No coding required
Runs automatically

Eliminate manual data entry by seamlessly syncing new HubSpot contacts to Shopify as customers. This MESA workflow template ensures that customer information is consistently updated across platforms, reducing errors and keeping your data in sync. Enjoy streamlined customer management with the most current contact information available in both systems.

hubspot logo icon
Contact Updated
Search Customer
Loop: Check email
Path 1 Rule
Update Customer
Path 2 Rule
Shopify logo icon
Create Customer

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

How it works

7 steps to start syncing HubSpot contacts to Shopify customers automatically

hubspot logo icon

Contact Updated

App connector: HubSpot • Time to complete: 0 minutes (Auto-configured)
Why this matters: This trigger monitors your HubSpot contacts and kicks off the workflow whenever contact information changes, making sure updates flow to Shopify without manual intervention.

This trigger checks your HubSpot account hourly for any contacts that have been updated. When it detects changes to a contact record, it captures the contact's email, first name, and last name, then passes this information to the next step. The hourly schedule means your data stays reasonably current without overwhelming your systems with constant checks.

Search Customer

App connector: Shopify • Time to complete: 0 minutes (Auto-configured)
Why this matters: Before creating or updating anything, you need to know if this contact already exists as a Shopify customer—this prevents duplicate records and determines whether to update or create.

This step queries Shopify's customer database using the email address from the HubSpot contact. It searches for any customer records where the email matches and retrieves their Shopify customer ID if found. The search results get passed to the next step for filtering to make sure you're working with exact matches only.

Loop: Check email

App connector: Loop • Time to complete: 0 minutes (Auto-configured)
Why this matters: Shopify's search can sometimes return partial matches, so this filtering step makes sure you're only working with customers whose email exactly matches the HubSpot contact to prevent accidental updates to the wrong customer.

This step takes the search results from Shopify and filters them down to only customers where the email address exactly equals the HubSpot contact's email. If an exact match exists, it extracts that customer's ID for use in the update step. If no exact match is found, it returns an empty result which triggers the creation of a new customer instead.

Path 1 Rule

App connector: Paths • Time to complete: 0 minutes (Auto-configured)
Why this matters: This rule checks whether the filter step found an existing customer—if it did, you'll update that customer rather than create a duplicate.

This rule examines whether the filtered customer list contains any results by checking if the first item exists and is not empty. If a customer ID was found in the previous filtering step, this path activates and sends the workflow to the Update Customer step. The check happens automatically using the data passed from the Map step.

Update Customer

App connector: Shopify • Time to complete: 1 minute
Why this matters: When a contact already exists in Shopify, you need to update their information rather than creating a duplicate customer record, keeping their purchase history and account intact while refreshing their details.

This step sends the updated contact information to Shopify and overwrites the existing customer's email, first name, and last name with the current values from HubSpot. You can add or remove fields to sync by editing the body configuration—for example, you might add phone number or company name if those fields exist in both systems. The customer ID from the Map step tells Shopify exactly which customer record to update.

Path 2 Rule

App connector: Paths • Time to complete: 0 minutes (Auto-configured)
Why this matters: This rule handles the opposite scenario—when no matching customer exists in Shopify, triggering the creation of a brand new customer record.

This rule checks whether the filtered customer list came back empty, meaning the HubSpot contact doesn't exist in Shopify yet. If no matching customer ID was found in the Map step, this path activates and routes to the Create Customer step instead. The logic runs automatically based on the filter results.

Shopify logo icon

Create Customer

App connector: Shopify • Time to complete: 1 minute
Why this matters: New HubSpot contacts need corresponding customer records in Shopify so they can make purchases and appear in your customer database—this step handles that creation automatically.

This step sends a request to Shopify to create a brand new customer using the email, first name, and last name from the HubSpot contact. You can customize which fields get included when creating the customer by editing the body configuration—just make sure any additional fields you add actually exist in your HubSpot contact properties. Once created, the customer will appear in your Shopify admin and can immediately place orders.

Ready to set this up? It only takes 7 minutes.

Our support team will even help you personalize this workflow for free.

Get started →

Make it your own!

Customize this workflow even further:

Sync additional contact fields
Expand beyond just email and name by adding phone numbers, addresses, company names, or any custom properties you track in HubSpot—just map them to the corresponding Shopify customer fields in the Update and Create steps.
Add customer tags based on HubSpot lists
Use a Transform or Custom Code step after the Paths End to automatically tag Shopify customers based on which HubSpot lists they belong to, helping you segment customers for marketing campaigns.
Store sync history in MESA Tables
Add a Table step after both the Update and Create steps to log each sync with a timestamp, which contact was synced, and whether it was updated or created—perfect for auditing and troubleshooting.
Send Slack notifications for new customers
Add a Slack step after the Create Customer step to alert your team whenever a new HubSpot contact gets added to Shopify, keeping everyone informed about new customer acquisitions.

Common questions

What happens if the same contact gets updated multiple times in an hour?

Can I sync contacts from multiple HubSpot lists or just one?

Will this overwrite custom fields I've manually added to Shopify customers?

Ready to start syncing HubSpot contacts to Shopify customers automatically?

7-day free trial • 7 min setup • Cancel anytime

Need help? Our automation experts will help you personalize this workflow for free. Contact support