How can I reference a binary file (specifically data) that was output from the second node (HTTP Request) in the 7th node (Google Drive → Upload File)?
For backup purposes, I also created a copy of the binary data as backupBinary in the 3rd node (Code in JavaScript), using the following code:
Visually, it looks like the backupBinary was created correctly.
The reason I did this was because the next node (Extract from File) seems to convert the binary to base64, and I assumed this causes the original binary to be removed — which is why I tried to preserve it as backupBinary.
However, after doing more research, I now believe that converting to base64 might not actually remove the binary field, so maybe this backup is unnecessary.
What I tried:
In the Google Drive → Upload file node, I set the “Input Data Field Name” using an expression:
{{$node["HTTP Request"].binary["data"]}}
What is the error message (if any)?
This operation expects the node’s input data to contain a binary file ‘[object Object]’, but none was found [item 0]