Age Defined Trigger Filter

  • 1 December 2021
  • 3 replies

Badge +2

We’ve got a virtual softball coaching product on Shopify where certain coaches cannot interact with clients older than a certain age, due to NCAA recruiting guidelines. 

If we had Shopify customers define the age of the customer at checkout , is there a way to setup a post-purchase flow in Klaviyo where all customers below a certain age receive a text invite from a certain coach and all customers over a certain age receive a text invite to another coach?



Best answer by alex.hong 2 December 2021, 01:14

View original

3 replies

Badge +2

alex, you are the man! i’ll run through all of these options! going to run a test transaction and input age to determine push. 

again, thanks! 


Userlevel 7
Badge +58

Hi @SpinDr,

Welcome to the Community!

So for the age, you can only trigger a flow from a List, Segment, Date Property, or Metric. At this time there isn't an option to segment based on age out of the box from Klaviyo. 
However, if you're collecting age information from your customers separately (i.e. via a form) and storing this info in Klaviyo, you'll be able to create segments using that information. 
With that being said, if you wish to use a "customer age" as a trigger, it would depend on how that data is being passed into Klaviyo.
You mentioned you wished to collect that information at checkout so it would probably be passed through the Placed Order metric, but we don't know for sure until a someone has Placed an Order, input their customer age, then we can take a look at the raw data and see if that information is being passed through. If it is, you can use a trigger filter to distinguish the customer's age. Likewise if the data is being passed through by Shopify Tag you can use a Flow filter to find that information.

Additionally, before the purchase point, is it possible for you to collect their birthday information and go off that? If have not already collected birthday properties from your customers, then you can gather Birthdays via Signup Form by following this guide to Create a Signup Form: Overview of the Signup Form Builder​. Alternatively, if you want to collect birthdays via an email message, you can redirect recipients to the Manage Preferences/Subscribe Page within the email message, which is where they can update their birthday. If you are sending emails via FLOW, then the Manage Preferences form is located under the Preferences Pages tab in Klaviyo. Likewise, you could also redirect recipients to a List Subscribe Page, where they input their birthday and then are submitted to a specific List. Here are the instructions you'll need to follow: Collect Birthday via Subscribe/Preference Page.

Once you have collected at least one Birthday property that is recognized as a date by Klaviyo, you can follow this guide to segment customers by age: How to Create Segments Based on Birthdays. From that segment you could make different forms.

Hope this helped!

Userlevel 7
Badge +58

Glad I could help Greg @SpinDr! Hope your setup goes well and looking forward to seeing your growth as a community member!

Have a good one!