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 / How to include the use...
Power Automate
Unanswered

How to include the user details in my email

(0) ShareShare
ReportReport
Posted on by 36

I have a SharePoint list that contains several fields, such as. SoftwareTitle, SystemType, ComputerName, FullName, Email, Department and Role. 

 

This List tracks software and who is using it. A user may be assigned to one or many software. I need to automate an annual email to each user wit a list of software assigned to them. In the email I'd like to include their details (FullName, Department, Role) to verify we have accurate information. 

 

In my flow I've used a reoccurrence trigger, then SP Get Items. I used a Select to grab all the emails and then a compose with union expression to get unique email values. I then created an apply to each with a filter array iterating through the unique emails. I then created a table of software for that user and put it in an email all within the for each action. This all works great. The part I'm struggling with and need help with is putting the user details in the email. 

Categories:
  • SanmeshG Profile Picture
    1,956 Moderator on at

    Hi @jsnwilmot ,

     

    Can you elaborate on what is exactly the issue?

     

    If you want to get the Names of the Users then you can use the office 365 Power Automate connector and get the Display Name of the user (inside the apply to each loop)

  • jsnwilmot Profile Picture
    36 on at

     Sure, unfortunately, not all users are within our organization so i had to use string fields to store this information. 

    I've tried to capture this information inside the for each action using compose and grabbing the info using an expression such as item()?['FullName']. when running tests the flow works, but the the compose output in blank.

     

    the persons details could appear many times depending of many software they are assigned to. So i suspect this is an issue. 

  • SanmeshG Profile Picture
    1,956 Moderator on at

    the issue isn't very clear from what you have shared. Can you share screenshots so that we help you better ?

     

    Also not sure how you are using compose outside of the apply to each action so initialize a string variable and append the details inside of apply to each and pass that variable in the email body.

  • jsnwilmot Profile Picture
    36 on at

    So I have a SP List with the following Single Line String Columns: SoftwareTitle, SystemType, ComputerName, FullName, Email, Department and Section. My goal is to send an email (automatically) to each user in a single email asking them to validate the software assigned to them and their personal details. In my example, John Smith will receive an email listing Software he is assigned to and details of his Dept and Section. The part that I need help with is getting the Dynamic values for the Department and Section and including them in the email. I have attached some images of my flow as well. 

     

    EXAMPLE:

    SoftwareTitleSystemTypeComputerNameFullNameEmailDepartment Section
    Adobe PhotoshopStandaloneeq-123John Smithjohn.smith@abc.comFinanceReturns
    MS VisioInterneteq-345Jane Doejane.doe@abc.comHRHiring
    Notepad++Interneteq-345Jane Doejane.doe@abc.comHR Hiring
    WinRarStandaloneeq-123John Smithjohn.smith@abc.comFinanceReturns
    Notepad++Standaloneeq-123John Smithjohn.smith@abc.comFinanceReturns

     

    EMAIL....

     

    Dear John,

     

    Please validate that you still require the software assigned to you:

    SoftwareTitleSystemTypeComputerName
    Adobe PhotoshopStandaloneeq-123
    WinRarStandaloneeq-123
    Notepad++Standaloneeq-123

     

    Please confirm that the info below is correct:

     

    FullName: John Doe

    Deptarement: Finance

    Section: Returns

     

    A.png
    C.png
    B.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 317 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 247

#3
Henil Profile Picture

Henil 117

Last 30 days Overall leaderboard