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 to digitize and optimize business processes and connect all your applications to share data in real time.
Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.
At the monthly call, connect with other leaders and find out how community makes your experience even better.
If you are a small business ISV/Reseller, share your thoughts with our research team.