Skip to main content

Notifications

Power Automate - Building Flows
Answered

Lookup emailadress based on a sharepoint list and use that in create item

(0) ShareShare
ReportReport
Posted on by 187

Hi all,

 

I am still somewhat of a newbie when it comes to Power Automate, so do forgive me if I ask weird things 🙂

The scenario is the following.

I receive a csv file which contains amongst others an username (column is called orderbegeleider in Dutch).
With the help of Power Automate, the output of the csv file is submitted to a sharepoint list with the create item function.

That list contains a column Emailadress, which is however blank since I don't receive the emailadress in the CSV.

 

I do however have a 2nd Sharepoint List which contains the user name and emailadress.

 

So e.g.

CSV file contains a record with username Person A

CSV file contains a record with username Person B

CSV file contains a record with username Person C

 

Sharepoint list for the emailadress contains two columns, username and email.

Username: Person A          Email: personA@gmailetc.

Username: Person B          Email: personB@gmailetc.
Username: Person C.         Email: personC@gmailetc .

 

What I would like to achieve is that in my Create Item I can push the result of the lookup from the field emailadress.

So if in the CSV a record contains username PersonA, I fetch the accompanying mailadress from the 2nd sharepoint list which is personA@gmailetc  and use that as input for my create item. See below for screenshot.

 

Screenshot 2022-10-28 at 19.17.47.png

 

Most likely I first need to store the usernames/email via Get Items Sharepoint from the 2nd list so I can later reuse that but I am struggling how to proceed. Hope this makes sense and looking forward to a way to approach this.

  • Verified answer
    debarbanson Profile Picture
    debarbanson 187 on at
    Re: Lookup emailadress based on a sharepoint list and use that in create item

    Topic can be closed, not sure how I can close myself or remove post.

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,691

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 65,019

Leaderboard