Get any node's output

Newbie question.

Is there a way to capture/get any node’s output?

I’m have a “Read Pineconce Vector Store” node that cant’n connect to a node like “code” to get it’s output besides the embeddings and retriever.

Since I can view the output into the “output” UI, Iwould expect to be able to just… use it

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

you can access a node that you have previously executed as long as it is connected to the current node, like this:
$("code").item.json for the current item
$("code").first().json for the first item

Thankyou @KHarv , I will ask for a bit more of help, complete newbie trying to learn ASAP.

Do you mean I can access to that Vector Store Retriever output data from the code/function node?

I’ve tried by $node[“Vector Store Retriever”].json

image

That’s slightly different as the Q/A chain is a complex node. In that case I believe you would have to set up a manual chain of LLM and vector store (like Pinecone node) and then you should be able to read the vector output further down in the flow.

1 Like

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