Actions37
- Calendar Actions
- Contact Actions
- Draft Actions
- Event Actions
- Folder Actions
- Folder Message Actions
- Message Actions
- Message Attachment Actions
Message Attachment → Add
AI-generatedSummary
Add a binary file as an attachment to a specified Outlook message by providing the message ID and the binary data field name containing the file.
Inputs
- messageId (required) — The ID of the Outlook message to add the attachment to, selectable from a searchable list or entered directly as a string.
- binaryPropertyName (required) — The name of the input field that holds the binary file data to attach, such as 'data'.
- options — Additional options, including an optional file name for the attachment; if not set, the filename from the binary data is used if available.
Output shape
a single record containing details of the newly added attachment
The operation returns data representing the created message attachment. The file data is uploaded as a binary property referenced by the provided binaryPropertyName. No pagination or multiple records are involved.