Campaigns
Designing the earning rules of a programme as campaigns — triggers, conditions, limits and effects — including welcome, birthday and other lifecycle rewards, and showing members how to earn.
Campaigns are the programme's rules: when something happens (a trigger), if it qualifies (conditions), how often (limits), then what the member gets (effects). The integration sends facts — transactions, custom events, profile changes — and campaigns turn them into points, rewards, badges and spins.
For the Admin Panel side, see Campaigns, Creating campaigns and Automation campaigns. Multi-step goals are covered in Challenges & missions; referral programmes in Referrals.

Who does what
Programme / marketing team
Defines the rules, rewards and budgets; configures and simulates campaigns in the Admin Panel
Integration layer
Sends the facts campaigns need (transactions, custom events with the right attributes, profile changes) — no reward logic of its own
Website / app
Shows "ways to earn" from the campaign lists and the member's results from wallet and history
CRM / marketing automation
Sends earn messages from CampaignEffectWasApplied
Design decisions
Where rules live
Campaigns in Open Loyalty, or code in the integration layer
Campaigns. Marketing can change them without a release, and simulation covers them.
Who a campaign applies to
Conditions, segments, tiers, or member labels
Segments and tiers for audiences that change over time; labels for flags your systems set (opt-ins, brand, migrated).
Trigger for lifecycle rewards
Internal events, automation (time) campaigns, or custom events
Welcome on Member Was Activated; birthday and anniversary as automations; anything your systems decide (newsletter opt-in) as a custom event.
Automation budget
One automation per reward and brand
Only active automation campaigns count towards the tenant's limit, and it's checked on activation. Combine rewards into fewer automations with several rules, rather than one automation per brand and reward.
Limits
None, per member, per campaign, per period
Every campaign on a repeatable action has a per-member limit; costly campaigns also have a global budget. Product promotions with a high reward get a per-rule limit (e.g. 5 pieces of each SKU per member).
Overlapping rules in one campaign
Rewards add up (Sum all), or the first matching rule wins (Priority wins)
Decide per transaction campaign. For "special price for one product inside a category offer", use Priority wins with the product rule above the category rule — see Rule Limits and Rule Resolution.
Content for front ends
Hard-coded in the channel, or stored on the campaign
Store display data (image URL, call to action) in campaign custom attributes, so new campaigns need no release.
Lifecycle rewards

Welcome
Internal event Member Was Activated
Not a migrated member (e.g. label migrated ≠ true); once per member
Birthday
Automation, birthday
Once per member per calendar year; needs birthDate on the profile
Membership anniversary
Automation, registration anniversary
Once per member per calendar year; uses registeredAt (keep the original date when migrating)
Tenure milestone (30, 90, 365 days…)
Daily automation with the Days since registration condition
Equals N days (0–7305); completions per member = 1. Forward-only — members past N at activation aren't rewarded. See Creating automations.
Later opt-in (second brand, marketing consent)
Internal event Member Profile Details Updated
Member has the opt-in label; reward not given before
Recommended flow
Configure and simulate
Build the campaigns on staging and run them through campaign simulation (Admin Panel, or POST /api/{storeCode}/campaign/simulate) with realistic baskets and members, before any test traffic.
Show members how to earn
List campaigns for the member with GET /api/{storeCode}/member/{member}/campaign/visible (what the member may see) or GET /api/{storeCode}/member/{member}/campaign (active campaigns, with limitReached per campaign). Filter by label where several brands or sections share a tenant.
Go-live checklist
Admin Panel
Integration layer
Website / app and CRM
Validation
Key endpoints
GET /api/{storeCode}/member/{member}/campaign/visible— Get a list of visible campaigns for the memberGET /api/{storeCode}/member/{member}/campaign— Get a list of available campaigns for the memberPOST /api/{storeCode}/campaign/simulate— Simulate campaigns resultGET /api/{storeCode}/campaign— Get campaigns list
Webhooks: CampaignEffectWasApplied, CampaignCreated, CampaignUpdated
Last updated
Was this helpful?

