web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Match employee ids to ...
Power Automate
Unanswered

Match employee ids to get email and send list of item assigned to them

(0) ShareShare
ReportReport
Posted on by 11

I need my automate to send an email of a list of items to the owner, but the owner email is in a separate table. I’d also like to include the total count of actions items assigned to them. 

 

I have a data verse table that has a list of records that includes the employee ids. In a separate data verse, I have the employee id and email.

 

Table 1

Employee #

Action item

Due date

123

Complete report

11/2/2023

456

Review report

11/10/2023

123

Start next report

11/5/2023

123

Project completion

11/20/2023

Table 2

Employee #

Employee email

123

User123@outlook.com

456

User456@outlook.com



result: 

To: User123@outlook.com

 

You have 3 action items due. Please see below for more details:

 

Action item 

Due date

Complete report

11/2/2023

Start next report

11/5/2023

Project completion

11/20/2023

Categories:
I have the same question (0)
  • v-xiaochen-msft Profile Picture
    on at

    Hi @Rachel19 ,

     

    According to your description, you want to Match employee ids to get email and send list of item assigned to them in your two Dataverse Tables.

     I test it in my side and this is my test data which is the same yours:

    vxiaochenmsft_0-1697681437357.png

     

    And this is the flow you can refer to, You may need to modify the parameters according to the actual column names of your Dataverse :

    vxiaochenmsft_1-1697681437358.png

     

     

    (1)The List rows step:

    vxiaochenmsft_2-1697681437359.png

     

     

    (2)The "Apply to each" step:

    vxiaochenmsft_3-1697681437370.png

     

    Best Regards,

    Wearsky

  • Rachel19 Profile Picture
    11 on at

    @v-xiaochen-msft thank you for your response! However, your way just sends all actions to every single email listed in the employee table.

     

    This is what I have and it almost works, but it seems like after the first run it starts sending action items to the wrong person - 

     

    Rachel19_0-1697720704375.png

     

    Rachel19_5-1697720864634.png

     

    Rachel19_2-1697720746312.png

    Rachel19_3-1697720769882.png

    Rachel19_6-1697720887336.png

     

     

     

  • Rachel19 Profile Picture
    11 on at

    @v-xiaochen-msft  This is your version which is causing every outstanding item to be sent to every single email listed in the user table

     

    Rachel19_0-1697721974861.png

     

    Rachel19_1-1697721984313.png

    Rachel19_2-1697721992992.png

    Rachel19_3-1697722006131.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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard