Rewrite a draft
crm_update_draftRewrite a draft that has not been sent. Pass only what changes. USE THIS WHEN THE ANGLE CHANGES rather than discarding and starting again: a better hook turns up, the trigger event moves on, your human asks for a different opening. Discarding loses the rationale and the record of what was already tried on this contact.
A SENT DRAFT CANNOT BE TOUCHED (CRM-15). Its text was copied onto the activity trail as the record of what actually reached a real person, and rewriting it would leave these books describing a message nobody sent. Write a follow-up instead.
A DISCARDED DRAFT CANNOT BE REVIVED. A person read it and rejected it; bringing it back would quietly overturn that decision. Write a fresh one and say in the rationale what changed.
An edit goes through the same claim gate as a new draft: an edit cannot smuggle in what the first write would have stopped. The draft stays a draft, so a person still reads it. Effects: draft text replaced; it remains unsent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | The new message. | |
| subject | No | The new subject line. | |
| draft_id | Yes | The draft, e.g. D-0001. | |
| rationale | No | The new note to the reviewer. |