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
Three Super User rank tiers have been launched!
Features releasing from October 2020 through March 2021
We've updated and improved the layout and uploading format of the Power Automate Cookbook!
Fill out a quick form to claim your user group badge now!