Tag Shopify Orders by Line Item Properties

6 min setup
No coding required
Runs automatically

Easily organize custom orders by tagging them based on specific line item properties. Perfect for products that require personalization—such as engraving or add-ons—this MESA workflow template automatically applies tags to orders with unique requirements. Grouping these orders improves visibility, streamlines fulfillment, and reduces the risk of errors, allowing you to efficiently manage custom inventory and fulfill orders accurately.

Shopify logo icon
Connect your Shopify order trigger
Define which property to check
Set the property value condition
Shopify logo icon
Choose your order tag

Trusted by 1,000+ Shopify merchants — from solo operators to scaling brands.

Logo: GLDN Logo: MUD/WTR Logo: Bartesian Logo: Allure Logo: Made In Cookware

How it works

4 steps to tag orders containing products with specific line item properties

Shopify logo icon

Connect your Shopify order trigger

App connector: Shopify • Time to complete: 1 minute
Why this matters: This monitors every new order to detect products with custom properties like engraving text, gift messages, or special options that require different handling.

When a customer completes checkout, this trigger captures the entire order including all line items and their associated properties.

Define which property to check

App connector: Loop • Time to complete: 2 minutes
Why this matters: This tells the workflow which line item property name to look for.

Line item properties are key-value pairs that Shopify stores with products (like "Engraving": "Happy Birthday" or "Gift Wrap": "Yes"). You'll specify the exact property name the workflow should search for across all line items.

Property names are case-sensitive and must match exactly.

Set the property value condition

App connector: Filter • Time to complete: 2 minutes
Why this matters: This allows you to differentiate between different customization options or filter for specific choices.

Beyond just checking if a property exists, you can specify what value it should contain. For example, only tag orders where "Gift Wrap" equals "Premium" or "Rush Production" equals "Yes".

Shopify logo icon

Choose your order tag

App connector: Shopify • Time to complete: 1 minute
Why this matters: This helps you quickly identify orders needing special attention, separate fulfillment, or expedited processing.

When an order contains a line item with the matching property name and value, the workflow automatically applies your specified tag. Choose a descriptive tag name that clearly indicates what makes this order unique.

Ready to tag orders containing products with specific line item properties

Get setup in 6 minutes.

Try this template →

Frequently asked questions

Will this work with line item properties from any Shopify app or custom code?

Yes, as long as the customizations are stored as Shopify line item properties (not metafields or order notes), this workflow can detect and tag based on them. This includes properties from apps like Infinite Options, Product Customizer, or custom theme code that adds properties to cart items.

What happens if a customer orders multiple products with the same property but different values?

The workflow loops through each line item and its properties individually, so if one item has "Engraving: Yes" and another has "Engraving: No," only the "Yes" item will trigger the tagging (assuming that's your filter value). However, since tags are applied at the order level, not the line item level, the entire order gets tagged when any item matches.

Can I check for the presence of a property regardless of its value?

The current workflow requires both a property name AND a specific value match. If you want to tag any order that has a property (regardless of value), you can modify the workflow to remove Step 5 (the value filter) and just check for the property name's existence. Alternatively, you could set the value filter to "is not empty" instead of checking for a specific value.

Make this template your own!

Customize this workflow even further:

Tag with the actual property value
Instead of applying a static tag like "custom", use the actual value from the line item property as the tag. For example, if the property is "Priority" with value "Rush", tag the order with "Rush".
Check multiple properties with different tags
Duplicate the filter and tagging steps to check for multiple property names and apply different tags for each. This allows a single workflow to handle all your custom product scenarios.
Notify fulfillment team about custom orders
Add a Slack or email notification after tagging to alert your production or fulfillment team immediately when a custom order arrives. This reduces turnaround time for personalized products and prevents customization details from being overlooked.
Log custom orders to a tracking spreadsheet
Add a Google Sheets step after tagging to create a spreadsheet row. This builds a searchable database of all custom orders for quality control, production planning, or analyzing which customizations are most popular with customers.

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

Ready to tag orders containing products with specific line item properties?

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

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