Hi, total newbie here and desperately trying to understand how onedrive mapping works! I have a folder on onedrive. When i drop an image file into the folder, i want make to download the image and then upload the image to chatgpt to ocr the image and grab the text. So i’ve got a scenario with a onedrive module watching the folder - which seems to work fine, but i’m struggling to get the next module (onedrive/get a file) to grab and download the image. Getting very confused with FileIDs and paths and need to work out exactly what goes in each field. Any help much appreciated.
Hi,
You should use “OneDrive Download a File”, I guess.
You can use File ID from “OneDrive Watch Files” to be able to download a file from OneDrive.
I can upload a simple blueprint if you wish.
Good luck:)
Nice one - changed it to one drive download a file but still cant figure out mapping. Yes please - any/all info would be very useful - thanks!
Here you are:
blueprint (4).json (5.5 KB)
Aah so that’s a blueprint?! not sure i can pick my way through that - but thanks very much Kirill.
Here’s a screenshot of my actual current problem. in the download a file folder it seems to be requesting a specific file but i’m trying to get it to download any file that’s added to the folder, not a specific named file. Any thoughts?
The OneDrive Watch Files component monitors changes in your OneDrive. When you add a file, it provides the File ID of the newly added file, which can be used with the OneDrive Download a File component.
If you want to work with files from a specific folder, use the “Parent Reference” → “Path” field in the output bundle of the Watch Files component to filter the results accordingly.
So should this work? Because it doesn’t seem to work when i test it…? I was hoping that it would see the single image in the folder and tell me its downloaded it but there’s no message there.