In Shopify you can create segments that automatically add or remove customers based on the segment rule.
easyPoints allows defining point balance and expiration as individual metafields, so by using those as segment rules, you can set up segments based on the point information.
1. Applying customer's point information into metafields
You must first define the point related metafields. Check the following page for instructions.
> Applying customer's point information into metafields
2. Create a segment
Access the "Segments" section in the Shopify customer admin, and then create a new one.
Set "metafields.loyalty.expires_at", or "metafields.loyalty.balance" and what ever amount as the segment rule.
e.g.:
metafields.loyalty.expires_at <= +60d
→ Customers that will have their points expired in the next 60 days
metafields.loyalty.balance >= 1000
→ Customers that have 1000 points or more
After creating a segment, you can use them in analytics, flows, and more.