Skip to main content

Integration guides

Four of the five connections run over the same API β€” the Streaming API β€” and what changes is the purpose of each call, not the technology. The fifth does not use the API at all. Each one has its own guide here.

This is where the implementation detail lives: the calls, the payloads, the failure paths, the exit criteria. If you are still deciding how to connect rather than what to build, start with Designing the integration instead.

The five connections​

ConnectionPurposeTypical systemsDirection
DataLoad company and customer data into Loyal GuruERP, CRM, data warehouse, e-commerce backofficeInto Loyal Guru β€” API or scheduled files
Loyalty Management & Promotional EngineEvaluate the cart at checkout and return the benefits to applyPOS, e-commerce, self-checkoutBoth ways, in real time
Embedded LoyaltyRead loyalty data and show it to the CustomerApp, web, kioskYour systems read
WebhooksPush loyalty events out to your systems as they happenCDP, CRM, marketing automationOutbound β€” Loyal Guru calls you
BI and Data LakeRead loyalty data for reporting and data lake synchronisationBI tools, data lake, data warehouseYour systems read β€” outside the API

All four of those run on the Streaming API, and Data is the only one with a second option: the same data can arrive as scheduled files instead of real-time requests, with layouts, drop location and frequency defined during technical onboarding. The remaining two are not calls your systems make to the API β€” Webhooks run the opposite way, you expose the endpoint and Loyal Guru calls it, and BI and Data Lake does not go through the API at all: it is read-only access to the data layer.

What each guide covers​

Data is the foundation β€” campaigns cannot be evaluated against customers and products that do not exist yet. It is the inbound connection, and it splits in two: Company Data (the catalogue and its classification, locations, and the carts that record what was sold) and Customer Data (the customer base β€” identity scenarios, enrollment and profile maintenance, merges, households, associations and cards β€” plus custom events).

Loyalty Management & Promotional Engine covers the checkout runtime. It opens with the decision that shapes everything else β€” whether Loyal Guru calculates the discount or your POS does β€” and then goes into the end-to-end checkout flow, the Promo Engine and Coupon Server models and how to interpret rules when your system calculates.

Embedded Loyalty covers everything the Customer sees: points, tier, challenge progress, games and redeemable rewards. Two modalities: call the API and build your own screens, or embed our white-label screens in a WebView. It includes Challenges, Games and the WL App SDK.

Webhooks covers the outbound channel: creating connectors, destination requirements, JWT authentication, the available event catalog, payload groups, delivery logs and a troubleshooting section. Use it when a downstream system needs to react to loyalty events without polling.

BI and Data Lake covers the analytical channel: read-only access to the data layer for BI tooling and data lake synchronisation, when to use it instead of the API, and what has to be agreed β€” scope, personal data, least privilege, query cost, refresh expectations β€” before the access is opened.

The order they get built​

The table above is the usual implementation order, and for the first four it is a dependency rather than a convention: Data comes first because the other connections read the state it creates. Loyalty Management & Promotional Engine is normally next, because it is where the program becomes visible at the point of sale.

BI and Data Lake sits outside that chain. Nothing waits for it, and it is normally opened once there is data worth reporting on β€” but the agreements it needs, particularly around personal data, are worth starting early.

The Integration checklist covers the full sequence, with the exit criteria for each phase.

What is not in this section​

Looking forGo to
Direct or mediated calls, failure behaviour, flow specificationDesigning the integration
The project sequence and its dependenciesIntegration checklist
Request and response schemas, headers, status codesAPI Reference
A first working call, in a few minutesQuickstart

Creating campaigns, building audiences and setting up rewards happens in the Owner App, not through these integrations. What you build here is the runtime around that configuration.