Hey all, having an issue with n8n sub-workflow not receiving data from the parent workflow. I’ve searched other topics and can’t quite find the right fix for my situation.
Pretty basic- user submits a form with Company Name and Company Website. Those parameters are passed to a sub-workflow where I have a handful of OpenAI queries running in parallel.
Thanks @mohamed3nan! So, this is hooked up correctly I believe. My primary workflow is called Account Research and my Sub-workflow is called Research, and I am plugged into Research.
I tried the other way around but got an error. So I believe this is correct.
Note, when I run the sub-workflow, I don’t get an error, I just get null values as the actual values are not passed though.
Hey @mohamed3nan sorry, I’m not understanding. Day 1 of using n8n
I made a quick 3 minute Loom video if this would help? I think its linked correctly. I’ve tried all possible ways of linking and its not working in any scenario.
Hi @wewu,
Thanks for taking the time to explain the video, this was really helpful.
From what I see, it’s linked correctly, and you’re right.
Now, in your subworkflow “Account Researcher”, when you click on the “Execution” tab, do you see the last execution? And is there no output shown there?
Workflows are successful, just not passing the data through, so OpenAI returns an incorrect result. You can see these json snippets are not working, as the data is not passed through to the sub-workflow as expected.
Hey @mohamed3nan tbh, not sure what it did, but it seems to be working now. Ill wrap this up and test and will report back! Thanks for your help, hopefully this is resolved!