cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
EddyGee
Helper I
Helper I

Sharepoint to OneDrive (With Flow Confusion)

I created a sharepoint site then synced the Documents. As I couldn't specify where to set it, I left it on the default [UserName] -> [MyCompanyName] -> [SiteName] - Documents

 

Now I want to set up an email alert should a document be added to it, but this section doesn't count as OneDrive for Business, so I can't select it from within flow.

 

On my PC, within "C:\Users\[UserName]\", I have essentially 3 OneDrive files -

"OneDrive" - personal 1 probably, just opens the next folder up in a new window.

"OneDrive - [CompanyName]" - where Flow is searching by default, which is currently my personal shared folder for my user

"[MyCompanyName]" - this is where Sharepoint decided to create & store all Documents Syncing from sites I've made, as shown in the first paragraph.

 

Could someone shed some light on how to organise this? Feels very messy due to my lack of understanding. Again, trying to set up an e-mail to trigger should any file be added/modified within "[MyCompanyName]".

1 ACCEPTED SOLUTION

Accepted Solutions
Pstork1
Dual Super User III
Dual Super User III

Although you are using OneDrive sync to sync that location to your desktop, its not actually OneDrive.  Its a SharePoint document library.  So to build a Flow for that you need to use SharePoint triggers, not OneDrive triggers.  So for an email alert Flow on that document library use the When a File is created (properties only) trigger.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

2 REPLIES 2
Pstork1
Dual Super User III
Dual Super User III

Although you are using OneDrive sync to sync that location to your desktop, its not actually OneDrive.  Its a SharePoint document library.  So to build a Flow for that you need to use SharePoint triggers, not OneDrive triggers.  So for an email alert Flow on that document library use the When a File is created (properties only) trigger.



-------------------------------------------------------------------------
If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

View solution in original post

@Pstork1hey man, thanks. That's so simple, yet completely overlooked. Nice! I was so confused..

Helpful resources

Announcements
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (49,140)