Microsoft Outlook icon

Microsoft Outlook

Consume Microsoft Outlook API

Draft → Get

AI-generated

Summary

Fetches one Outlook draft by its selected draft or ID and returns its message data. Choose a simplified output, the raw response, or selected fields; attachments can optionally be downloaded into binary output properties.

Inputs

  • Draft (required) — Select a draft from the list or enter its ID.
  • Output — Choose Simplified, Raw, or Select Included Fields. The Fields selection applies when Select Included Fields is chosen.
  • Fields — Message properties to include when Output is set to Select Included Fields, such as subject, body, recipients, or timestamps.
  • Options — Download Attachments includes the draft's attachments in the output. Attachments Prefix sets their binary property names, with a zero-based index appended (default: attachment_).

Output shape

A single item containing the fetched draft message.

The returned message shape depends on the Output choice. When attachments are downloaded, their binary data is added to the item under the configured prefix and indexed property names.

Links

Discussion