Uploading multiple files to chat question/issue - is there an iterator?

Describe the problem/error/question

don’t know how to access each binary in a chat. i attach multiples and can iterate through them but the binaries themselves - how can i access each one? i don’t know what to put into the blue circled field to access the right binary. Is there an iterator i can use? i need ‘data0, data1, etc’ .

both binaries are included on the two iterations, which to me seems like a bug or missing feature. They both should just get ‘data0’ or something like that.

as you can see both runs include both of the attached files so how do i access the right one?

What is the error message (if any)?

none, it is just a question.

Information on your n8n setup

  • n8n version:
  • most recent
  • Database (default: SQLite):
  • SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • own,main
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • docker on render
  • Operating system:
  • n/a

Answering my own question (thanks chatgpt)

{{ ‘data’ + $itemIndex }}

2 Likes

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