Hi! The goal is to build a process where I send 25 schools their own donor listings via email as an xlsx attachment to a specific email address type that lives on their school cons record in RE. I have been doing this previously with 25 flows and with email addresses hard coded. It was the quick dirty way to get it done almost 2 years ago. That is not sustainable, and I want to have one email template to use that shares general campaign information. Each school would get that same email message body.
First flow, creates the attachments. This is completed and the files are stored in a SharePoint library.
Second flow is where I am getting stuck and could use your help. The school cons record has a fund relationship of the schools fund, there are 25 funds one for each school. The schools fund is the name of the Excel file created in the first flow. I recently started to use Switches and thought possibly that could be the way to do this, if the fund relationship name is = to XYZ, and the file name is XYZ - attach to email, not positive thinking I would have to create the send email process 25 times, which is not the goal. Goal is - One email to send individual reports to individual schools based off of a fund relationship name and file name that match, and use the cons record emails listed. Is there another posting on this process? or a video someone could suggest? Appreciate your time and help.
-Christine