cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SanjayAdsure2
New Member

Power Automate - Trigger when Excel file changes

Hi All,

There is a excel sheet g=hosted on SharePoint having list of tasks. When user will select 'Assigned To' column from excel and select one user from excel drop down, I want to run the FLOW and create a bucket in 'To Do' group having task name and assigned User Name.

Can you guide me on this? I am thinking that if I get a trigger when excel gets updated and the values then I will connect to Planner and create it but not able to find any trigger.

 

Any help will be appreciated.

 

Thanks,

Sanjay

9 REPLIES 9
abm
Super User
Super User

Hi @SanjayAdsure2 

 

There are no triggers available for Excel connector when a row gets updated.  The only trigger available is a manual selection of row.

 

image.png

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Hi @abm ,

 

Thank you for your reply.

Then in my scenario, what approach should I use to achieve my requirement? Any suggestions? User wants to update in excel only and wants to get bucket created in Planner.

 

Thanks,

Sanjay

Hi @SanjayAdsure2 

 

You could use the trigger as scheduled interval then read the excel rows (Use a filter to identify whether the records are already created or not). Once the bucket planner is created update the excel row. Add a new column in your excel sheet called Update (Yes/No) so that when you read the excel sheet use the filter to get the records which are not created.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
Gulthaw
New Member

Hi @abm ,

 

Do you know if this trigger will ever be added? We are currently working with a sheet on google to control equipment repairs that sends a specific mail whenever there's an edit. We are migrating to O365 and I'm in charge of migrating the code and everything else.

 

The thing is, from what you wrote, I would need to create a scheduled interval every 1 minute or so.

 

It would be nice to have that trigger to be honest.

Hi @Gulthaw 

 

Not sure when this feature is going to be added. Have a look at this idea forum thread and vote for it.

 

Excel - Add row - Power Platform Community (microsoft.com)

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Hi abm, i had come up with that solution for an email i want to send based on the data being updated in excel, but then i can't get the excel file to update the yes/no in the new column for all rows. The function 'update a row' will update the first row in the in the list that meets my criteria, not the rest - so the subsequent rows are just getting the flow continually repeated (an email every hour in my case)

any ideas on how to update multiple rows in the flow?

Hi @tan4a 

 

The updates can do only by specifying which record it is hence we need to provide the identifier. If you want the filter to meet the criteria more than one record means you need to find the common identifier for multiple records. This way filter can pick up more than one records.



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

thanks @abm 

I was using a common identifier, but it was only updating the first row it got to that met that criteria, not the rest of them. But this got me thinking, and what I did was go back and put a unique identifier in, and then it worked!!

 

So if anyone wants to know exactly how I did it..

 

My excel table has a column that staff update to prompt and email to be sent (in my case 'update' column, I am looking for a 'Successful' entry there

I added a column 'Post Successful email sent' (to be able to record/identify which ones had has an email so they don't get multiples each time the recurrence runs)

tan4a_3-1650412770825.png

And of course the table has other columns including the email address of the person I want to get the email in there too

 

so for the Power Automate flow

 

Scheduled recurrence to go to Excel and list the rows (I set on the hour, but could be more/less often of course)

tan4a_0-1650412221510.png

 

then use the 'Apply to each' and 'Condition' criteria to identify those rows with 'Successful' in the update column, and not yet a 'Yes' in the 'Post Successful email sent' column

then send the email if that criteria are met (all pretty standard so far)

tan4a_1-1650412564931.png

then update the Excel row to add the 'Yes' for each of those rows that we have just sent the email for

**here is where I was stuck - you can't use a column that has common entries for more than one row. I was at first trying to look for rows that had 'Successful' in them and then add the 'Yes', but that didn't work as it did the first row it go to that met that criteria and then didn't do any more of them (much swearing and cursing ensued). The Key Column and Key Value has to be unique for each row, so in my case I used my 'Action' column which is unique for each row.

tan4a_2-1650412613413.png

 

and that's it, it now works perfectly

 

Seems so simple now I have worked it out 🤦‍♀️

I hope this saves someone else the frustration I experienced in running emails from excel using power automate when there is a change to the excel row content 😉 

 

 

Hi @tan4a 

 

Thanks for the update. Yes a common identifier to get all the related records and you need a unique identifier for the update.

 

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

Users online (2,238)