Skip to main content

BI and Data Lake

The other four connections exist to run the loyalty program: they load data in, evaluate the cart at checkout, feed your frontends and push events out. None of them is a good way to answer how did the campaign perform across the estate last quarter β€” that is an analytical question, and pulling it through a transactional API means paginating volumes the API was never shaped for.

For that, Loyal Guru offers read-only access to the data layer, so your BI tools and your data lake can read loyalty data directly.

This is the one connection that does not go through the Streaming API, and the one that never sits on the path of a sale.

The four runtime API connections and the separate read-only analytical channel

This guide is a single page. Most of the work in this connection is agreement rather than code, and the sections follow that order β€” decide whether the question belongs here, settle the scope and the personal data handling, then request the access:

SectionWhat it covers
Who this is forThe system types that consume this connection, and what each does with it.
When to use itWhich questions belong here and which belong to one of the other four connections.
What it gives youThe access itself, in practical terms.
What to agree before you use it Β· How to request itScope, personal data, least privilege, cost and freshness β€” the decisions the provisioning conversation needs, and who to ask.
Where it sits in the projectWhen to open it relative to the rest of the integration, and what to start early anyway.
TroubleshootingThe reconciliation questions that come up once the first dashboards exist.

Who this is for​

System typeWhat it does with this connection
BI toolingQueries loyalty data directly to build reports and dashboards
Data warehouseKeeps loyalty data alongside sales, stock and CRM data for combined analysis
Data lakeIngests loyalty data on a schedule for downstream analytical use

Most of the effort in this connection is agreement rather than code: scope, personal data handling and access control take longer to settle than the queries take to write.

When to use it​

Each connection answers a different kind of question. This one answers the analytical ones.

You needUseWhy
An answer during the saleLoyalty Management & Promotional EngineMilliseconds matter, volumes are small
To load data into Loyal GuruDataThis channel is read-only
To show loyalty data to a CustomerEmbedded LoyaltyOne Customer at a time, in real time
To react to something as it happensWebhooksPush, not poll
To analyse history, or feed a data lakeDirect data layer accessVolume and aggregation, without paginating an API

The distinction that matters: this is an analytical channel, not a runtime one. It is not a substitute for an API call at the checkout, and it should never sit on the critical path of a sale.

What it gives you​

  • Read-only access to loyalty data for reporting and analysis
  • A path to synchronise Loyal Guru data into your own data warehouse or data lake
  • Query-level access from the BI tooling you already use, rather than an export you have to schedule and parse

What to agree before you use it​

Direct access to a data layer is a governance decision as much as a technical one. Settle these before the access is opened, not after the first dashboard is built:

TopicWhat to decide
ScopeWhich data the access covers, and which it deliberately does not
Personal dataHow Customer personal data is handled, masked or excluded, and under which legal basis
Least privilegeWhich named accounts hold the access, and how it is revoked
Query costWho owns the cost of the queries, and whether there are limits
Refresh expectationsHow current the data is, so dashboards do not imply a freshness they do not have
Contractual termsAvailability and support expectations for an analytical channel differ from those of the API

How to request it​

This access is provisioned per Company. Ask your account manager or the Loyal Guru integration team, with the scope and the intended use β€” the answers to the table above are what the provisioning conversation needs.

Where it sits in the project​

This connection is not part of the dependency chain that governs the other four. Nothing downstream waits for it, and it is normally opened once the data it is meant to report on exists β€” after the Data load is stable and the program is live, or close to it.

Two things are worth starting early anyway, because both are slow to resolve and neither depends on the integration being finished: the personal data question with whoever owns it on your side, and the scope of the access.

Troubleshooting​

SymptomLikely causeWhat to check
Figures do not match what the Owner App showsDifferent date range, Company scope or metric definition, or the reporting lag agreed at provisioningCompare the filters applied on both sides before assuming a data problem, and check the refresh expectation that was agreed
A field you expected is not availableIt falls outside the agreed scope, or it is personal data that was deliberately excludedThe scope agreed at provisioning; extending it is a new conversation, not a query change
Recent activity is missingThe access reflects the agreed refresh cadence, not the runtime stateWhether the question actually needs real time β€” if it does, it belongs to one of the other four connections
Queries are slow or unexpectedly expensiveWide scans without date or Company filtersAggregate and filter at the source rather than pulling raw volume into the BI tool
Access stopped workingCredential rotation, or a named account that was revokedThe account owner on your side, then the Loyal Guru integration team
  • Data β€” loading data into Loyal Guru, the inbound counterpart to this connection
  • Integration model β€” choosing the right channel per flow
  • Integration checklist β€” where this sits in the project sequence

This is the one connection that does not go through the Streaming API: there is no endpoint to call and no schema to map. The reference below is here for the boundary β€” when a question needs the runtime state rather than the analytical layer, it stops being a query and becomes an API call in one of the other four connections.