Hi everyone,
I’m following a tutorial where I use a Google Docs node to retrieve my resume and then pass it into a “Message a Model” node to compare it against job descriptions.
The strange part is that the Google Docs node appears to work correctly. I can execute it and retrieve the document content. However, the workflow cannot be executed because n8n reports:
Parameter “File Name” is required
The problem is that I cannot find a “File Name” field anywhere in the workflow.
Current setup:
-
Manual Trigger
-
Google Docs node (“Get Resume”)
-
Scrape Jobs
-
Loop Over Items
-
Message a Model
The Google Docs node contains the document URL and successfully retrieves the document. The error only appears when validating/executing the workflow.
Things I’ve already checked:
-
Google Docs node executes successfully
-
The document is accessible
-
The Message a Model node is configured with text prompts, not intentionally with file uploads
-
The workflow worked exactly like this in the tutorial I’m following
-
I cannot find any visible field called “File Name” in either the Google Docs node or the Message a Model node
Hi @mogsahur, welcome!
I think the problem can be related to how you are giving that downloaded document to the AI agent. I would recommend that if that is a binary file being downloaded, you can extract contents from it first and then give it to the OpenAI node, basically using an extract from file node to extract the content and then passing it down to it as a prompt for context. It would be very helpful for us to debug if you can share your workflow along with some pinned data if possible.
Hi @mogsahur
The problem is happening because n8n is confused about whether you are sending a piece of text or an actual file. Your Google Docs node is likely outputting the resume as a “binary file” (like a downloadable document) rather than just the written words. Because of this, the AI node thinks you are trying to upload an attachment and is complaining that you haven’t given that attachment a name.
The simplest fix is to make sure your Google Docs node is set to retrieve the text content only. Check the settings in that node to ensure it is performing a “Get” operation to pull the text. Once you do this, you can simply plug that text directly into your AI prompt using an expression, and the AI node will stop looking for a file altogether.
If you actually want the AI to analyze the document as a file, you need to tell the AI node where to find it. Look for a section in the AI node settings related to “Attachments” or “Binary Files.” In the field where it asks for the file name or property, simply type the word data. This tells n8n to take the file coming from the Google Docs node and hand it over to the AI.
Finally, check the bottom of your “Checks Relevance” node where it says “Tools.” If you have any tools connected there—like a document loader—they often require a file to function. If a tool is attached but not configured, it will trigger this error even if your main prompt is just text. If you aren’t using a specific tool, make sure nothing is accidentally plugged into that bottom port.
You may want to give the workflow a try or just replace the Get Resume node
Important: You will need to re-select your Google account credentials and paste your actual Google Doc ID into the “Get Resume” node.
Welcome to the n8n community @mogsahur
Could you please open the node checks relevance and share the error message that appears on the left side? These are usually shown in red lines. If possible, also share your JSON without any sensitive data. This way we can provide support more accurately.
In the meantime, on the Google Docs node, please confirm the get document operation and see how the fields were generated and transferred Google Docs node documentation | n8n Docs