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

Flow to read last Form input from Excel and email out

Hi there,

 

I'm trying to get a flow to read the last input from a form and email out the latest response. 

 

Capture.PNG

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

I've tried to add all the ID's from Excel but the file is always corrupt. 

 

Any ideas on how to do this?

2 REPLIES 2
Super User
Super User

Re: Flow to read last Form input from Excel and email out

Use an interim SharePoint list to store the responses, and call the specific reply you want from the list. Here's an example of how to create a SharePoint List from a submtited form with a condition:  FormResponseToSharePoint.png

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-zhos-msft
Level 10

Re: Flow to read last Form input from Excel and email out

Hi @ms1994 ,

It seems you want to get the last row of the excel file.

I suggest you use the last() function here.

Expression reference: last(body('List_rows_present_in_a_table')?['value'])

Capture5.PNG

Best Regards,

Community Support Team _ Zhongys

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

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Coming Soon: T-shirt Design Contest

Keep your eyes open for our upcoming T-shirt design contest!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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!

sixthImage

Power Platform World Tour

Find out where you can attend!

Users online (5,117)