Binary to Base64 Conversion

Hey there everyone - just to start I want to say I am a beginner using n8n with limited coding experience (I am learning)

I am trying to create a workflow where images uploaded to a Google Drive folder are converted via OCRspace so the text in the images can be put into a Google Sheet

The download node shows that the the output has binary data:

However, the debug node after the download node shows that binary data is present but the preview returns “filesystem_v2” - which, from my understanding is a placeholder used by n8n but no data is actually present:

Then I created a node to manually convert the binary data to base64 - I received an error that no base64 data is present:

I also tried using a Convert to File node but an error occurred - I did put the output of my download node to ‘data’ but the Convert to File node indicates that the value of ‘data’ is not set:

Ill be honest, I am really confused and stuck on what to do. Any advice would be great - thank you!

Information on your n8n setup

  • **n8n version: 1.101.2
  • **n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • **Running n8n via n8n cloud
  • **Operating system: 64-bit operating system, x64-based processor // 13th Gen Intel(R) Core™ i7-13700HX 2.10 GHz

Hey @Hillary_Leo hope all is well and welcome to the community.

Here you go:

Manual trigger → search for files → download files → send files to ocrspace.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.