Setting the file. One moment. Architecture And Lifecycle · Build Zoom Contact Center App · anthropics/knowledge-work-plugins · Skills Docs
This document defines a stable architecture pattern that works across Contact Center app, web, and mobile integrations.
22
Validate Data
Tech Debt
62
Recruiting Pipeline
71
Vendor Check
125
Zoom Meeting SDK Web
88
Vendor Review
181
Create An Asset
Video Sdk/web
109.4
Versioning And Compatibility
- Zoom Contact Center App (Zoom client embedded webview).
- Web SDK/Campaign SDK on external sites.
- Android/iOS native SDK.
- Current
engagementId.
- Engagement status (
start, hold, resume, end).
- Engagement-scoped draft data.
- Chat.
- Video.
- ZVA.
- Scheduled Callback.
- Transient per-engagement state cache (frontend local storage or backend session store).
- Optional backend persistence for long-running workflows and compliance logging.
- Initialize context.
- Determine active engagement context.
- Build/init channel service/client.
- Register callbacks before launching UI.
- Start channel view.
- Process status/context events.
- End and cleanup.
- Treat
engagementId as the primary state key.
- Never assume a single engagement in memory for messaging channels.
- Restore state on each engagement context change.
- Clear or archive engagement state only when end-state logic is complete.
- Do not poll as a primary strategy.
- Subscribe early and keep handlers idempotent.
- Handle out-of-order or repeated events safely.
- Fetch campaigns with campaign API key.
- Pick channel from
translatedCampaignChannels.
- Create channel item with
useCampaignMode=true.
- Launch service UI.
- Release conflicting channel services when switching channels.
- Use explicit user/session identity refresh paths (
authorize, getAppContext) for Contact Center app scenarios.
- For PWA flows, do not depend on
x-zoom-app-context header.
- Keep OAuth and app context decryption on backend where possible.
concepts/architecture-and-lifecycle.md