CloudSketch AI Logo
FeaturesTemplatesPricingEnterpriseAboutContactLog in
🌙☀️
Log inStart free
Home/Templates/Marketing, CRM & Support

📣 Marketing, CRM & Support · C4 Architecture · Pro

Loyalty Programme Platform

A retail loyalty programme: points earned on every purchase in store or online, tiers, rewards redemption and partner offers.

More Marketing, CRM & Support templates

C4 Architecture diagrams are part of Pro. Anyone can view this one; generating and editing it needs Pro.

Drawing diagram…

What this diagram shows

  • Points are earned in real time from store and online sales
  • Tier status updates automatically
  • Redemption is checked for fraud before points are spent

Prompt used

Loyalty platform: members use a mobile app. Store POS and the e-commerce site send purchases to a points engine that applies earning rules and tier multipliers and writes to a points ledger. A tier service upgrades or downgrades members. A rewards catalogue service handles redemption, with a fraud check. Partner brands offer rewards through a partner API.

Mermaid code
C4Container
title Loyalty Programme
Person(member, "Member", "Earns and redeems points")
System_Boundary(lp, "Loyalty Platform") {
  Container(app, "Member App", "React Native", "Points, tiers, rewards")
  Container(pe, "Points Engine", "Java", "Earning rules and multipliers")
  Container(tier, "Tier Service", "Java", "Silver, Gold, Platinum")
  Container(rw, "Rewards Service", "Node.js", "Catalogue and redemption")
  Container(fraud, "Fraud Check", "Python", "Unusual redemption patterns")
  ContainerDb(led, "Points Ledger", "PostgreSQL", "Every earn and burn")
}
System_Ext(pos, "Store POS", "In-store purchases")
System_Ext(ecom, "E-commerce Site", "Online purchases")
System_Ext(partner, "Partner Brands", "Partner rewards")
Rel(member, app, "Uses")
Rel(pos, pe, "Purchase events")
Rel(ecom, pe, "Purchase events")
Rel(pe, led, "Writes points")
Rel(tier, led, "Reads totals")
Rel(app, rw, "Redeems")
Rel(rw, fraud, "Checks")
Rel(rw, led, "Spends points")
Rel(rw, partner, "Partner rewards")

Related templates

C4 ArchitectureProMarketing, CRM & Support

Customer Data Platform

A customer data platform that joins a customer's activity from website, app, store and support into one profile, and sends audiences to marketing tools.

State MachineMarketing, CRM & Support

Helpdesk Ticket Lifecycle

The states of a customer support ticket, from creation through assignment, waiting on the customer, resolution and reopening.

FlowchartMarketing, CRM & Support

Contact Centre Call Routing

How an incoming support call is routed: caller recognition, IVR menu, self-service options and routing to the right skilled agent queue.

SequenceMarketing, CRM & Support

Email Campaign Send Sequence

How a marketing email campaign is sent: audience built, consent checked, emails personalised and sent in batches, and opens and clicks tracked.

Database ERDMarketing, CRM & Support

CRM Sales Pipeline Schema

Tables for a B2B sales CRM: accounts, contacts, leads, opportunities moving through stages, activities and quotes.

SankeyMarketing, CRM & Support

Marketing Funnel

How visitors flow from marketing channels to sign-ups, trials and paying customers in a month, to see which channel brings buyers, not just traffic.