Camunda 8 Orchestration Demo
This demo scenario features a simulated telco subscriber retention marketing campaign.
Subscribers whose contracts are expiring are first identified and their data like contact, current plan and data usage history is fetched. An AI agent is then given that data of each qualifying subscriber to draft a personalized retention offer email copy — all running on a real Camunda 8 process (BPMN).
You play the human reviewer, approving each AI-drafted offer before it would go out to an ESP. You should expect to see 3 personalized offers for 3 subscribers. Click Start Demo below to launch a live process instance and watch it execute on the diagram in real time.
Live orchestration
3 of 3 tries leftDeciding where AI belongs — and exposing it safely to the web
Under the hood, this demo runs on two main layers:
BPMN Workflow: A simulated telco retention campaign running in Camunda 8 (hosted on Camunda SaaS). AI handles the heavy lifting by drafting personalized offers from subscriber's usage data, but a human has to approve every AI-generated copy before it is sent to an ESP.
Secure Integration Layer: A Cloudflare Worker bridge connecting our public frontend to the Camunda 8 backend, handling credential management and request-tracking logic to let users trigger, approve, and monitor workflows in real time.
Key design decisions
- Made an intentional decision about where AI should be placed when designing the BPMN process. Let AI handle the heavy lifting of drafting personalized retention emails, but mandate a human checkpoint before anything goes out.
- Static sites can't keep API secrets safe. Recognized this constraint upfront and built a dedicated, credential-holding bridge via Cloudflare workers.
- Structured the credential management and request-tracking logic as independent reusable modules. Now, whenever a frontend needs to "talk" to a slow, authenticated backend, the foundation is already built and ready to reuse.
Tech stack
- Camunda 8 — BPMN process orchestration + native AI Agent connector
- Google Gemini — AI reasoning, via Camunda's AI Agent Task
- Cloudflare Workers — Credential-holding API bridge (edge compute)
- Cloudflare KV — Request-to-process-instance mapping
- bpmn-js — Live diagram rendering and animation
- Node.js — Persistent job workers
- Next.js + Cloudflare Pages — This site