cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VH1
Microsoft
Microsoft

Trying to create a flow to add a record to a csv file from an excel spreadsheet based on a certain condition

Hello,

 

I currently have a flow that adds a row to excel online when a response is submitted on a form. I am now trying to create an additional flow where if a row in the excel meets a condition, a record should be added to a csv file. Appreciate any help with this.

 

Thank you!

1 ACCEPTED SOLUTION

Accepted Solutions
v-litu-msft
Community Support
Community Support

Hi @VH1,

 

There is no trigger about Excel file, as a workaround, you could store the Excel file into a special SharePoint folder.

Then create a trigger when a file is updated in folder, if someone updated the Excel file, filter out all rows met conditions, generate CSV table by using Create CSV table action, then delete the original CSV file, use new CSV file content instead.

 

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

View solution in original post

4 REPLIES 4
v-litu-msft
Community Support
Community Support

Hi @VH1,

 

There is no trigger about Excel file, as a workaround, you could store the Excel file into a special SharePoint folder.

Then create a trigger when a file is updated in folder, if someone updated the Excel file, filter out all rows met conditions, generate CSV table by using Create CSV table action, then delete the original CSV file, use new CSV file content instead.

 

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

View solution in original post

v-litu-msft
Community Support
Community Support

Hi @VH1,

 

Steps as below, please contact me if you have any problem when you structure it:

Annotation 2020-07-21 093859.jpg

 

Annotation 2020-07-21 093915.jpg

 

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

Thank you @v-litu-msft for all your help!

 

I see the below.  Is there something I need to modify so that it does not result in an infinite loop?

 

 

VH1_0-1595352365378.png

 

v-litu-msft
Community Support
Community Support

Hi @VH1,

 

You could refer to this post:

https://powerusers.microsoft.com/t5/General-Power-Automate/Email-trigger-flow-stuck-in-infinite-loop...

 

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

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Users online (3,302)