Input data from other nodes into Execute Workflow, not just the adjacent node

Describe the problem/error/question

I currently have an Execute Workflow node that must be executed after running other nodes. However, when passing the data to the Execute Workflow node, it receives completely different input than what I intended from five nodes back.

Please share your workflow

Share the output returned by the last node

Here’s a sample output that the Execute Workflow receives. However, I want the output from the very first webhook as an input to it. As you can see, I also need this routing logic before passing the data. So I find myself in a conundrum.

    "gptResponse": {
      "i": "R",
      "l": "English"

Information on your n8n setup

  • n8n version: v1.4.1
  • Database (default: SQLite): Postgress:11
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own
  • Running n8n via (Docker, npm, n8n cloud, desktop app): DOcker
  • Operating system: Linux

Hi @physx911 :wave:

Can you try adding a Set node that holds the data you want to keep and pass over in a new field just before that Execute Workflow node? That might fix this up :thinking:

The Execute Workflow node will always pass current input data, but with a Set node you can use any expression to populate a new field, including an expression reading the data from your Webhook node :grinning:


Thank you, this works.


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