Normally the Google Drive node for downloading files provides a schema in the output that includes the file ID, but for some reason I’m not getting it. My workflow is below.
As far as I know, the Gdrive Download node does only provide the binary file incl. name and no JSON data.
But to download a file, you already have to know the id anyways from a prior node, right?
So you can access the id form the previous node or merge the output of the download node and the previous node.
To receive a more detailed answer, please share your complete workflow here and what you’d like to achieve.
Do you see it below? I’m having a hard time sharing the workflow code.
If that doesn’t work, the Youtube link in my post is timestamped to where the user there is someone getting the file ID from the note itself. Any idea what I am doing wrong?
@salmansolutions is right: the Google Drive “Download” operation is primarily a binary-return node. In many cases it will only output binary (with filename/mimeType metadata inside the binary object), not a rich JSON schema that repeats the file id.
That’s why you’re not seeing fileId “in the output” like in some older examples/videos.
What’s happening in your workflow
Your Download file node is using a static fileId in the node parameter UI (value: "1jBtt3p...").
When a node parameter is static like that, n8n doesn’t automatically inject it into the item JSON output. It just downloads the file and returns the binary.
The clean fix:
If your goal is “get fileId from Supabase → download file”, your node order should be:
Supabase (Get many rows) → returns a row containing google_drive_file_id
Google Drive (Download) → set File ID to an expression, e.g.: {{$json.google_drive_file_id}}
Now the file id is already in the incoming JSON item, and you keep it alongside the binary.
If you must keep your current order
Just add the id back into JSON right after the download.
Option A: Set node (simplest)
Add a Set node after Download file:
That looks like a placeholder, not a real file id value. If you intended “match the file id”, it should be the actual id (or an expression pointing to it).
Summary: The Download node isn’t “missing” the file id — it just doesn’t echo parameter values into output JSON. Either query Supabase first then download, or add fileId back with a Set/Code node.