Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

How to get variable items of Flow on a Scheduled Email to multiple users

I've am trying to create a flow that that every 6 months automatically sends a email to a group of administrators requesting from them to review and revise there designated Flow since processes change over time in each team.


I have been able to get the basics put together but I am still a beginner at Microsoft Flow, so help with be appreciated!


These are the ideal requirements

- A email is automatically send out to all the admins every 6 months asking them to revise there designated Flows

- Included in the email is an file attachment from SharePoint, however each recipient has a different file that is assigned to them which needs to be attached.


 So If I have 5 different administrators, and have 5 different processes. The flow needs to send an email for example to with a generic body message and have attached the file that is pulled from the SharePoint folder with the variable of John Smith as the process owner.


Please view these 2 screen shots for references. 








Super User
Super User

Re: How to add dynamic attachments of Flow on a Scheduled Email Reminder to multiple users

Hi @kpiana , I would do this with a Switch case control, a type of Condition. In my example (images below) I have the SharePoint list with a column called Owner. In the flow I add the recurrence schedule, then get the SharePoint items, then add a Switch control based on the Owner. That will wrap itself in an Apply to each, then for each switch case you specify what the Owner must equal, then you can add the actions for each of the cases. So If the Owner column in the SharePoint list equals Miguel then send an email to Miguel and put whatever you need to in the email and add the attachments and any further actions. Then you do the same for each of the other owners. I think you can have up to 26 or 27 switch cases as far as I recall.

Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.


0-SPLists.pngLists with initial values1-Recurrence-GetPoints.pngTrigger and Get Points2-SwitchControl.pngSwitch control inside an apply to each3-GetCumulativePoints-Compose.pngGet current cumulative points and put them in a Compose control4-ComposePoints-Addition.pngAdd Compose controls for new points, add them to cumulative points5-UpdateCumulativePoints.pngUpdate the cumulative points list with the addition6-UpdatePoints.pngReset current points list to 08-AllCases.pngAdd the actions for each person9-SPResult.pngThe result in the 2 lists

Level: Powered On

Re: How to add dynamic attachments of Flow on a Scheduled Email Reminder to multiple users


Hello, thank you for your response. So I was able to follow what you did up until where we added the switch control. This is where I got lost since I am not sure how to use this feature and what exactly it is doing. I additionally added a List, however for the files that need to be attached, do I leave those where they are? If so how does this flow pick the attachment?


Thank you in advance!





Helpful resources


Power Platform Online Conference

Speakers, submit your sessions now! Call for speakers ends Feb. 10!


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!


Microsoft Learn

Learn how to build the business apps that you need.


Power Platform World Tour

Find out where you can attend!


Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (3,931)