Using Shopify Flow’s “Update order metafield” to carry product data (e.g., a seller’s email) into the order and make it visible in the Admin.
Key guidance:
It’s feasible to copy a product metafield into an order via Flow. To see the metafield on orders, define it in Admin > Settings and “pin” it so it appears in the order UI.
Ensure the Flow action uses the exact metafield namespace and key. Metafields are identified by namespace/key; a mismatch can create a hidden, undefined metafield, making runs look “Succeeded” without visible results.
Troubleshooting outcome:
A user’s updates showed “Succeeded” but didn’t display on orders. Screenshots (central to the issue) were shared via external links.
After correcting namespace/key and ultimately recreating both the metafield and the Flow from scratch, updates worked as expected.
Notes and status:
“Pinning” means surfacing the defined metafield in the Admin UI for orders.
UX improvements are planned so Flow can select metafields from a list.
The thread resolved successfully; no open questions remain.
Does anyone on here have any examples they can provide on the forum for using the Update Order Metafield?
How is the Metafield displayed on the order? Is it similar to a Product’s metafield where I can see it on the bottom of the page when editing that product?
I’m trying to decide if this is useful for what I need. My store sells unique products we sell on behalf of customers that do not exceed the quantity of 1. We have their email address in a Product metafield. I am hoping I could create a Shopify Flow that would copy their email address metafield into the order. This would be useful if something is wrong with the product and I would need to contact the seller.
Yes that should be possible. I think for the metafields to show in the Admin, you need to define it in your Admin > Settings area and then “pin” it, which makes it show up in the UI.
I am trying to add text to a newly created Metafield and flow is not adding the text to that metafield after being run. Can you take a look and let me know, what needs to be edited? I am attaching a screenshot of both the Metafield from Settings and the action in Flow. There is no error when running the action. It says “Succeeded” by the action the flow history log.
It doesn’t allow image upload in this community (only csv), you can see the images here:
I made and saved those changes. A new order just came in, but it still did not populate the metafield with the text value.
I tried to simplify even more just now and deleted that metafield and created a new one with no spaces and no other characters. I also changed the flow to reflect the new metafield. A new order came in and still it did not populate the metafield.
I can’t help without more details. First, I would open the workflow run and look for errors/etc.
If there is no error, more likely with all the changes you still don’t have namespace and key set correctly (that would actually set an undefined metafield that is hidden from view).
FYI, apologies about the UX, we have changes coming to make this way better (where you can select from a list of metafields).