Home/Guides/Connect Shopify to HubSpot — customers, orders and marketing in sync
Automation

Connect Shopify to HubSpot — customers, orders and marketing in sync

Do you sell in Shopify but want to work with your customers in HubSpot? Then customers and orders need to follow automatically, otherwise the lists quickly go stale. With a connection you can segment on purchase history, catch abandoned carts and follow up — without exporting CSV files by hand.

Guide5 minAutomationUpdated Sep 2026

Quick overview

In short: Connecting Shopify to HubSpot means customers and orders from the store automatically land in HubSpot — so you can segment on purchases, run abandoned cart flows, follow up and build a loyalty club, without manual export.

How to get started:

  1. Decide what you want to achieve: segmentation, abandoned cart, follow-up or loyalty club.
  2. Map the Shopify customer and order to the HubSpot contact and properties (LTV, most recent purchase, products).
  3. Build the sync via webhooks, set up workflows in HubSpot and test with real orders.

GDPR: purchase and contact data are personal data — handle consent for marketing, sign a data processing agreement and keep the flow in the EU or self-hosted in Sweden.

Why connect Shopify to HubSpot?

Shopify is good at selling, but weak at working further on the customer relationship over time. HubSpot is the opposite: strong on segmentation, email, flows and follow-up, but knows nothing about what the customer has actually bought unless someone enters it. Without a connection, your valuable purchase history sits locked inside the store.

When Shopify and HubSpot talk to each other, you can segment contacts on real purchase data: who bought most recently, how much they have spent and which products they chose. That makes the marketing relevant instead of generic, and you avoid exporting CSV files every week. We describe the principle behind it in our guide on system integration.

Technically, the connection builds on Shopify sending events (webhooks) when something happens — a new order, a new customer, an abandoned cart — and HubSpot's API receiving contacts and properties. From there, HubSpot's workflows can take over and handle the follow-up automatically.

What gets synced between the systems?

A good connection isn't just about copying email addresses. It's the purchase behaviour that makes HubSpot useful. These are the most common parts to set up:

  • Customer → contact: a new Shopify customer creates or updates a contact in HubSpot.
  • Order → properties: total purchase value (LTV), number of orders and date of the most recent purchase.
  • Products: which products or categories the customer has bought, for segmentation.
  • Abandoned cart: an abandoned checkout triggers a reminder flow.
  • Subscription and consent: newsletter choices from checkout land correctly in HubSpot.

What you need depends on the goal. If you just want to reach previous customers, customer + most recent purchase is enough, while a real loyalty club with tiers requires purchase value and products to be synced continuously.

Segmentation, abandoned cart and loyalty club

The whole point of the connection is what you do with the data in HubSpot. Here are the most common use cases and what each requires:

Use caseData neededWhat HubSpot does
SegmentationPurchase value, products, most recent purchaseLists and personalised sends
Abandoned cartAbandoned cart + emailAutomatic reminder flow via workflow
Follow-upOrder date, productPost-purchase email, review, repeat purchase
Loyalty clubLTV, number of ordersTiers, VIP segment, rewards

The beauty is that once the data flows in, HubSpot's workflows can handle most of this without anyone lifting a finger. A customer who passes a certain purchase value is automatically moved to the VIP segment, and an abandoned cart gets a reminder after a few hours.

How the connection works technically

Shopify offers webhooks sent in real time when an event occurs: orders/create, customers/create, checkouts/update and more. These are caught by an integration flow that translates the data and passes it on to HubSpot's API as a contact with the right properties.

In HubSpot you then create workflows that react to the properties — for example "if the most recent purchase is product X, send a related offer". There are ready-made Shopify apps in HubSpot's ecosystem, but they don't always cover Swedish needs around data storage and exactly which fields are synced. A bespoke flow gives you full control over what is transferred and where it runs.

GDPR and marketing

When purchase and contact data flow from Shopify to HubSpot, you are handling personal data, and for marketing there are additional rules on consent. You may not send newsletters to someone who hasn't opted in just because they have bought something. That's why it's important that the consent from checkout follows correctly into HubSpot.

HubSpot largely operates outside Sweden, so the intermediate layer — the integration itself — is worth controlling. Practical advice:

  • Only transfer marketing consent where the customer has actually opted in.
  • Run the integration flow in the EU or self-hosted in Sweden when the data is sensitive.
  • Sign a data processing agreement with the providers in the chain.
  • Sync only the fields you need for segmentation and follow-up.

Getting started with the sync

Start with a clear goal rather than syncing everything at once. The most common first step is to get customer and most recent purchase into HubSpot, so you can segment. Once that works, you build on with abandoned cart and loyalty club.

  1. Choose a goal: segmentation, abandoned cart, follow-up or loyalty club.
  2. Map the Shopify customer and order to the HubSpot contact and properties.
  3. Build the sync via webhooks and test with a few real orders.
  4. Set up workflows in HubSpot and measure the effect.

Want your store and marketing to hang together on their own? See how we think about how to automate the business, or get in touch and we'll look at your Shopify and HubSpot setup together.

FAQCommon questions

Frequently asked questions.

Do we have to switch systems or leave Shopify?+
No. You keep Shopify as your store and HubSpot for marketing. The connection syncs customers and orders between them so that purchase data becomes usable in HubSpot — no system is replaced.
Can we segment on purchase history in HubSpot?+
Yes. By syncing purchase value (LTV), number of orders, most recent purchase and which products the customer chose, you can build lists and personalised sends in HubSpot based on real purchase behaviour.
Do abandoned cart flows work?+
Yes. Shopify sends an event when a cart is abandoned, and it can trigger a workflow in HubSpot that sends a reminder after a chosen time — fully automatically.
How is consent for newsletters handled?+
The customer's choice at checkout follows through into HubSpot, so you only market to those who have opted in. Buying something is not the same as consenting to newsletters, and the connection respects that.
Where is the customer data stored?+
Customer and order data flow from Shopify to HubSpot via the integration. We can run the flow itself in the EU or self-hosted in Sweden, sign a data processing agreement and limit the sync to the fields you actually need.

From guide to done — we build it for you.