PDF to text conversion not working in Google Drive node

I’m trying to access my Google Drive folder, which contains a PDF file. I’m using two nodes to retrieve the file ID and then convert it to text. However, as shown in the image below, the PDF is not being transformed into text.

I’m following a tutorial, but it wasn’t explicit about which OAuth credentials or APIs are required. After searching through the n8n documentation, I found that I need to set up OAuth credentials and enable the necessary services, in this case, Google Drive. However, I’m unsure if I misconfigured something or if there’s an additional API that I need to enable in my Google Cloud Platform (GCP) account.

There’s no error message displayed on my n8n dashboard, as you can see in the image. But when I use the “Extract from File” tool in the next node and test it, my dashboard crashes.

##here is the workflow


in the output it should be text not data

my setup:

  • n8n version:1.72.1
  • Supabase(but im not using it in this workflow):
  • n8n EXECUTIONS_PROCESS setting :main
  • Running n8n via: n8n Cloud
  • Operating system: Windows

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Try adding a “Extract from File” node after your Google Drive (Download) node.
This should extract the actual text from the file which Drive Downloaded
image

1 Like

Thank you, it works now! However, I’m not sure if I should close the post, because it might be an issue with the Google Drive node that should be documented, or maybe I just didn’t search thoroughly enough😅

1 Like

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