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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,666)