HTTP Dynamic Binary inputs

Describe the problem/error/question

I want to create a HTTP POST that sends multiple binary file data. When I’m trying to bulid the body, I have some troubles with building it dinamically, because I can have 2 or 3 or 4… binary to send.

Information on your n8n setup

  • n8n version: Latest on Cloud
  • Database (default: SQLite): None
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): cloud
  • Operating system: cloud

Hi,

Can you please share your workflow with us.

Have you tried with multi-part form-data?

reg,
j.

Hi @jcuypers

I have something like this:

I have tried without the Code block that separate it on multiple binary, but I can’t send them without defining the fixed number of attatchments.

Any solution on this?