# Tag Shopify Customers Who Purchase Specific Products  
4 min setup  
No coding required  
Runs automatically  
Easily identify and track customers who purchase particular products, such as limited editions or pre-orders, by automatically tagging them. This MESA workflow template checks each new Shopify order for a specified product and, if found, tags the customer with a custom label. Use this tag to segment customers for future marketing campaigns, product recommendations, or special offers.

## How it works

4 steps to start tagging customers when they purchase specific products

### Order Created  
**App connector:** [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)  
**Time to complete:** 0 minutes (Auto-configured)  
**Why this matters:** This trigger monitors your store for new orders and kicks off the entire workflow when a customer completes a purchase.  
This step automatically activates whenever a new order is placed in your Shopify store. No configuration is required - MESA monitors all incoming orders and captures the complete order data including customer information, line items, and purchase details. When an order comes in, this trigger passes all the order data to the next step for processing.

### Loop: Get product line items  
**App connector:** [Loop](/content/apps/loop/integrate "View Loop integration page"/index.html)  
**Time to complete:** 0 minutes (Auto-configured)  
**Why this matters:** This step examines each individual product in the order separately, ensuring that multi-item orders are properly checked for your target product.  
The Loop step processes each line item in the order one by one, extracting product details like title, SKU, and quantity for individual evaluation. This is essential because customers often buy multiple products in a single order, and you need to check each item to see if it matches your target product. The loop automatically handles orders of any size, passing each product's information to the filter step for evaluation.

### Filter: Check product title  
**App connector:** [Filter](/content/apps/filter/integrate "View Filter integration page"/index.html)  
**Time to complete:** 1 minute  
**Why this matters:** This step determines which customers qualify for tagging by checking if they purchased your specific target product.  
The Filter step compares each product title from the order against the product title you specify in the configuration. You'll need to enter the exact product title (with correct capitalization) in the "What product needs to be purchased to qualify for a customer tag?" field. For example, if you want to tag customers who buy "Premium Coffee Beans", enter that exact title. Only when there's a perfect match does the workflow continue to tag the customer.

### Customer Add Tag  
**App connector:** [Shopify](/content/apps/shopify/integrate "View Shopify integration page"/index.html)  
**Time to complete:** 1 minute  
**Why this matters:** This final step applies your chosen tag to qualifying customers, enabling you to segment and target them for future marketing or service initiatives.  
The Customer Add Tag step automatically adds your specified tag to the customer's profile in Shopify. You'll configure the "What is the tag you would like to add to the customer?" field with your desired tag name, such as "VIP Customer", "Coffee Lover", or "Premium Buyer". Once tagged, you can use Shopify's customer segmentation features to create targeted marketing campaigns, special discounts, or personalized experiences for these customers.

## Frequently asked questions

### Will this work if customers buy the product multiple times?
Yes, but the tag will only be added once per customer. Shopify automatically prevents duplicate tags, so repeat purchases of the qualifying product won't create multiple identical tags on the same customer.

### What happens if I change the product title after setting up the workflow?
The workflow will stop matching orders because it looks for the exact product title you specified during setup. You'll need to update the Filter step with the new product title to continue tagging customers.

### Can I tag customers who buy any product from a specific collection instead of one individual product?
This workflow matches exact product titles only. To tag based on collections, you'd need to modify the Filter step to check collection information rather than individual product titles, or create separate workflows for each product in the collection.

## Make this template your own!

Customize this workflow even further:
- Schedule follow-up actions
- Chain customer journey steps
- Store purchase data in tables
- Deploy AI agents for smart segmentation

## You're in good company

**Avg. App Store rating**  
4.9/5  
**Merchant reviews**  
157  
**Avg. time saved per week**  
3.5 hrs  
"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

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

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

## Ready to start tagging customers when they purchase specific products?

**7-day free trial • 4 min setup • Cancel anytime**  
[Start with this template — It's free](/content/pricing?template=shopify%2Forder%2Ftag_customer_when_specific_product_purchased&templateName=tag-shopify-customer-on-specific-product-purchase "Install and use this template in MESA - Free to use"/index.html)
