Download Message Attachment

Downloads an email attachment using the attachment ID in Office 365 Mail.

  • An attachment must be at least 1 byte in size, but cannot be larger than 2 GB. See Workflows system limits.

  • Files are downloaded to the Workflows platform file system.

Options

Field Definition Type Required
Mail Determines the type of user mail:
  • My Mail: owned by the connected user.

  • User Mail: user shared or delegated with the connected user.

Dropdown TRUE

Input

Appears when User Mail is selected from the Mail option.

Field Definition Type Required
User ID or Username      
User ID or Username Unique identifier of the user or username.

Appears when User Mail is selected from the Mail option.

String TRUE
Message      
Message ID Unique identifier of the message. String TRUE
Attachment      
Attachment ID Unique identifier of the attachment.
String TRUE

Output

Field Definition Type
Attachment    
File Content Content of the loaded attachment. File

Related topics

Office 365 Mail connector

Elements of Workflows

Guidance for Office 365 Mail connector

Microsoft Graph Rest API