Using both binary and field data in the same node

Hello,

I want to use both the binary data from an image and the response/text of the output of an ai to set the text of that image by using the ai output.
The problem is that I can’t seem to use both at the same time, I can either only access the binary or the field data. I’ve checked the forum for other people having the same problem and apparently this doesn’t seem to be supported. However the post I’ve read was from 2022, so surely there has been an update by now making it possible after 3 years of development time. I just want to confirm if it’s still not possible or if I’m missing something.

Thanks in advance.

Information on your n8n setup

  • n8n version: 1.81.4
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): npm
  • Operating system: Windows 11

Run the source of the binary and the source of the json data into a merge node in Combine By Position mode. The output of that should be what you need.

1 Like

I already tried that, running the merge node gives back 2 separate inputs, which I can’t use both at the same time.

I just tried it to be sure. See if you have something set up differently (workflow below).

My merge output looks like this:
Binary


Same Item - JSON

Nevermind, your suggestion worked.
I had used a merge node but must’ve used a wrong option in one of the dropdowns.
After deleting it and trying again it worked this time (producing only 1 output item from which I could access all the data I wanted).
Thanks for the help.

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