I am looking to use the HTTP trigger in a SharePoint site.
Basically, I am trying to create a generic flow that can be used by all libraries in a SharePoint site.
Can you provide some more details what you are trying to achieve using HTTP Trigger?
When a user uploads a file to a SharePoint document library, I want the flow to be triggered.
I do not want to use the SharePoint triggers since the document library name is required.
I want this flow to be generic and triggered using user inputted parameters like doc library name, email etc.
Ok Got it. So You can use HTTP trigger. If you can send JSON Body, then you can add those parameters to BODY else you can send it as querystring parameters and then use in the flow...
Is there a tutorial I can refer to? And, would the user be presented with textboxes to input these parameters or would it be hard coded?
No. HTTP Trigger is like a service. You need to develop a UI in case you dont have. You can use PowerAPP if you wish to.. Create a List with required columns that you need to accept from users for parameters. Then customize it using PowerApp and on Submit, Invoke Flow as a HTTP Service. You can also invoke Flow actually from Power App.
Learn how to create your own user groups today!
Check out the new Power Platform Community Connections gallery!
Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.