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

Community site session details

Session Id : /0V5Y4zov9c+HvKE+NiLgD
Power Automate - Building Flows
Answered

Getting current excel row

Like (0) ShareShare
ReportReport
Posted on 11 Apr 2024 18:12:27 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!

 

I have the same question (0)
  • Verified answer
    kona134 Profile Picture
    67 on 12 Apr 2024 at 22:06:19
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Loading complete