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 / Flow excel Get row Row id
Power Automate
Answered

Flow excel Get row Row id

(0) ShareShare
ReportReport
Posted on by 7

Hello, 

 

I have an issue with the flow I want to create.

I want to create an flow when if there is a new row in excel(creaded by powerapps), then they should send an email to */which email selected*/, with the row details. See below, I already tried some thing.

 

When I Set by *Row id a code what is generated automatically by powerapps like "ZbdXon0O4ZY" (in the column "__PowerAppsId__" . Then the flow is working, but now I want only the last row when there is a new row add to the excel file.

 

So, I am searching for a solution, when there is a new row in excel, the flow should send an email.

Could you help me with this?

 

Thank you in advance

Ruurd

Knipsel_2.PNG

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at

    Hi

    As a possible workaround, have yo tried to use "Get rows" action block instead, and take the last result? Since "Get rows" output is an array you can get it by applying last() function defined in https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language#functions 

    Hope this helps

     

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    Hi @Geert1,

     

    I don’t think the “Get row” action within your flow could achieve your needs. I agree with @efialttes’s thought almost, I have made a test on my side and please take a try with the following workaround:

    • Add a “PowerApps” trigger.
    • Add a “Get rows” action, specify File name and Table name.
    • Add a Compose action, Inputs set to following formula:
    array(last(body('Get_rows')?['value']))
    • Add a “Apply to each” action, input parameter set to output of “Compose” action. Within “Apply to each”, add a “Send an email” action, To field set to following formula:
    item()?['EmailAddress']

    Subject set to following formula:

    item()?['_PowerAppsId_']

    Body set to similar formula as above.

     

    Image reference:13.JPGNote: The data structure of my Excel file as below:15.JPG

    The flow works successfully as below:14.JPG

     

    Best regards,

    Kris

  • Pipi985 Profile Picture
    2 on at

    The flow works successfully, but it's a manually triggered flow, can the flow be trigger automatically by adding the new row in excel?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 523

#2
Valantis Profile Picture

Valantis 318

#3
David_MA Profile Picture

David_MA 235 Super User 2026 Season 1

Last 30 days Overall leaderboard