Customer success workflows#
Success tracks accounts, health history and risk transitions, milestones and scheduled playbook tasks in an authorized app-scoped workspace. These twelve published actions expose the present execution surface. Account, milestone and task deletion, task completion and milestone listing are not currently published.
Resolve the canonical workspace#
Auth owns workspace identity, creation, rename and default selection. Discover exact granted Success workspaces through CLI/MCP. Success keeps an identity-only mirror; accounts.list and playbook_tasks.list can create it and therefore require confirmation despite their GET method. Bootstrap returns identity projections, not a workspace.
Create accounts and interpret health#
Creation produces a new id, initial health 100, healthy status and threshold 40 unless specified. Every health update appends a history row and notification event, including repeated scores. Downward crossing creates a risk; upward recovery resolves open risks. A corrected score compensates with another history/event rather than erasing the original.
Record progress and schedule tasks#
Milestones begin pending; reach records the real transition and a repeated call returns 404. Tasks require a due instant and are initially pending. Scheduled processing queues due reminders and upcoming renewals separately; a create response establishes neither completion nor delivered reminders. Preserve returned ids because not every object has a published list/read action.
Separate state from notification delivery#
Health and reach commit state before flushing up to 100 oldest pending notification rows across the entire Success environment, including other organizations. The response reports pending/sent/rejected/failed transport counts; it is not a recipient delivery receipt. Capture fixtures simulate transport and do not establish live delivery.
Use the honest widget boundary#
The widget always reports an empty state and four zero counters; it does not calculate persisted account aggregates. A configured organization/service context can emit an engagement usage event. A widget response is not proof of statistics or metering completion.
Understand archive and organization privacy#
Workspace archive refuses six nonempty content tables and delegates canonical archival to Auth before removing the local mirror. Organization export and erasure span all local workspaces and eight stores, including account-linked renewal delivery rows. Erasure is sequential, can partially fail, preserves Auth identity, delivered Notify data and backups under retention, and does not prohibit later writes.
Execute from verified examples#
Discover the exact action and authorized resource, validate input, inspect the plan, authorize its effects, execute and perform its documented verification. Examples use local SQLite, synthetic Auth/grants and simulated transport. Native typed agent guidance is stored separately from the readable Markdown body.
Action reference#
Evidence#
Actual exported Worker responses captured with real local SQLite D1 and all committed migrations, synthetic Auth identity/grants, simulated Notify/Nexus and canonical archive transport. Fixture ids are examples only. No live notification delivery, metering acceptance, privacy erasure, workspace archive or deployment is established by these tests.