Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Getting current excel row

(0) ShareShare
ReportReport
Posted on by 67

Hello,

I've built the following Flow where:

  • A Form Response is submitted
  • Grabs team member's personal information from Sharepoint using employee number

kona134_0-1712858904139.png

 

  • Adds the SharePoint information into a row to an Excel table
  • kona134_1-1712858966899.png

 

 

What I would like to do is get the current Excel row that, when an option is chosen from a dropdown list, have that option sent to the team member via email. So for I've managed to get the flow working so that it gets A row and the current row chosen option into email. What I'm having difficulty with is:

  • Getting the current row in the email notification
  • Only sending one email instead of multiples or duplicates.

Thanks for any help!

 

  • Verified answer
    kona134 Profile Picture
    67 on at
    Re: Getting current excel row

    Managed to solve this!

    To get the current row, I-

    initialized a variable named RowCount, set to integer, and put the 'Initialize Variable' expression as 

    length(body('List_rows_present_in_a_table')?['value'])
    kona134_0-1712959371886.png

    Then used 'Get Row', set key column to 'Unique ID' and set Key Value to the 'Initialized Variable' RowCount

    kona134_1-1712959464831.png

    Then in 'Send Email' set the body using the Excel values from 'Get a Row'.

    kona134_2-1712959541457.png

     

    Here is the overall Flow Structure:

    kona134_0-1712959742038.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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1