How to attach pdf to a gmail node?

I am facing trouble attaching a pdf file to the gmail attachment.

i am a total beginner i dont understand what binary conversion everyone is talking about? please help me out here as i am a total noob. i am taking the pdf as a form submission and then i dont know how to proceed.

also i have attached my worflow pic as well.

if you can tell this is me trying to make a cold emailing automation where all the details are in the google sheet and at the beginning i am attaching the pdf file. is this optimal for my work ? do you have any suggestions? can you please help me to attach the .pdf file to the email?


here is my gmail node.

Information on your n8n setup

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

Hi @Den_K

Please can you share your workflow in a code block so I can try and fix it for you. Please pin some sample data from the Get lead sheet node.

Essentially you need to pull the attachment binary all the way from the on form sub node right before the gmail node for this to work.

here is my workflow-

Please fix this and if you can optimize this as well. I have been trying this for very long and still no progress from my side.

sample data-

Company HR Email(s) Location(s) Description
Siemens [email protected] Bangalore A German multinational conglomerate and Europe’s largest industrial manufacturing company, focusing on digitalization and automation.
Wipro [email protected] A leading Indian multinational corporation that provides information technology, consulting, and business process services.
American Data Solutions [email protected] An American company providing IT professional services and specialized software solutions for the military and aerospace sectors.

If this is not appropriate format then i am very sorry…