Using the trigger "For a selected file" without providing Site address and document library?

%3CLINGO-SUB%20id%3D%22lingo-sub-1107396%22%20slang%3D%22en-US%22%3EUsing%20the%20trigger%20%22For%20a%20selected%20file%22%20without%20providing%20Site%20address%20and%20document%20library%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1107396%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20community!%3C%2FP%3E%3CP%3EI'm%20building%20a%20Power%20Automate%20flow%20to%20send%20a%20selected%20file%20to%20an%20external%20web%20service.%20This%20flow%20should%20be%20availble%20to%20a%20set%20of%20users%20(groups)%20on%20all%20Sharepoint%20libraries%20(ultimate%20goal%20is%20to%20access%20this%20flow%20from%20Teams).%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%2C%20I%20cannot%20understand%20why%20the%20trigger%20%22For%20a%20selected%20file%22%20needs%20both%20site%20address%20and%20library%20name%2C%20when%20I'm%20starting%20this%20flow%20by%20selecting%20a%20file%20in%20a%20library%2C%20and%20then%20select%20%22run%20flow%22..%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWith%20theese%20two%20parametes%20it%20seems%20like%20I%20need%20to%20create%20separate%20flows%20for%20each%20and%20all%20libraries...%3F%20Same%20goes%20for%20the%20action%20%22Get%20file%20properties%22%2C%20which%20takes%20both%20site%20address%20and%20library%20name%20together%20with%20the%20file%20id.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EAm%20I%20doing%20it%20wrong%2Fusing%20the%20wrong%20trigger%20and%20action%3F%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1107396%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3ESharePoint%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1108316%22%20slang%3D%22en-US%22%3ERe%3A%20Using%20the%20trigger%20%22For%20a%20selected%20file%22%20without%20providing%20Site%20address%20and%20document%20li%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108316%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F444932%22%20target%3D%22_blank%22%3E%40OlaSan%3C%2FA%3E%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EYour%20understanding%20of%20the%20%22%3CSPAN%3EFor%20a%20selected%20file%22%20is%20correct%20and%20is%20intended%20to%20be%20used%20on%20a%20per%20site%20and%20library%20basis.%26nbsp%3B%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EThere%20is%20a%20%3CA%20href%3D%22https%3A%2F%2Fpowerusers.microsoft.com%2Ft5%2FPower-Automate-Ideas%2FMultiple-Triggers-For-The-Same-Flow%2Fidi-p%2F41352%22%20target%3D%22_self%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%22%3EUser%20Voice%3C%2FA%3E%20that%20speaks%20to%20your%20post%20and%20is%20might%20be%20worth%20voting%20on.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3EI%20hope%20this%20helps.%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%3ENorm%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
New Contributor

Hi community!

I'm building a Power Automate flow to send a selected file to an external web service. This flow should be availble to a set of users (groups) on all Sharepoint libraries (ultimate goal is to access this flow from Teams).

 

However, I cannot understand why the trigger "For a selected file" needs both site address and library name, when I'm starting this flow by selecting a file in a library, and then select "run flow"..?

 

With theese two parametes it seems like I need to create separate flows for each and all libraries...? Same goes for the action "Get file properties", which takes both site address and library name together with the file id.

 

Am I doing it wrong/using the wrong trigger and action?

1 Reply
Highlighted

Hi @OlaSan,

 

Your understanding of the "For a selected file" is correct and is intended to be used on a per site and library basis. 

 

There is a User Voice that speaks to your post and is might be worth voting on.

 

I hope this helps.

 

Norm