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 : XjLD6R/HpNRRKQEkwC5xnv
Power Automate - Building Flows
Answered

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

Like (0) ShareShare
ReportReport
Posted on 2 Feb 2023 00:32:32 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

 

 

I have the same question (0)
  • Verified answer
    v-liwei-msft Profile Picture
    on 02 Feb 2023 at 02:43:54
    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

Responsible AI policies

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

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete