Skip to content

Entities, events & scheduled tasks

Reference for the data Reward Engine stores, the business events it emits to Flow Builder, and the background tasks it runs. For the global settings, see the configuration reference.

Entities

EntityIn the UIPurpose
Reward rule (ssd_reward_promo_rule)Ways to earnA rule that grants points or a reward when its trigger and conditions match. Translatable; linked to Rule Builder conditions.
Spend rule (ssd_reward_spend_rule)Ways to redeemA rule that lets customers convert points into value. Translatable; linked to Rule Builder conditions.
Loyalty accountCustomer loyalty tabA customer's points balance and standing.
Point activityPoint ActivityThe ledger of individual point movements (earn, redeem, adjust, expire, refund).
Reward log(audit)The refund-safe record of rewards granted, used to reverse points on refunds.
Referral linkA customer's unique referral code/link.
Referral redemptionA record of a friend using a referral link.

Business events (Flow Builder)

These appear under Settings → Flow Builder as triggers, grouped under Reward Engine. Use them to send emails or run any Flow action.

EventFires when
Reward earnedA customer earns a reward from a rule.
Voucher issuedA voucher is issued to a customer.
Points credited from refundA refund reverses previously granted points.
Admin notified customer of adjustmentA manual point adjustment notifies the customer.
Points expiredA point lot reaches its expiry date.
Points expiring soonA point lot is within the configured warning lead time.
Referral – Friend joinedA referred friend creates an account.
Referral – Friend's first orderA referred friend completes their first order.

Scheduled tasks

Run by Shopware's scheduler — ensure a scheduled_task:run worker is active in production.

TaskPurpose
Expire pointsExpires due point lots and records the movement.
Points expiry warningEmits Points expiring soon for lots within the warning lead time.
BirthdayTriggers birthday rewards.
AnniversaryTriggers anniversary rewards.
Abandoned cartTriggers abandoned-cart rewards.

Logging

The plugin writes to a dedicated daily-rotating log channel ssd_reward_engine (file var/log/ssd_reward_engine-YYYY-MM-DD.log, 14 days retained) instead of the main Shopware log. Customer PII is never logged — only IDs, amounts, counts, and decision reasons.

Your Vision. Signed, Sealed, Delivered.