Klaviyo Sync
If you run your marketing in Klaviyo, Weave can send each member's loyalty moments there as events on their Klaviyo profile, with their balances and tiers as profile properties. You build flows and segments in Klaviyo on loyalty data without writing a receiver.
For example, a coffee chain triggers a Klaviyo flow on Loyalty Tier Achieved to send a Gold welcome email, and builds a segment of members whose loyalty_balance is over 1,000 points.
What Weave sends
Each moment becomes one Klaviyo event, named by its metric:
| Klaviyo metric | Weave event type | Event properties |
|---|---|---|
| Loyalty Points Earned | program.bank.program.currency.issued | points, currency_code |
| Loyalty Points Redeemed | program.bank.program.currency.withdrawn | points, currency_code |
| Loyalty Tier Achieved | customer.tier.issued | tier_code, tier_name |
| Loyalty Reward Issued | customer.coupon.issued | coupon_code, offer_code, offer_name |
| Loyalty Badge Earned | customer.badge.issued | badge_code, badge_name |
Every event also carries loyalty_event_id.
Weave matches the member's Klaviyo profile by external_id (the Weave customer ID), plus their email and phone number when they have them. It sets these profile properties, read at the moment each event is sent:
| Profile property | Value |
|---|---|
loyalty_member_id | The Weave customer ID. |
loyalty_balance | The member's balances. |
loyalty_tier | The member's tiers. |
loyalty_programs | The programs the member belongs to. |
Weave never sends a member who has been erased or who withdrew email marketing consent, including a retry queued before they did.
Create a Klaviyo key
In Klaviyo, create a private API key with:
- read access to Accounts
- write access to Events and Profiles
Connect it
Create a webhook endpoint with the KLAVIYO connector and the key as its credential. There's no URL to send, because Weave knows where Klaviyo is.
curl -X POST https://api.loomloyalty.com/webhooks/endpoints \
-H "Authorization: Bearer $LOOM_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"endpointType": "CLIENT",
"connectorKind": "KLAVIYO",
"credential": "YOUR_KLAVIYO_PRIVATE_KEY",
"description": "Klaviyo",
"filterTypes": [
"program.bank.program.currency.issued",
"program.bank.program.currency.withdrawn",
"customer.tier.issued",
"customer.coupon.issued",
"customer.badge.issued"
]
}'
Choose the moments to send in filterTypes. A Klaviyo endpoint takes only the five event types above.
Weave reads your Klaviyo account once to check the key before it saves anything. The key is never shown again, so the endpoint has no signing secret to read or rotate. To replace the key, update the endpoint with a new credential.
| Error code | Meaning |
|---|---|
WEBHOOK_KLAVIYO_KEY_REJECTED | Klaviyo didn't accept the key. Nothing was saved. Check the key's access and try again. |
WEBHOOK_KLAVIYO_UNAVAILABLE | Klaviyo didn't answer the key check. Nothing was saved. Retry later. |
WEBHOOK_KLAVIYO_EVENT_TYPE_NOT_SUPPORTED | filterTypes names an event type Klaviyo doesn't receive. |
Test it
Send a test message from the endpoint (POST /webhooks/endpoints/{endpointId}/test-messages, or Developers, then Webhooks in the Dashboard). It lands in Klaviyo as Loyalty Test Event on a profile with the external ID loom-loyalty-test-profile, never on a real member.
Deliveries
Deliveries show in the Dashboard under Developers, then Webhooks, like any other endpoint. Weave retries when Klaviyo is busy or down. If Klaviyo later refuses the key, for example because it was revoked, Weave turns the endpoint off at once. Create a new key and update the endpoint.