DOC/DOCX files upload to Gemini AI

:bullseye: What is your goal?

Build a recruiting automation where Gemini AI analyzes incoming resumes in multiple file formats (PDF, JPG, DOC/DOCX) stored in Google Drive, extracts the content, and performs a pre-selection of candidates based on defined criteria.

:thinking: What is the problem & what have you tried?

I’m having issues with DOC/DOCX files.

PDF & JPG & PNG → successfully passed to Gemini AI.
DOC/DOCX → I convert them to Google Docs, but when I try to extract the content using Get content of a document, the output is empty / zero

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

HR Recruiting Agent.blueprint.json (226 KB)

Hi, this is a pretty common Google Docs + Make quirk. When you convert a DOC/DOCX to a Google Doc, the “Get content of a document” module often comes back empty. Nothing wrong with your setup.

The easy workaround is to export the file instead of reading it directly. Export the file as TXT or PDF, then send that content to Gemini. That usually works without issues.

So it’s not a Gemini problem, it’s just how converted Google Docs behave in Make.

Hope that helps.

Regards, Tony

Hi, Tony. Thank you for your fast reply. The problem is that there is no such a module as “Export a File” for Google Drive. So what would you recommend to do in this case?

1 Like

After converting DOC/DOCX to Google Docs, add a Sleep module, then use an HTTP → Make a request to the Google Drive files/{fileId}/export?mimeType=text/plain endpoint and send the returned text to Gemini, instead of using Get content of a document, which returns empty output.

But if you still face some chanllenge you can kindly reach out

1 Like

Hey! Did you solve this issue?

I set it up, but it still doesn´t want to return the plain text result:

Here are the settings:

I set up the delay for 30 seconds.

HTTP Google OAuth 2.0 scope was set up as:

Not yet… I can´t find the proper solution.

Welcome to the Make community!

You can try using the Google Drive “Download a File” module —

Downloads a file.

You can expand the Advanced Settings to download the file as text.

For more information about the “Download a File” module and the Google Drive app, see the corresponding Integrations page and the Help Centre documentation.

— @samliew