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.

Shopify logo icon
Order Created
Loop: Get product line items
Filter: Check product title
Shopify logo icon
Customer Add Tag

You're in good company

"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
PetFriendly

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

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Zailys

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

  • Ico star
  • Ico star
  • Ico star
  • Ico star
  • Ico star
Rothy's

How it works

4 steps to start tagging customers when they purchase specific products

Shopify logo icon

Order Created

App connector: Shopify • 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 • 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 • 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.

Shopify logo icon

Customer Add Tag

App connector: Shopify • 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.

Ready to set this up? It only takes 4 minutes.

Our support team will even help you personalize this workflow for free.

Get started →

Make it your own!

Customize this workflow even further:

Schedule follow-up actions
Add time delays to send targeted emails or SMS messages days or weeks after the qualifying purchase, creating ongoing engagement campaigns.
Chain customer journey steps
Connect multiple actions like adding the customer to a VIP email list, creating a discount code, and notifying your team about high-value customers simultaneously.
Store purchase data in tables
Save detailed purchase histories, customer preferences, and buying patterns in custom databases for advanced reporting and personalized recommendations.
Deploy AI agents for smart segmentation
Let AI evaluate purchase behavior, order values, and customer data to automatically assign dynamic tags and customer tiers based on complex business rules.

Common questions

Will this work if customers buy the product multiple times?

What happens if I change the product title after setting up the workflow?

Can I tag customers who buy any product from a specific collection instead of one individual product?

Ready to start tagging customers when they purchase specific products?

7-day free trial • 4 min setup • Cancel anytime

Need help? Our automation experts will help you personalize this workflow for free. Contact support