Platform
Domain Examples
Overview

ตัวอย่าง Domain

PBCP คือ domain-agnostic platform — engine เดียวรองรับทุกธุรกิจที่มี "events เกิดขึ้น" ในระบบ

ไม่ว่าจะเป็นร้านยา, ร้านค้าออนไลน์, บริษัทขนส่ง, หรือ SaaS app — โครงสร้างเหมือนกันทั้งหมด:

Business Events  →  Business Context  →  Business Story  →  Intelligence  →  Decisions

สิ่งที่เปลี่ยนระหว่าง domain คือแค่ ชื่อ events และ payload — engine ส่วนกลางเหมือนกัน 100%

สิ่งที่ share ข้าม domain ทั้งหมด

Layerใช้ร่วมกัน
Event StoreAppend-only, immutable — ทุก event ทุก domain เก็บที่เดียวกัน
Context BuilderLogic แปลง events → context (extensible per entity type)
Story EngineCompose story จาก context — 1 engine, ∞ domains
IntelligenceChurn risk, abandonment, engagement — patterns transferable
Pulse UIStoryTimeline component render ได้ทุก domain

สิ่งที่ domain-specific

LayerDomain-specific
Event catalogชื่อ event และ payload schema ของแต่ละ domain
AdaptersCode ที่แปลง app events → PBCP canonical events
Story labels"Cart abandoned" vs "Shipment delayed" vs "Student dropped course"
Context typesShipment Context ≠ Patient Context ≠ Student Context

Domain ที่รองรับ

วิธี integrate Domain

Your App (any domain)

Business action

e.g. order placed, patient visited,
shipment dispatched

track(eventName, payload)

PBCP Platform

Event API

Context Builder

Story Engine

Intelligence

Consume

Pulse

Story Explorer

Your Marketing App

execute offers

3 ขั้นตอนในการ integrate ทุก domain:

  1. Define event catalog — ระบุ events ที่เกิดในธุรกิจของคุณ (Event Catalog →)
  2. Instrument your app — เรียก track(eventName, payload) ตรงจุดที่ event เกิด
  3. Read stories — เรียก Story API หรือเปิด Pulse ดู Business Story ได้ทันที

Domain Examples

PBCP is a domain-agnostic platform — one engine that supports any business where "events happen" in its system.

Whether it's a pharmacy, an online store, a logistics company, or a SaaS app — the structure is exactly the same:

Business Events  →  Business Context  →  Business Story  →  Intelligence  →  Decisions

What changes between domains is only the event names and payload — the core engine is 100% identical.

What is shared across all domains

LayerShared
Event StoreAppend-only, immutable — every event from every domain is stored in the same place
Context BuilderLogic that transforms events → context (extensible per entity type)
Story EngineComposes stories from context — 1 engine, ∞ domains
IntelligenceChurn risk, abandonment, engagement — patterns are transferable
Pulse UIStoryTimeline component renders for any domain

What is domain-specific

LayerDomain-specific
Event catalogEvent names and payload schema for each domain
AdaptersCode that transforms app events → PBCP canonical events
Story labels"Cart abandoned" vs "Shipment delayed" vs "Student dropped course"
Context typesShipment Context ≠ Patient Context ≠ Student Context

Domains

How any domain plugs in

Your App (any domain)

Business action

e.g. order placed, patient visited,
shipment dispatched

track(eventName, payload)

PBCP Platform

Event API

Context Builder

Story Engine

Intelligence

Consume

Pulse

Story Explorer

Your Marketing App

execute offers

3 steps to integrate any domain:

  1. Define event catalog — specify the events that occur in your business (Event Catalog →)
  2. Instrument your app — call track(eventName, payload) at each point where an event occurs
  3. Read stories — call the Story API or open Pulse to view Business Stories immediately