Hi Team
I've built a Flow, which was very close to perfect, however it's not returning the correct data (and now not even working).
I need a flow that, when a form submission is made, data that is generated in the excel document capturing the form data is then generating an email to send that generated data back to the person who submitted form details.
I had a version that was working but it was returning the row prior to the row that was just submitted. to be clear I want the email that is sent back to contain the generated data from the Excel file only for the most recently submitted item.
the Generated fields I am trying to send back are:
- Project Code
- Project Name (not generated - just passing back)
- Folder name.
I did set it up with the help of ChatGPT but I've been going in circles and I'm not getting anywhere. Now I've gone backwards and I can't even get it to send the email.
Here are my steps
- When a new response is submitted (Forms)
- Get Response Details (Forms) ResponseID is ResponseID
- 5 Second Delay (Delay)
- List Rows Present in a Table (Excel)
- Compose (Action) - last(outputs('List_rows_present_in_a_table')?['body/value'])
- Send an email (V2)
Originally I had the email step inside an 'Apply to Each' and it worked, now it doesn't.
I would love some support with this - I'm losing my mind as it has to be super simple.
the attached shows you the Excel collection data sheet (the project Code and folder name are generated inside this document). the issue I was having was when I submitted the project 'AW Test 18.12' I was getting the details back for 'Aw Test 16.24'
At one point i was also getting an email for every single submission made today. So I was getting around 25 emails when I submitted one project.
Any help will be appreciated!
Amanda