Failed to send Gmail attachment

Describe the problem/error/question

I’m trying to send an HTML file in the Gmail attachment, but it just raise an error. This question is similar to Sending attachment via Gmail , but I just couldn’t get it work :frowning:

What is the error message (if any)?

This operation expects the node's input data to contain a binary file 'data', but none was found \[item 0\] (item 0)

Make sure that the previous node outputs a binary file

Please share your workflow

Share the output returned by the last node

This operation expects the node's input data to contain a binary file 'data', but none was found \[item 0\] (item 0)

Make sure that the previous node outputs a binary file

Information on your n8n setup

  • n8n version: 1.107.3
  • Database (default: SQLite): PostgreSQL
  • n8n EXECUTIONS_PROCESS setting (default: own, main): queue
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Kubernetes
  • Operating system: Ubuntu 22.04

Hey @FawenYo hope all is good. Welcome to the community.

I bet the issue is going to be that you use the append mode in the Merge node. Try changing it to combine.

2 Likes

Wow, thanks for your rapid reply! I just tried to use mode: Combine and Combine by: Postition, now the issue is solved!! Thanks a lot!!

1 Like