Multiple binary files, how to reference all of them in next node?

Describe the problem/error/question

I have a webhook node that gets multiple binary files as input from another service. I have named the files “upload” in the service I use, but when receiving the files in n8n, they show up as “upload0”, “upload1”, “upload2”, and so on. Now, I plan to use the “Read PDF” node to read the contents of the files. This doesn’t work, and it shows an error. Not only in the Read PDF node, but I also plan to send these files separately to another service (Gotenberg) through HTTP Request if I get files in the webhook in formats other than PDF. But, I would first like to get a basic version up and running.

Webhook node output:

Read PDF node output:

What is the error message (if any)?

ERROR: Cannot read properties of undefined (reading 'id')

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 0.234.1
  • Database (default: SQLite): Postgres
  • n8n EXECUTIONS_PROCESS setting: main
  • Running n8n via: Docker
  • Operating system: Ubuntu Server 22.04 LTS

Please ignore this, as the solution provided in this post worked.


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