Flow - add Custom Attribute to Customer Metafield

Flow - add Custom Attribute to Customer Metafield

petercrowe
Tourist
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)

PaulNewton
Shopify Partner
6350 582 1355

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 https://community.shopify.com/c/shopify-flow-app/bd-p/flow 

 

Use the update-customer-metafield https://help.shopify.com/en/manual/shopify-flow/reference/actions/update-customer-metafield 

 

Example flow templates 

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

https://shopify.com/admin/apps/flow/web/editor/templates/888b29d0-2ebd-4304-b94f-894d99af85d1 

"Track how often customer have gotten refund in customer metafield"  https://shopify.com/admin/apps/flow/web/editor/templates/730eb95c-1269-42d2-889c-55ad20e3dd51 

 

Good Hunting.

Save time & money ,Ask Questions The Smart Way


Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com


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

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


WhiteWater_Web
Shopify Expert
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.
info@whitewatersolutions.com