cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
DanicaY
Level: Powered On

What's RowID in action 'Excel-Get row'?

I created a flow that's used to send emails to related people when a new line inserted to one Excel.

I cannot fined a trigger using Excel, so i used Power BI alerts as a trigger, then add an "Excel-Get row" action.

But it failed to run because of the Row ID, i saw here https://powerusers.microsoft.com/t5/General-Flow-Discussion/What-is-quot-Excel-Get-Row-quot-action-s... said there will be a new colomn in the table called "__PowerAppsId__" , i cannot see this in my table. Below's the failed message:

Failure summary

 

Support

Click here to learn about how to fix common failures. You can also ask our community where others may have encountered a similar problem.

  • Action 'Get row' failed

    Fix It

    To make this flow work, inspect the inputs to this action and ensure they would find the right resource.

    Error type

    This action failed because it tried to access something that does not exist.

    Error Details

    The error message from the service is below. This maybe useful for support:

    No row was found with Id '2'. clientRequestId: 67a4a892-d9c3-42a7-b374-3ad555e1d31e

     

     

    What i want to do is send emails to related people when a new line inserted to one Excel, and the email need to contain the new line info in excel, that's why i used Excel-Get row.

     

    If the flow i created cannot work, how do i create this flow??

     

    Thanks!

1 REPLY 1
Community Support Team
Community Support Team

Re: What's RowID in action 'Excel-Get row'?

Hi DanicaY,

 

We do not have a trigger “when a new row inserted” for Excel currently, I have seen similar request at Flow Ideas Forum, I would suggest you vote and comment the idea at here. I will help collect and report this feature from my side.
https://powerusers.microsoft.com/t5/Flow-Ideas/Excel-Online-New-Row-Trigger/idi-p/5474

 

As it is mentioned in another thread you provided, we can find the Row ID once we created a connection to an Excel table and update records to the table, a column "__PowerAppsId__" will be created automatically.


For your scenario, I would suggest you use the action “Excel – Get rows”.

 

A simple flow configuration for your reference. The flow is triggered by “Recurrence”, you could configure its Frequency and Interval manually to run the flow according to your needs.

 

For the Compose action, please use Workflow definition language “last” to get the latest item entered in the Excel table.

 

The function I am using here is:
“last(body('Get_rows')?['value'])”

 

More details about last function, please check the following URL:
https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-workflow-definition-language

 

Then the flow will run every minute to get the last item in the Excel table and send an email with the information of the last item.

3.PNG


PS: You may get issues when configure the Compose action, please refer to the steps(especially step2) I provided in this thread.
https://powerusers.microsoft.com/t5/General-Flow-Discussion/How-to-get-a-count-of-the-number-of-rows...

 

Please try it on your side and feel free reply if you need more help.

Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors
Users online (4,961)