Webhooks & CRM Sync
Choosing which Open Loyalty events to subscribe to, receiving webhooks reliably, and keeping CRM and marketing automation in step with the programme.
Webhooks are how Open Loyalty tells your other systems what happened: a member registered, earned, redeemed, changed tier. CRM and marketing automation use them to keep a copy of loyalty data and to trigger messages. This page covers which events to subscribe to and how to receive them reliably.
For the Admin Panel side, see Webhook configuration and HMAC. For developer background, see the Developer Guide's webhooks overview.
Who does what
Admin Panel / API
Webhook subscriptions per event, endpoint URL or SQS queue, HMAC signing, custom headers — set up in each environment
Integration layer
A fast, always-on endpoint that verifies, queues and acknowledges; workers that deduplicate and update downstream systems
CRM / marketing automation
Stores loyalty attributes on the contact and runs journeys (welcome, earn and burn messages, expiry reminders, tier changes)
Which events to subscribe to
Subscribe only to what a downstream system uses. Every event is listed in What triggers a webhook.
Keep the contact's loyalty profile in CRM
CustomerRegistered, CustomerUpdated, CustomerDeactivated
Keep the balance in CRM
WalletBalanceUpdated
Earn messages ("You earned 50 points for…")
CampaignEffectWasApplied
Redemption messages and vouchers with codes
CustomerBoughtReward, RewardRedemptionStatusChanged
Expiry reminders
PointsWillExpire, CouponWillExpire — see Expiring notifications
Tier messages
CustomerLevelChanged, LevelWillExpire
Mission progress
MemberChallengeProgressWasChanged
Purchase confirmations
TransactionRegistered, TransactionAssignedToCustomer
Refresh cached configuration
CampaignCreated, CampaignUpdated, RewardCreated, RewardUpdated
Design decisions
Delivery target
HTTPS endpoint, or AWS SQS
SQS if you're on AWS — the queue absorbs bursts and outages. Otherwise an HTTPS endpoint that only verifies and queues.
Event payload or a fresh read
Use the webhook data, or read the current state from the API
Use the payload for messages about the event itself; read the API when you need the full, current state (e.g. the whole profile).
One endpoint or many
One endpoint for all events, or one per event
One endpoint with routing by eventName is simpler to secure and monitor.
Real-time or batch in CRM
Write each event, or collect and load daily
Real-time for balances and transactional messages; batches are fine for journeys that run daily.
Recommended flow
Receive
Verify the HMAC signature and reject anything that fails. Put the payload on a queue and answer 2xx straight away — do the real work afterwards.
Process
Webhooks are sent asynchronously. A request that times out or doesn't get a 2xx is retried a few times and then dropped, and deliveries can repeat or arrive out of order. So in the worker: skip a messageId you've already processed, and when order matters, compare createdAt or read the current state from the API.
Sequence diagram

Go-live checklist
Admin Panel / API
Integration layer
CRM / marketing automation
Validation
Key endpoints
POST /api/{storeCode}/webhook/subscription— Subscribe to a webhookGET /api/{storeCode}/webhook/subscription— Get webhook subscriptions list
Webhook events: each event's payload is in the API docs under Webhook event — e.g. WalletBalanceUpdated, CampaignEffectWasApplied, CustomerBoughtReward.
Last updated
Was this helpful?

