Create Shopify Customers with Zapier
If you prefer, you can follow along with a video tutorial of the steps we show below.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/66714cafd25819300c900c42_Create%20customers%20in%20Shopify_thumbnails.png)
In this guide, we’ll walk you through the process of creating a Zap that connects quiz completion data from Lantern to your Shopify store. This integration will allow you to create customers and add tags to these customers in Shopify.
Before You Start
- To ensure the Zap works correctly, you must capture both the first and last names of the customer using customer input fields in your Lantern quiz.
- Make sure your Zapier integration is set up and connected to both your Shopify account and Lantern account.
Step 1: Create a New Zap
- Access Zap Creation:
- From your Zapier dashboard, click the Create button and go to Zaps.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/666c411503de5bdfb0cf1464_zaps%20(1).png)
Step 2: Set Up the Trigger
- Select the Trigger :
- Search for and select the Lantern app.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/666c4141d30cb935afc8c082_Lantern%20Trigger.gif)
- Choose the Event:
- From the event drop-down, select Quiz Completion.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/666c417ae1368164b093018a_Quiz%20completion%20event.gif)
- Connect Your Accounts:
- Connect your Shopify store and Lantern account.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/666c419c5396dff60ec05cbf_Zapier_choose%20store.png)
- Select the Quiz ID:
- Choose the specific quiz ID from the drop-down menu.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667109cf56ef098cbef73e02_Select%20Quiz%20ID.png)
- Set Email Trigger Condition:
- Opt to trigger the Zap only when an email address is provided by setting this option to True. This ensures that only valid customer data with an email address is used to create customer records in Shopify, which is crucial for customer communication and record accuracy.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667c16a76a4fdd45321496a5_Email%20trigger%20condition.png)
- Test the Trigger:
- Continue and test your trigger to ensure it works correctly.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667c16f237de9c00095a0965_Test%20trigger.png)
- Review Data:
- Under the completion event, review the available data such as quiz name, ID, email, name, language, country, device information, start and completion times, selected answers, recommended products, and their URLs.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667c17175b17a1ca83407911_Completion%20Table.png)
Step 3: Set Up the Action
- Select the Action App:
- From the list of available apps, search for and select Shopify.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/66710c510509fb36e8a2dca3_Action-shopify.png)
- Choose the Event:
- Select Find Customer as the event. This allows you to find an existing customer by name or email, and optionally create a new customer if none is found.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/66710c76b500a1cbf280ed10_Action%20Event%20-%20Find%20Customer.png)
- Connect Your Shopify Store:
- Connect your Shopify store and install the Zapier app if not already installed.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667c175bacbb4ccc0cb93967_Connect%20Shopify%20store.png)
Step 4: Configure the Action
- Set Up Customer Data Fields:
- Use the first name, last name, and email fields captured from the quiz for the customer information.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667c178cacec1c3b0fc06105_Customer%20data%20fields.png)
- Specify Success Condition:
- Set the option to consider the step successful if no customer is found, enabling the creation of a new customer.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667c197e6e28cd91999af9be_Success%20condition_create%20customer.png)
- Add Customer Information:
- Use quiz data to populate the customer’s first name, last name, and country.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/66710d8a26af31c291de5405_Customer%20Info.png)
- Add Tags:
- Dynamically add tags using available quiz information such as recommended products or manually add tags like "Completed Product Finder Quiz."
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667c1a268b1b077a81dc95ae_Tags.png)
- Set Properties:
- Configure properties such as "Accepts Marketing," "Tax Exempt," or "Send Email Invite."
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667c1a41e71d0059600a0859_Properties.png)
Step 5: Test and Finalize
Click continue to test the action step and ensure all connections are successful.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667c1a5ddbe944bb2acd7d85_Test%20step.png)
Once your test is successful, give your Zap a meaningful name and publish it.
![](https://cdn.prod.website-files.com/652d7bf89ee95c1bd6484863/667c1a7e6a49062776ef80d3_Rename%20and%20Publish.png)
Thank you for following this guide. By completing these steps, you have successfully set up a Zap that creates and tags customers in your Shopify store based on quiz completion data from Lantern. For more tutorials and support, visit our website or contact our support team.