Creating loyalty notifications
You can create notifications for each of your loyalty programs. When you create a notification, it is automatically activated.
To create a loyalty notification:
-
In Loyalty, select the loyalty program for which you want to create a notification.
-
On the left-side menu of the loyalty program, click Notifications.
-
Click Create Notification.
-
In the Create Notification drawer, select the type of notification to create.
tipTier upgrade, Tier downgrade, and Upcoming tier downgrade are nested inside Tier-related changes.
-
In Notification name, type a name for the notification.
-
For Added/deducted points only:
In the Notification sources section, specify which sources should trigger a notification:
- All: Notify when loyalty points are added or deducted from all sources.
- Campaign Manager: Notify only when points are manually added or manually deducted in the customer profile.
- Management API: Notify only when one of the following endpoints is called:
- Rule Engine: Notify only when points are added or deducted as the result of a reward effect.
-
For Expiring points and Upcoming tier downgrade only:
In the Schedule section, specify how long before these events you want to trigger alerts:
- Amount: Number of days or weeks.
- Period: Days or weeks.
noteOn the scheduled trigger day, requests are sent at 00:00 hours UTC.
-
For Pending points only:
noteThese notifications are sent daily at 00:00 hours UTC only when there are loyalty points becoming active in the following 24 hours. You cannot change this schedule.
-
In the Request section, specify the details of the webhook request:
- Verb indicates the HTTP request method:
POST
. - In URL, type the URL where you want to receive notifications.
- (Optional) In Header, type a custom header that describes the request.
- (Optional) Click Add header for each additional header value required by the receiving party, and enter the corresponding headers.
- Verb indicates the HTTP request method:
-
In the Payload preview section:
- If the Batching option is available, choose whether you want to leave it enabled or disable it.
- Review the request payload. See the notification schemas.
-
(Optional) To validate the URL and headers you entered by sending a test request, click Test Notification.
-
Click Create Notification.
The notification is created, and it is activated by default.