@startuml
!include https://raw.githubusercontent.com/plantuml-stdlib/C4-PlantUML/master/C4_Dynamic.puml

title Product Publishing Workflow - Dynamic Diagram

Person(owner, "Business Owner")
Person(staff, "Operations Staff")

System(system, "Kell Creations Platform", "Unified business applications and shared services")
System_Ext(wordpress, "WordPress / WooCommerce", "Website and product publishing platform")

Container(datarepo, "Shared Data Repository", "Shared Service", "Stores shared product and reference data")
Container(wpmanage, "WordPress Management", "Business Application", "Manages product publishing and site administration")
Container(api, "API Orchestrator", "Integration Service", "Coordinates publishing and synchronization events")
Container(notify, "Notification Service", "Messaging Service", "Sends approval and exception notifications")
Container(audit, "Audit & Logging Service", "Observability Service", "Captures workflow and publishing events")

Rel(owner, wpmanage, "Approves or governs product publication in")
Rel(staff, wpmanage, "Prepares and updates product content in")

Rel(wpmanage, datarepo, "Reads product, pricing, and metadata from")
Rel(wpmanage, api, "Submits product publishing request through")
Rel(api, wordpress, "Publishes or updates product in")
Rel(api, notify, "Triggers success, approval, or exception notifications through")
Rel(api, audit, "Logs publishing workflow event to")
Rel(wpmanage, audit, "Logs product administration activity to")
Rel(datarepo, audit, "Logs product data access activity to")

@enduml