workflow_records
Exit workflow record
Removes the person from the workflow: any non-terminal status → exited (terminal), finished_at stamped, open pending/scheduled tasks cancelled in the same transaction (result.cancelled_tasks_count). Already-dispatched send commands are NOT recalled - Messaging's final gate and expires_at bound them. The row survives as membership history; the (workflow, person) UNIQUE keeps re-enrollment blocked. Repeat on exited → already_exited:true; completed/failed* → 409 (already finished).
Contract:
- MCP tool exit_workflow_record, registry package mcp.playtables/workflow_records, mount playtables.journeys.
- Operation action, response envelope action.
- Flags: dangerous: the MCP layer gates it behind a preview/commit token, and the effect cannot be undone through this API.
post/api/workflow-records/{sid}/exit
Request
- Base URLhttps://beta.getsales.io/playtables/v1
- AuthHTTP bearer and API key in header Team-SID
Path parameters
sidstring required
Workflow record sid (wf_rc_…).
Request body
Response
action success envelope.
Changes
No recorded changes to this operation across all 1 revision of this API.