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 / Send an email by extra...
Power Automate
Answered

Send an email by extracting all the Names of persons matched with todays date

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a list with name "Training Nominations". It has columns like Emp ID of type Single line of text, Requester Name of type Person, Email Id of type Single line of text, Training Name of type Single line of text, Nomination End of type date and time. Nomination End column gives details of End of date of Training for which they have nominated. I need to match today's date with Nomination End date and Extract all the persons details like Emp ID, Requester Name and Email Id and send those details as one list through mail.

Categories:
I have the same question (0)
  • Verified answer
    v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    I have made a test on my side and have created a sharepoint list as below:

    Capture.PNG

    You could refer to screenshot below to create the flow:

    Capture.PNG

    Capture.PNG

     

    The expression of  Emp ID in the Create HTML table as below:

    item()?['Emp_x0020_ID']

     

    The expression of Requester Name in the Create HTML table as below:

    item()?['Requester_x0020_Name']?['DisplayName']

     

    The expression of Email Id in the Create HTML table as below:

    item()?['Email_x0020_Id']

     

    The flow would run successfully as below:

    Capture.PNG

     

    The email would be sent as below:

    Capture.PNG

     

    Best regards,

    Alice

     

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thank you Alice for the best solution. It worked for me.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    The solution provided is working good and extracting all the necessary columns but when there is no match with today's date (i.e., when the condition is not satisfied) also it is triggering empty mail with the custom headers as shown in below image. Please help me with the issue.

     

     

    shownMail.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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard