Event-Triggered Customer Reward to Klaviyo
Automatically turn qualifying Shopify orders into unique customer rewards and send them into Klaviyo.
This Shopify Flow workflow creates a customer-specific discount when an order meets your chosen criteria, then passes the reward into Klaviyo as a custom event.
Use it to automate things like second-purchase rewards, VIP incentives, spend-threshold rewards, loyalty moments and customer thank-you offers without manually creating promo codes.
How it works
Order created
→ wait 5 minutes
→ check whether the order qualifies
→ calculate the reward expiry date
→ create a unique customer-specific Shopify discount
→ send Customer Reward Created to Klaviyo
The included workflow uses an example eligibility rule of:
Order total > 100
You can replace this with your own Shopify Flow condition.
What the reward does
The default workflow creates:
- a unique reward code;
- 10% off;
- a 30-day expiry window;
- one redemption only;
- customer-specific eligibility.
Example code:
REWARD-12345678-1042
The discount is restricted to the customer associated with the qualifying order.
Klaviyo data created
The workflow sends the custom event:
Customer Reward Created
with event properties including:
reward_typediscount_codereward_valuereward_expires_atreward_sourceorder_number
It can also update profile properties such as:
has_received_customer_rewardlast_reward_created_atlast_reward_expires_at
What you can use this for
- second-order incentives;
- high-value order rewards;
- VIP customer rewards;
- loyalty milestones;
- customer thank-you offers;
- product-purchase incentives;
- retention offers;
- reactivation rewards.
What’s included
Brutish – Event-Triggered Rewards to Klaviyo.flow
Import the workflow into Shopify Flow, configure your own reward criteria and Klaviyo account details, test and activate.
Built for
Shopify + Shopify Flow + Klaviyo
Setup required
After importing the workflow, you’ll need to:
- Add your Klaviyo Public API Key / Site ID.
- Review or replace the reward eligibility condition.
- Set your preferred reward percentage.
- Review the reward expiry period.
- Test the generated discount in Shopify.
- Confirm the
Customer Reward Createdevent reaches Klaviyo. - Activate the workflow.
The supplied version uses:
- order total greater than 100;
- 10% reward;
- 30-day expiry.
These values are intended to be edited for your own programme.
Important
This workflow uses Shopify's Admin API to create customer-specific discount codes.
Always test the workflow in your own store before using it in production.
If your reward logic is more complex, for example VIP tiers, specific product gifts, customer metafields or multi-step eligibility, you may need a custom implementation.
Need a custom setup?
Brutish builds Shopify → Klaviyo automations, lifecycle systems and customer-data integrations for ecommerce brands.
If your reward logic is more complex than the supplied workflow, we can build it for you.
Proceed to checkout and you will be able to download the Retention Guide from there.