I’m trying to build a parent scenario that calls two child scenarios sequentially using the Call a scenario module.
Each child scenario performs a specific analysis and returns structured output. Both child scenarios run correctly when executed independently.
What is the problem & what have you tried?
When calling them from the parent scenario, the output comes back empty.
I am under the impression that the Call a scenario module only allows mapping inputs from previous modules in the bundle
So, because of that the second child scenario can map inputs correctly (although from the previous module, so not necessarily correct), since it can use the output from the previous scenario.
But the first child scenario cant map its inputs, because there is no previous module generating those values
Things I’ve tried so far:
Using Call a scenario normally
Changing the trigger from Call a scenario to Start a scenario
Where does the mfh_data value come from? Your parent scenario has an on demand trigger and is supposed to receive that value from somewhere else. Thus, it’s a bridge scenario itself.
What happens during the execution? What is the value of mfh_data_output when the parent scenario runs? Is this what you’re mapping to mfh_data?
The mfh_data value comes from a child scenario that retrieves the data from Google Sheets, runs it through an AI step for writing, and then returns the output (mfh_data)
Just for some context:
The mfh_data_output variable was originally created when I was working on the parent scenario. At the time, it required an input from the child scenario, so I created:
mfh_data as the input (although it was blank, since I couldn’t map the scenario output there), and
mfh_data_output as the output
I have now removed the input and renamed mfh_data_output to mfh_data, but it is still not working
Sending one of the child scenarios below for your reference
First, your parent scenario [DATA AUTOMATION] Integration Scenarios has an on-demand trigger and has input parameters. That makes it a bridge scenario (a child scenario that runs child scenarios). How is this “parent” scenario triggered? Do you run it manually and provide input parameters yourself? I don’t think so.
Thus, your input parameters are probably not necessary in this case and this statement reinforces my opinion:
What you described above is probably the child scenario[DATA AUTOMATION] Analyze the MFH nation.
You don’t need to map input parameters on the parent scenario so it receives data from a child scenario. It works the other way around.
This is a basic representation of how it works: Parent scenario provides input parameters for child scenario → child scenario runs and produces output parameters → these output parameters are immediately available to the next module(s) on the parent scenario.
So, you need to define a trigger for the parent scenario (say, once daily). When it runs, first it calls the [DATA AUTOMATION] Analyze the MFH nation child scenario. This sub-scenario probably doesn’t need any input data, since the Google Sheets module has no filter to it.
Then, once it’s complete, its results will be available to the next child scenario, if needed, and for the last OpenAI module.