Need help in Passing Json output as an input to next node

Hi,

I am trying to pass the complete json output from a function node as an input to the next node. Is there a way to do it.

for ex : function 1 returns a Json output and i trying to move that json output as json input for a next node…

Hi @Sathya_Narayanan, I think I don’t fully understand the question I am afraid. JSON data should get passed on from one node to the next. For example here you can see the JSON output from my Function node would be available in the next node (NoOp):

Example Workflow
{
  "nodes": [
    {
      "parameters": {
        "functionCode": "return [{\n  json: {\n    foo: 'bar'\n  }\n}];"
      },
      "name": "Function",
      "type": "n8n-nodes-base.function",
      "typeVersion": 1,
      "position": [
        513,
        393
      ]
    },
    {
      "parameters": {},
      "name": "NoOp",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        713,
        393
      ]
    }
  ],
  "connections": {
    "Function": {
      "main": [
        [
          {
            "node": "NoOp",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

Can you confirm what problem exactly you are facing? Many thanks!