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

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
    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

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