web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Connecting a excel fil...
Power Automate
Unanswered

Connecting a excel file to a flow to use as a mailing list

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I am working on a COVID-19 sign up sheet. It uses a flow that automates an email to the safety supervisor whenever someone answers a specific question on a form using Microsoft Forms. I want to roll this automatic email flow to all of our company offices. This creates a problem because all these offices have different safety supervisors. We have around 50 safety supervisors and would like there to be a way to change the recipient of the email based on who their assigned supervisor is (this is a question on the form with a drop down menu with the name of all the safety supervisors).  I tried creating an excel sheet with the names of the supervisors and their emails and connect it to the flow but I was unable to. The main purpose of this excel sheet is to be used as a mailing list that is compatible with flow. If anyone has a suggestion to any alternative methods I am open for suggestions. After that is solved I then need help getting the necessary code so that the recipient of the email changes based on their selected supervisor using a external mailing list as the source for these emails.

Categories:
  • Krishna92 Profile Picture
    Microsoft Employee on at

    @Anonymous 

     

    You can try using share point to specify the information.

    Also, please ensure that all the email addresses are separated by a semi colon.

    If they are not separated by a semi colon that flow will not be able to detect them.

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    So I was able to create the list in SharePoint however I am unable to translate the form so ill try to be more accurate when describing what I am trying to achieve with this flow. Currently the flow is automated to send an email to the recipient listed whenever someone discloses that they are experiencing any of the listed symptoms.  

     

    Workers are supposed to sign in  at the construction site through the form. In the form there is a drop down menu with the names of all the supervisors where they are supposed to select their supervisor (different for every construction site). 

    aescobar_0-1593627629377.png

    (I will use myself as an example this time)

    The way this flow currently works is it sends an email whenever someone submits a form where they have selected that they are experiencing COVID-19 symptoms. However the email address is imputed manually which defeats the purpose of this being a automated flow. 

     

    I have tried automating this process two ways.

    1. Populating a sharepoint list with the name of the supervisor and their email. 

     

    sc 2.PNG

    I then tried to set the original form response as a variable using initialize variable and then  changing this variable to equal the value on the "name" column in the sharepoint list and then changing it again to equal its equivalent in the "title" column. Then reference this variable as the email address in the condition portion of the flow. However I would get an error saying that the address was invalid (I probably did the conversion part wrong) or that the text I was referencing was in array format when it needed to be as a string (or vice versa)

    2. Since I am working on my jobs SharePoint site I can make a list of the supervisors as a column specifically for people automatically recording the names into a contact that should in theory translate pretty smoothly to what I need it for. However I did not know how to reference it on the flow. I was unable to get it to change from the name in the form to the name in the sharepoint list and then reference this name as a contact when sending the email as a variable. 

     

    sc3.PNG

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 249 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 198

#3
David_MA Profile Picture

David_MA 197 Super User 2026 Season 2

Last 30 days Overall leaderboard