Edit draft
campaignstack_edit_draftSave new words on one draft without changing its approval state. Call this when the user asks to revise a draft for someone to sign off later, or to reword a message that is already approved and scheduled. A draft waiting for review stays waiting (a person still approves it, and the approval is recorded as an edit of the model's draft); a scheduled message keeps its slot; a job application keeps its status and is not approved. It never approves, rejects or sends (campaignstack_decide_review does that).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | The item kind from campaignstack_get_reviews. "workflow" (default) is a drafted workflow touch; "job_application" is a job watcher application, where entryId is the application id. | |
| entryId | Yes | ||
| confirmed | Yes | Confirms saving new words on this draft. A scheduled message goes out with them at its slot without another review. | |
| workspaceId | No | Workspace ID. Omit it when this connection reaches one workspace: a workspace key (cs_) is bound to its own, and a user key (csu_) or connected app whose person belongs to exactly one workspace defaults to that one. Required only when the person belongs to several; the error then lists them, and campaignstack_whoami reports them too. | |
| updatedContent | Yes | The fields to change. For a workflow draft, write the text under the draft.field key campaignstack_get_reviews returned (e.g. { messageText }). For a job application, { letter?, answers?: [{ question, answer }] }. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| results | No | ||
| warnings | No | ||
| workflowId | No | ||
| workspaceId | No |