# Trigger Types

## Trigger Events

When a relevant event occurs, the system evaluates **all active campaigns with the same trigger** to determine if conditions are met.

<table><thead><tr><th width="255">Trigger Type</th><th>Description</th></tr></thead><tbody><tr><td><strong>Purchase Transaction</strong></td><td>Fires on a successful, member-associated purchase transaction.</td></tr><tr><td><strong>Return Transaction</strong></td><td>Fires on a successful, member-associated return linked to a prior purchase.</td></tr><tr><td><strong>Internal Event</strong></td><td>System-internal actions (e.g., tier change, member activation, profile update, achievement progress).</td></tr><tr><td><strong>Custom Event</strong></td><td>Externally pushed events via API, based on a pre-defined custom event schema.</td></tr><tr><td><strong>Achievement</strong></td><td>Fires when a member completes an achievement (e.g., "First Purchase" milestone).</td></tr><tr><td><strong>Redemption Code</strong></td><td>Fires when a generated code (coupon, QR, etc.) is redeemed by a member.</td></tr></tbody></table>

***

## Learn more about triggers

<table data-view="cards"><thead><tr><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>Purchase Transactions</strong></td><td><a href="/pages/IsdbKqY3DREzsCifF1rB">/pages/IsdbKqY3DREzsCifF1rB</a></td></tr><tr><td><strong>Return Transactions</strong></td><td><a href="/pages/tF02RJHopYvKMvWypApc">/pages/tF02RJHopYvKMvWypApc</a></td></tr><tr><td><strong>Internal Event</strong></td><td><a href="/pages/9LNylynq1TnWAU9efBvw">/pages/9LNylynq1TnWAU9efBvw</a></td></tr><tr><td><strong>Custom Event</strong></td><td><a href="/pages/-MhwU9vuj9jlFAx19huA">/pages/-MhwU9vuj9jlFAx19huA</a></td></tr><tr><td><strong>Achievement</strong></td><td><a href="/pages/3GzRr5h9LrApZKWH1p0Y">/pages/3GzRr5h9LrApZKWH1p0Y</a></td></tr><tr><td><strong>Redemption Code</strong></td><td><a href="/pages/SRo81A5dFHGeogQiRBKA">/pages/SRo81A5dFHGeogQiRBKA</a></td></tr></tbody></table>


---

# 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/main-features/campaigns/campaigns-and-referral-campaigns/creating-campaigns/trigger-types.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.
