Re: Flow - add Custom Attribute to Customer Metafield

Flow - add Custom Attribute to Customer Metafield

6 0 4

I am trying to use Shopify Flow to add details from an Order to the Custom Attribute connected to the Customer.


I can get Flow to do the following:
 - Start when order created
 - Check if Custom Attribute, then


I'm stumped at how to get the Custom Attribute to be added to the Customer.


The Metafield details are:
Name: School
Namespace and key: global.School
Single line text with no validations.


What values should I add for each of the following: Metafield namespace, Key & Value?


Many thanks

Replies 2 (2)

Shopify Partner
6360 583 1357

Refer to existing premade flow templates when hitting roadblocks there's one that use metafields , and one that deal with attributes , to have a hands on examples of using metafields and attributes.


Also dig into the dedicated flow forum 


Use the update-customer-metafield 


Example flow templates 

And "Using customAttributes (aka line item properties) in conditions and actions" 

"Track how often customer have gotten refund in customer metafield" 


Good Hunting.

Save time & money ,Ask Questions The Smart Way

Confused? Busy? Get the solution you need

Problem Solved? ✔Accept and Like solutions to help future merchants

Answers powered by coffee Buy Paul a Coffee for more answers or donate to

Shopify Partner
461 17 42

Hi there, did you find a way to do this using Flow? We have done this before but not using a Flow - we created a custom/private app instead.


Let us know, thanks.


WhiteWater Web

A certified Shopify Partner and Expert, WhiteWater Web (WWW) is a premium digital solutions company specializing in advanced Shopify Dev, Usability/Design, and Online Strategy. WWW has been working with the Shopify platform since 2006.