How to attach file to email.(Power Automate Cloud flows)
Here is how to attach a file to an outgoing email (Outlook, Gmail, etc.).
Steps
Attachment content
First, the attachment must be stored in OneDrive, GoogleDrive or SharePoint.
Then the file content must be retrieved from the stored file.
File contents are mainly retrieved by the following actions.
- Get file content(OneDrive)
- Get file content using path(OneDrive)
- Get file content(SharePoint)
- Get file content using path(SharePoint)
- Get file content using id(GoogleDrive)
- Get file content using path(GoogleDrive)
Attachment name
In addition to content, a file name is also required.
The file name can be fixed or retrieved with the following action.
- Get file metadata(OneDrive)
- Get file metadata using path(OneDrive)
- Get file metadata(SharePoint)
- Get file metadata using path(SharePoint)
- Get file metadata using id(GoogleDrive)
- Get file metadata using path(GoogleDrive)
Send an email with the file attached.
Send an email using the following actions.
- Send an email notification(Mail)
- Send an email(Office365 Outlook)
- Send email(Gmail)
- Send Email(SMTP)
File content for dynamic content in attachments, Name for dynamic content with a fixed name for the attached file name.
Then the email with the file attached will be ready to be sent.

For those who want to learn Power Automate Cloud flow effectively
The information on this site is now available in an easy-to-read e-book format.
Or Kindle Unlimited (unlimited reading).

You willl discover how to about basic operations.
By the end of this book, you will be equipped with the knowledge you need to use Power Automate Cloud flow to streamline your workflow.
Discussion
New Comments
No comments yet. Be the first one!