How do I pass the File ID using the HTTP Request/Post?
Objective: I am learning how to use HTTP Request and HTTP Post to pass the File ID between two Flows because I want the results of an approval flow to trigger another flow for the same file.
Issue: The ID field I created is not available in the Get File Properties connector.
What I did:
I am generated some basic JSON for two values (File ID and File Name) and set both as 'string'. These show up when I try the Create File connector under File Name but not the Id field under Get File Properties. Is my variable type/JSON incorrect?
"description": "A file",
"description": "The unique identifier for a file",
"description": "File name",
I assume that you could use the action Send HTTP request to SharePoint in the flow to get the exact file Id corresponding to the specific file name.
Please take the following docs for a reference and try it on your side:
Thank you, that linked helped a bit. I changed the File ID field to Integer and then I was able to use it in Get File Properties's Id filed.
However, I am still having trouble getting this to work. I have be searching for a simple working example with screenshots of what I am looking for.
Can you/someone help show me a case where Flow A passes a the File ID to Flow B using HTTP post/request?
- Flow A: at the end, have HTTP post that includes the File ID
- Flow B: begins with an HTTP request which grabs the file ID
Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.
Learn to digitize and optimize business processes and connect all your applications to share data in real time.