Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Add Name from next item in a sharepoint list to an Email body

(0) ShareShare
ReportReport
Posted on by 4

Hello to all, 

 

I have a power automate that gets items from a sharepoint classic calendar list and then sends an email based on when a person is done with their on call.  I use a sharepoint get items with a date filter to determine who to send the email to.  What I'd like to do is get the name of the next person in the on call list and include it in the body of the e-mail. 

 

I've tried a couple different ways but getting lots of errors and I'm not sure which process to use so I can lookup details.   Still pretty new to the power automate world.   Would appreciate any and all help or gu

So the Email will be going to Person 1 and in the body I want to include the name of person 2.  The dates in this list are incorrect and just an example.  The actual list has dates 1 person per week.

Laurelp_2-1675297446748.png

 

 

  • Verified answer
    v-liwei-msft Profile Picture
    on at
    Re: Add Name from next item in a sharepoint list to an Email body

    Hi @Laurelp 

     

    1. Since you need to get the item that meets the conditions and the name of the next item, you cannot use Filter query.
    You need to put the filter conditions in the Filter query into the Filter array.
    2. After Filter array, you need to perform a second Filter array (to get the ID of the next item).
    3. Use Get item (Get the person's name for the next item.)

    vliweimsft_0-1675305273339.pngvliweimsft_1-1675305409919.pngvliweimsft_2-1675305454167.png

     

    Best Regards,

    Levi

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1