Klaviyo
1
Create a private API key
In Klaviyo, create a private API key with events:write.
2
Connect Habit
Paste the key into Klaviyo private API key and click Connect Klaviyo. The key is stored encrypted and is never shown again.
3
Build flows
Use these metrics in Klaviyo:
- Habit: Points Earned
- Habit: Tier Upgraded
- Habit: Referral Sent
- Habit: Referral Welcome Bonus
- Habit: Points Redeemed
- Habit: Points Expiring Soon
- Habit: Points Expired
Optional webhook
If Klaviyo is not connected, Habit POSTs JSON to Optional notification webhook URL. The body includeseventName, customerEmail, and properties.
The webhook is a fallback. It is not used while Klaviyo is connected.