Solved

How do I add a custom field in the profile of each customer that makes a purchase?

  • 9 March 2021
  • 3 replies
  • 172 views

Badge

Hi, I would like to add a custom field in the profile of each customer that purchase.

For example, if he buys a top then categorize this customer with a custom field that says "top".

If he buys a legging, then categorize this customer with a custom field that classify as come from “legging” colecction. 

Same for sizes. If he buys a XS, then a custom field that categorize this customer with a custom field that says XS. 

I use shopify plus. 

icon

Best answer by retention 9 March 2021, 21:01

View original

3 replies

Userlevel 7
Badge +5

@jorgehostalet - One approach is to use the “Update Profile Property Action” in a Flow.  It seems a bit unconventional, but you can have a Flow that doesn’t send any emails! 

Here’s how I would do it: 

Setup a Flow based on an “Ordered Product” event and then do a “Trigger Split” based on the Collection(s) of the product.  Then, for each “Collection” path, use the “Update Profile Property” action and set the Custom Profile Property to a specified field name and value. 

Here’s an example, where I check if the product is from the collection “Accessories” and set a profile property called “skin_tone” to “fair.”  Of course, you would use something like “legging” to “XS” etc.

 

You can continue to add additional Trigger Splits for each of your Collections and what field name and value you want to set. Notice, this Flow does NOT send any emails! 

Hope this helps!

 

Here’s some additional Klaviyo Documentation that might be helpful!

How to Add an Update Profile Property Action to a Flow

Badge

Okey it works but for size I think is different. How can I set up a trigger split like: If he has purchased an item with size XS, create property: Size - XS

Can you help me with that?

 

 

Userlevel 7
Badge +5

@jorgehostalet - You can create another “Utility Flow” like the one above except that it splits based on the variant of the Size field instead of the “Collection” like my example above.

Reply