Using values from previous module without running scenario

:bullseye: What is your goal?

When I create a scenerio I cant use values from previous module in next module unless I run the scenario. Is this how its supposed to be? Or am i making a rookie mistake?

:thinking: What is the problem?

Example
I am pulling data from last row of google sheets
I want to use this data to be sent to GPT in a prompt.
But I wont be able to access the variables of data from sheets unless I run scenario once.

Yes, you are not supposed to run the modules manually after the initial setup is done.

Hey @Nikhil_Parachure , that’s a common occurence that happens whenever you try to run a single module in your scenario without having any data in the previous module. That’s not exactly a mistake, it’s just a default thing that happens in that scenario. it’s mainly for testing.

Just to add one more detail: this happens because Make only exposes module outputs after it receives real data. Until a module runs, there’s no data structure for the next module to reference.

A common workaround while building is to run only the previous module (right-click → Run this module) to generate sample output, instead of running the full scenario.

After that, the variables stay available for mapping.

Regards, Tony

2 Likes