Set A Shopify Order Metafield From Line Item Properties

This workflow allows you to transfer line item properties, such as those for customized products, into order metafields, creating a cleaner and more organized backend workflow. Simplify your data management and enhance the efficiency of your order processing by consolidating custom properties into easily accessible order metafields. Streamline your operations and maintain a tidy backend with this effective automation solution.

Watch the demo

Workflow option 1: Single line item property

If there’s just a single line item property you care about out of potentially multiple line item properties, this workflow includes a custom code step that will make it a little easier to just grab a single property at a time:

workflow steps for a single Line Item Property

And then here’s what your set metafield step will look like:

shopify metafield step

Workflow option 2: Loop over all line item properties

If you have a bunch of line item properties and want to set all or many of them as order metafields, here’s an easier way to do that:

workflow steps: Loop over all line item properties

And you could, of course, combine that with a filter to include or exclude specific properties as well.

Questions about this workflow demo? Contact:

Kalen Jordan

MESA Service Partner

What you should do next

Whenever you’re ready…follow these 4 simple steps to get started:

  1. Add MESA to your Shopify store. The best way to get started is by adding the MESA app from the Shopify App store. Every plan includes the first 7-days free so you can be assured your workflow is running properly.
  2. Questions? Contact Kalen Jordan. MESA Service Partners can help personalize workflows or make any automations your business requires.
  3. If you know another merchant who’d enjoy reading this, share it with them via LinkedIn, YouTube, Twitter, or Facebook.

Automate anything and get more from your apps.
For free.

Start free trial
background: abstract lines

Automate everything with MESA

Make any workflow and get more from your existing apps.

Try MESA for free, 7-day trial included.