# Execute worflow node

**URL:** <https://community.n8n.io/t/execute-worflow-node/24366>\
**Category:** Questions\
**Tags:** execute-workflow\
**Created:** [March 22, 2023, 9:53am UTC](https://community.n8n.io/t/execute-worflow-node/24366 "2023-03-22T09:53:11Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anga\_Matsuluka](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/anga_matsuluka/32/12687_2.png) [@Anga\_Matsuluka](https://community.n8n.io/u/Anga_Matsuluka)\
**Post date:** [March 22, 2023, 9:53am UTC](https://community.n8n.io/t/execute-worflow-node/24366/1 "2023-03-22T09:53:11Z")

</div>

I had a huge workflow and I disected it into 3 parts. 2 child worflows and a Parent workflow where I am a calling the 2 child workflows, the problem is that when I execute the parent workflow it complains about the nodes that am referencing in the 2 child workflows. So I wanna know HOW CAN I USE THE NODES ON THE CHILD WORFLOWS IN THE PARENT WORKFLOW?

 ![image](https://europe1.discourse-cdn.com/n8n/original/3X/e/a/ea001b34b00deb114f050642162aa0fc1a14688a.png)

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [March 22, 2023, 10:27am UTC](https://community.n8n.io/t/execute-worflow-node/24366/2 "2023-03-22T10:27:08Z")

</div>

That is sadly not possible as they are totally separate workflows. If you need data from a sub-workflow in the parent workflow, you have to return that data with the last node in the sub-workflow so that it makes it back into that parent one.

Btw. that is not a bug. It works like that on purpose. Because of the decoupling of the workflows, it is for example possible to process huge amounts of data by offloading heavy parts to sub-workflows.

I hope that makes sense.

---

<div class="post-metadata">

**Author:** ![Anga\_Matsuluka](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/anga_matsuluka/32/12687_2.png) [@Anga\_Matsuluka](https://community.n8n.io/u/Anga_Matsuluka)\
**Post date:** [March 22, 2023, 10:31am UTC](https://community.n8n.io/t/execute-worflow-node/24366/3 "2023-03-22T10:31:02Z")

</div>

Okay thanks, any alternatuve way that I can use for this

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [March 22, 2023, 10:46am UTC](https://community.n8n.io/t/execute-worflow-node/24366/4 "2023-03-22T10:46:27Z")

</div>

You are welcome.

The only way is sadly what I described above. Making sure that the data you require in the parent workflow is available in the last node that does get executed in the sub-workflow. Because all of that data will make it back into the parent-workflow as the output of the Execute workflow node and you can then reference it there. Does that make sense?

Here also the [docs](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.executeworkflow/#how-does-data-get-passed-from-one-workflow-to-another).

---

<div class="post-metadata">

**Author:** ![Anga\_Matsuluka](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/anga_matsuluka/32/12687_2.png) [@Anga\_Matsuluka](https://community.n8n.io/u/Anga_Matsuluka)\
**Post date:** [March 22, 2023, 10:48am UTC](https://community.n8n.io/t/execute-worflow-node/24366/5 "2023-03-22T10:48:55Z")

</div>

Yes that makes sense thank you, So what if i wanna reference a node in a child or subworkflow? I am not sure if am missing the point here

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [March 22, 2023, 10:54am UTC](https://community.n8n.io/t/execute-worflow-node/24366/6 "2023-03-22T10:54:24Z")

</div>

The point is that it is not possible 😉

The only data you can access in the parent workflow is what the sub-workflow returns, which is the data of the last node. Nothing else. Meaning you have to make sure that all data you need in the parent workflow does get returned by the sub-workflow.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/system/32/195824_2.png) [@system](https://community.n8n.io/u/system)\
**Post date:** [June 20, 2023, 10:54am UTC](https://community.n8n.io/t/execute-worflow-node/24366/7 "2023-06-20T10:54:54Z")

</div>

Closed on June 20, 2023, 10:54am UTC

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