"Send email" with two attachments

Describe the problem/error/question

Hello folks, I need some help in order to make my send email step work.
I’m trying to get two previous files generated (convert JSON to CSV) and attach them in a single email.

What is the error message (if any)?

I’ve filled the “Attachment” option with the two binary names: indiaPrecipitation,indiaTemperature (comma separated) but I get a no binary field error:

“The item has no binary field ‘indiaTemperature’ [item 0]
Check that the parameter where you specified the input binary field name is correct, and that it matches a field in the binary input”

Please share your workflow

Information on your n8n setup

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

You got this error because you didn’t provide json file to it before converting. You must have to provide a json file which name is ‘indiaTemperature’

Hi @pomegal this is only part of my workflow. The previous steps I’ve omited.
One thing thats strange is if I put on “attachments” the indiaPrecipitation binary name the email is send by throws the exception:

The item has no binary field ‘indiaPrecipitation’ [item 1]
Check that the parameter where you specified the input binary field name is correct, and that it matches a field in the binary input

If I put the indiaTemperature binary name, the step doesn’t run and the exception is:

The item has no binary field ‘indiaTemperature’ [item 0]
Check that the parameter where you specified the input binary field name is correct, and that it matches a field in the binary input