Introduction
Sometimes we need to send multiple files in one email, and doing it manually can take time. With Power Automate, we can send all attachments at once automatically. It is really helpful and saves a lot of effort. In this article, I will show you an easy way to do it step by step.
Prerequisites
Basic Understanding of Power Automate
A SharePoint document library where all the files are stored that you want to send as email attachments.
Scenario

As shown in the SharePoint Document Library above, I have multiple files (PDF and images). My requirement is to send all these files as attachments in a single email using Power Automate.
End Result

Below are the steps to send multiple attachments in a single email using Power Automate.
Step 1: Create a New Flow
Go to make.powerautomate.com and click on Create. Choose Manually trigger a flow as the trigger. You can also select any other trigger type based on your requirement. Give your flow a name as you want, and then simply click on Create.

Step 2: Initialize an Array Variable
Add the Initialize variable step, give the variable name as varAttachments, and select Array as the variable type.

Step 3: Get files
Add the Get files (properties only) action to get all files. Select your Site Address and Library Name. You can also use Limit Entries to Folder if you want to get files from a specific folder, and modify this value as per your requirement.

Step 4: Get File Content Using Path








Join the conversation! Your thoughts help the community grow.