Actions37
- Calendar Actions
- Contact Actions
- Draft Actions
- Event Actions
- Folder Actions
- Folder Message Actions
- Message Actions
- Message Attachment Actions
Draft → Update
AI-generatedSummary
Update an existing email draft in Microsoft Outlook by specifying its draft ID and modifying any desired fields such as recipients, subject, body, categories, and additional message properties.
Inputs
- draftId (required) — The unique identifier of the email draft to update, selectable from a list of drafts or specified directly by ID.
- updateFields — A collection of optional fields to update in the draft, including BCC recipients, categories, CC recipients, custom internet message headers, sender (From), importance level, read status, message body content and type (HTML or Text), read receipt request, reply-to address, subject, and To recipients.
Output shape
a single record representing the updated draft message with its properties as returned from Microsoft Outlook.
The output reflects the updated draft's properties after the patch operation. Only fields specified in 'updateFields' will be changed; others remain unmodified.
Examples
Example 1: Update the subject and body of an existing draft
Specify the draft ID in 'Draft' parameter, then set 'Subject' and 'Message' fields in 'Update Fields' to new values.