How do I send a Gmail that includes an attachment from Google Drive

Describe the problem/error/question

I want to ask as I’m not able to find a topic where I understand how it works: I want to send a Gmail and just want to attach a Google Sheet document that is on Google Drive.

What is the error message (if any)?

n.a.

Please share your workflow

I don’t have a workflow yet but it should be very simple: a manual trigger and then Gmail sending an email with an attachment

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hi @HendeRoc, welcome to the community.

Have you tried using a Google Drive node before your Gmail node? You could use the ‘Download’ operation to select the file from your Drive, and then ‘Put Output File in Field’ option to then pass the file onto your Gmail attachment input.

Let me know if this helps,

Thanks
Jake

Thank you @jake. This helped alot and I am now able to send a Gmail with an attachment coming from Google Drive. My search skills failed me finding something that I could understand but your explanation was spot on.

Glad I could help, happy building!