Microsoft Exchange Online - Get attachment from email

Use the Microsoft Exchange Online - Get attachment from email action A tool for building the processes, logic, and direction within workflows. Actions are the steps the workflow performs to complete a process. to get an attachment from a specified email in Microsoft 365.

For more information about the Microsoft Exchange Online connector A software component that allows seamless integration with third-party services, business applications, and content stores. Examples include Salesforce, Box, and Microsoft SharePoint. Connectors are used to create connections required for workflow actions and start events., go to Microsoft Exchange Online.

Configure the Microsoft Exchange Online - Get attachment from email

Note: Use the Microsoft Exchange Online - Get attachments metadata action to retrieve the attachment ID. Then use the ID to get the attachment from the email.

  1. Add the action to the workflow and open the action configuration panel. For more information, see Add an action to the workflow.

  2. Select a Connection. If you do not have a connection, see Add a connection.

  3. Under Message ID, select the ID of the email that contains the attachment.

  4. Under Attachment ID, select the ID of the file that you want to retrieve.

  5. Under Output, select a variable to store the retrieved file.

Microsoft Exchange Online- Get attachment from email action fields, buttons, and settings

Section Field Description Variable types
(unlabeled) Connection Credentials and other settings that enables workflows to communicate with external systems, services, or applications. It's required to pass data between the workflow and the indicated service, which could be a cloud service, business application, or content store.

Microsoft Exchange Online connection for the email attachment you want to retrieve.

To refresh the available connections, click Refresh.

(n/a)
  Message ID The ID of the email that contains the attachment to retrieve. Boolean, Collection, DateTime, Decimal, Integer, Text
  Attachment ID

ID of the attachment to be retrieved.

Boolean, Collection, DateTime, Decimal, Integer, Text

Output

File

File variable to store the retrieved attachment.

File