Skip to content

Create marketing emails using Shopify product data

Last updated: August 27, 2025

Available with any of the following subscriptions, except where noted:



If you've connected a Shopify account to HubSpot using data sync, you can display your most popular products in marketing emails based on Shopify website interactions. You can also provide a list of products that the recipient recently viewed.

Reconnect Shopify account

Before you can populate your marketing emails with your most viewed products, you'll need to reconnect your Shopify account from your HubSpot settings:

  1. In your HubSpot account, click the settings settings icon in the top navigation bar. In the left sidebar menu, navigate to Integrations > Connected Apps.
  2. Click Shopify.
  3. At the top of the page, a banner will appear with the message Your Shopify account needs to be reconnected. Within the banner, click Reconnect.
  4. In the dialog box, click Next.
  5. Enter the subdomain for your Shopify account.
  6. Confirm that you're logged into your Shopify account in the same browser session, then when you're ready, click Connect to Shopify.

reconnect-shopify-dialog-box

Once complete, you'll be redirected back to your HubSpot account.

Use the Most viewed and Recently viewed filters in your email

After updating the required permissions in your Shopify account, you can pull in your most popular products into a marketing email:

  1. In your HubSpot account, navigate to Marketing > Email.
  2. In the top right, click Create email, then select an email type and template.
  3. Click an drag the Product module from the Content tab in the left panel directly into the email editor.
  4. Select the Use product recommendations radio button, then click the dropdown menu and select an option:
    • Most viewed (Shopify connected stores): show a list of the most popular products from your connected Shopify store.
    • Recently viewed (Shopify connected stores): show a list of the products that the recipient recently viewed when they were browsing your website.
  5. Click the Shopify Store dropdown menu and select one of a connected store.
  6. Click the Currency dropdown menu and select a currency.
  7. Select or clear the Filter by price checkbox to customize whether products will appear based a certain minimum or maximum price threshold.
  8. Click the Layout dropdown menu and select an orientation. Then, enter the Maximum number of products that will appear to recipients.
  9. Click the Default Products dropdown menu, then select a fallback option if no relevant products are available:
    • Select products manually: customize the specific products that you want to display by default.
    • Top sellers: show your top selling products by default.
  10. Select or clear the checkboxes next to each of the corresponding product details (e.g., Product imageProduct nameDescription, etc.) to show or hide the field in your email.
  11. After you're done editing the details and design of your products, click Done at the top of the left sidebar. Continue designing the rest of your email, or click Review and send in the top right.
Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.