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

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Sending ONE email to managers with multiple SP List items

(0) ShareShare
ReportReport
Posted on by 31

PLEASE HELP!!

I created a flow that ALMOST does everything I need it to:

 

Get Items>Select (mgr email field from list)>Compose (specify unique mgr emails...no dupes)>InitializeVar (mgr name field from list)>InitialzeVar (select DueDate field)>Apply to Each>Set Var (MgrName)>Set Var2 (DueDate)>Apply to Each (Loop through unique mgrs)>Filter Array (MgrEmail=Apply to Each loop for mgr email)>Filter Array2 (MgrName = Null)>Create HTML Table (list multiple items from SP list)> Send V3 email

 

Everything works except - Im trying to use an expression in the email to greet the manager by first name only (e.g. Hi Chris).  It's sending emails to the RIGHT manager email but greeting the WRONG manager's (first) name.  

 

Chris74_0-1670609624717.png

Chris74_2-1670609865944.png

Chris74_3-1670609945469.png

Chris74_4-1670610037057.png

 

Chris74_5-1670610208838.png

 

 

 

I have the same question (0)
  • lbendlin Profile Picture
    8,332 Super User 2025 Season 2 on at
    Re: Sending ONE email to managers with multiple SP List items

    You seem to set the ManagerName variable in a separate loop?  Your screenshots are a little hard to string together.

  • Chris74 Profile Picture
    31 on at
    Re: Sending ONE email to managers with multiple SP List items

    How can I show the flow differently/better?  Its pretty large...I listed each step in the description and hope the screenshots would help for reference.   Yes I set the ManagerName variable in a separate loop thinking I could recall and SPLIT out the first name in the greeting of the email body.  Using this expression:  

    first(split(body('Filter_array_2'), ' '))
  • Chris74 Profile Picture
    31 on at
    Re: Sending ONE email to managers with multiple SP List items

    Additionally I should mention, in the List (get items), there are 2 fields:  one for manager name and one for their email.  The first name I am splitting SHOULD be on the name (field) of the manager being reference by the "Unique" email address (output of the Select/Compose of the email).

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 788 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 452 Moderator

#3
developerAJ Profile Picture

developerAJ 302

Last 30 days Overall leaderboard