• Home

  • Automation with Zapier

  • Zapier tutorials

Zapier tutorials

3 min read

How to add subscribers to Klaviyo for new Shopify purchases

By Kaylee Moser · March 14, 2023
A hero image of the Shopify app logo connected to the Klaviyo app logo on a light yellow background.

Shopify is one of the most popular eCommerce platforms in the world. If you use it for your online business, you know how easy it makes hosting a shop on the Internet. Klaviyo is a marketing automation platform that makes keeping in touch with your customers via email or SMS a breeze.

If you're a user of both of these popular apps, you're likely looking for a way to connect the two to streamline your business-critical workflows. With Zapier, you can automatically add subscribers to Klaviyo for new Shopify purchases, ensuring your customers get the right follow-up messages. 

Shopify is a premium app—available on Zapier's paid plans. Learn more about premium apps.

Connect Shopify and Klaviyo

Zapier lets you create automated workflows called Zaps, which send your information from one app to another. You can create your own Zap from scratch without any coding knowledge, but we also offer quick templates to get you started.

If you'd like to start with a template, click on the Zap template below to go to the Zap editor. You'll need to create a Zapier account if you don't already have one. Then, follow the directions below to set up your Zap.

Add Klaviyo subscribers with new Shopify customers

Add Klaviyo subscribers with new Shopify customers
  • Shopify logo
  • Klaviyo logo
Shopify + Klaviyo

New to Zapier? It's workflow automation software that lets you focus on what matters. Combine user interfaces, data tables, and logic with thousands of apps to build and automate anything you can imagine. Sign up for free.

Set up your Shopify trigger for new customers

First, set up your trigger, which is the event that starts your Zap. Choose Shopify for your trigger app and New Customer for your trigger event.

The Shopify app has been selected with New Customer selected in the Event field.

Click Continue. You'll be asked to sign in to your Shopify account, if you haven't already. Once you've selected a Shopify account, click Continue

Next, you'll be asked to test your Zap, which will pull in sample data that will be used to set up the rest of your Zap. Note that to test your Zap, you'll need to have an existing customer in your Shopify account. If you don't have one, feel free to add a temporary one for testing.

An example Shopify order in the Shopify app.

Click Test trigger to test your trigger step, which will pull in an existing Shopify order. The results should look something like this.

A successful test page showing the Zap editor found a Shopify order.

If you're satisfied with your test results, it's time to set up your Klaviyo action.

Set up your Klaviyo action to add new subscribers

Your action is the event your Zap performs after it's triggered. Select Klaviyo for your action app and Add Subscriber for your action event.

Klaviyo has been selected with Add Subscriber selected in the Event field.

Next, sign in to your Klaviyo account. If you haven't connected Klaviyo to Zapier before, you'll need to give Zapier access to your Klaviyo account.

In the account section, select the Klaviyo account you want to connect with Zapier.

Click Sign in, which will take you to a page asking for your public and private API key.

A pop-up screen asking you to give permission for Zapier to access your Klaviyo account, with fields to paste in API keys.

You can find this information in your Klaviyo account settings. Copy your Public API Key into the Zapier authorization page. 

Then click Create Private Key in your Klaviyo account settings. Name your Private API Key, select Full Access Key, then click Create. Note that you must create a Full Access Key for this Zap to work.

The account settings page in a Klaviyo account where you can find your API keys.

Copy your private key and paste it into the Private API Key section of the Zap authorization page. Click Yes, continue to complete the connection.

Once the correct Klaviyo account is selected, click Continue.

Customize your new Klaviyo subscriber by selecting, at minimum, the List from your Klaviyo account and the Email from your previous Shopify step. You can map data from a previous step by clicking in the appropriate field and selecting the data you wish to use from the dropdown.

For this example, we also added the First Name, Last Name, and Phone Number from the Shopify sample order.

The action step in the Zap editor with fields that include data from the previous Shopify step.

Once your customizations are done, click Continue.

Next, click Test action to test your Zap.

A test screen that shows a new contact that will be added to Klaviyo.

If the test is successful, there should be a new subscriber in your Klaviyo List.

A Klaviyo list that includes the new contact info pulled from the Shopify order.

If everything looks right, you're now ready to use your Zap. From now on, every new Shopify customer will be added to your selected Klaviyo List. Try it for yourself:

Add Klaviyo subscribers with new Shopify customers

Add Klaviyo subscribers with new Shopify customers
  • Shopify logo
  • Klaviyo logo
Shopify + Klaviyo

Related reading:

  • 6 ways to automate your Shopify store

  • The best ways to automate Klaviyo with Zapier

  • How to automate your eCommerce business

  • Automatically post new Shopify store items to Pinterest

Get productivity tips delivered straight to your inbox

We’ll email you 1-3 times per week—and never share your information.

tags
mentioned apps

Related articles

Improve your productivity automatically. Use Zapier to get your apps working together.

Sign up
See how Zapier works
A Zap with the trigger 'When I get a new lead from Facebook,' and the action 'Notify my team in Slack'