Gmail forward email with attachment binary

Describe the problem/error/question

I add a ‘send message’ node with an attachment field. The binary input shows the attachment I need. But the node fails to recognize the attachment. It shows as empty.

What is the error message (if any)?

Problem in node ‘Forward to gekko with attachment‘
This operation expects the node’s input data to contain a binary file ‘data_0’, but none was found [item 0] (item 0)

Please share your workflow

I have a gmail trigger with download attachment enabled. And I use a merge block just before sending email.

Information on your n8n setup

  • **n8n version: 1.75.2 **
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via Docker
  • Operating system: Ubuntu

I didn’t change any environment variables, so I’m assuming the file stays in memory as the default settings says. It is a small file, and it should fit.

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:

I found the answer myself: I changed the merge to only pass the data from the gmail trigger. Now it works. Previously I had set the merge block to append, but that didn’t work.

1 Like

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