# Integration Examples

Integrating Open Loyalty with your existing systems can be a powerful way to enhance customer engagement, streamline processes, and create a seamless loyalty experience. To help developers and technical teams, we’ve compiled a series of practical integration examples that demonstrate how to connect Open Loyalty with various platforms and tools.

These examples cover a wide range of use cases, including API-driven workflows, webhook configurations, and event-driven architectures. By exploring these scenarios, you’ll gain valuable insights into how Open Loyalty can be customized to fit your business needs and technical environment.

### API Integration Example

* **Scenario:** An e-commerce platform wants to integrate Open Loyalty to manage its customer loyalty program using a middleware layer for API orchestration.
* **Middleware Layer:** The e-commerce platform introduces a middleware layer that handles API orchestration, decoupling the e-commerce system from the Open Loyalty API.

{% stepper %}
{% step %}
When a customer makes a purchase, the e-commerce platform sends a request to the middleware, which then communicates with Open Loyalty's API to add points based on the transaction value.
{% endstep %}

{% step %}
The middleware retrieves customer loyalty data from Open Loyalty's API and processes\
it before passing it to the e-commerce platform to display rewards, tiers, and available points on the user's profile.
{% endstep %}

{% step %}
The middleware periodically sends\
API requests to update customer tiers or trigger special campaigns based on customer behavior, keeping the e-commerce platform informed of any updates.
{% endstep %}
{% endstepper %}

<figure><img src="/files/MwddbW1JjPh0wiSQai8j" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.openloyalty.io/technical-guide/integration/integration-examples.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
