Hi
Im trying to achive the following. I need a flow that will be available to multiple document librarys in sharepoint. So i have a column in does those librarys that i call button, this contains a button that starts a flow.
Now what i want to do in the end is to run a flow that checks if the file is a specific content type publish it to this locations. Now this is fine if create the flow for each list i want it to run in.
My Button flow in the list triggers a flow that looks like this.
Manually trigger a flow.
Http send request
The Http send request should send to the new flow that is trigged by a When a HTTP request is recived.
Now i dont know how to get the data i need to make the rest of the flow work. I would need the first flow to send the Http request containing the file, fileid, location of the file and all the fields in the sharepoint list. This way i can re-use them in the flow 2.
But how can i get the data i need to make flow 2 work and trigger in the right file in the right location.
Im new to json so i dont really know how to extract the things i need. I would need Location of the list and the fileid i can then use this in a get item and get more data.
https://veenstra.me.uk/2019/04/29/microsoft-flow-deploying-flows-to-all-your-project-sites-or-maybe-not/
Appriciate all help i can get