cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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

Highlighted
Solution Sage
Solution Sage

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

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

Users online (8,474)