Update Shopify Customer Metafield with Yotpo Loyalty Points
Centralize loyalty data within Shopify to enable real-time personalization, improved segmentation, and easier access for teams, apps, and analytics. This template is triggered when a customer’s points change in Yotpo Loyalty. It then locates the corresponding customer in Shopify and updates a metafield with their current point balance, ensuring loyalty data remains accurate and accessible. Note, point balances are stored in an unstructured metafield within Shopify.
Trusted by 1,000+ Shopify merchants — from solo operators to scaling brands.

How it works
3 steps to start syncing Yotpo loyalty points to Shopify customer metafields automatically
Points Changed
Points Changed
Search Customer
Search Customer
Set Customer Metafield
Set Customer Metafield
Ready to start syncing Yotpo loyalty points to Shopify customer metafields automatically
Get setup in 3 minutes.
Frequently asked questions
What happens if a customer doesn't exist in Shopify?
The search step will return empty results and the workflow will fail at the metafield update step because there's no customer ID to use. This typically happens if a customer has a Yotpo loyalty account but hasn't placed a Shopify order yet. Consider adding error handling or a filter to skip metafield updates when no customer is found.
Can I customize the metafield name or namespace?
Yes, edit the "Set Customer Metafield" step and change the namespace and key fields to match your preferred naming convention. For example, you could use namespace "loyalty" and key "points_balance" which would make it accessible as customer.metafields.loyalty.points_balance in Liquid.
Will this workflow create duplicate metafields?
No, Shopify's metafield system uses namespace + key as a unique identifier. Each time the workflow runs, it updates the existing metafield value rather than creating duplicates. The customer will always have only one "custom.yotpo_loyalty_points" metafield with the most recent balance.
Make this template your own!
Customize this workflow even further:
You're in good company
"MESA has been a game changer for us. And, if you ever get stuck, their support team is always super helpful."
"It's like Zapier but exactly designed for Shopify. I have been able to complete all the workflows that I've needed."
"The MESA team has been amazing at helping us set up our automations. We would highly recommend this app!"
Ready to start syncing Yotpo loyalty points to Shopify customer metafields automatically?
7-day free trial • 3 min setup • Cancel anytime
Need help? Our automation experts will help you personalize this workflow for free. Contact support