Linking the JSON parser module to update Google sheet module

:bullseye: What is your goal?

Hi Team,
Need help to proceed with a scenario. I am trying to link the output of JSON parser (3 bundles in the scenario) to a Google sheet- update row module. When I run the scenario I see that the the JSON outputs correctly, and the Google module also runs successfully. But I see that the rows get randomly updated or (or not at all). Can someone help with this? I suspect my mapping is incorrect or I am missing a module

P.S I’m not able to share multiple screenshots to this thread (can upload only 1)

:thinking: What is the problem & what have you tried?

Please see above

:clipboard: Error messages or input/output bundles

I do not get any errors

:camera_with_flash: Screenshots (scenario flow, module settings, errors)

1 Like

Hi @Amrita_007,

I think the modules are correct; you just need to remap the values and try again.

Hi @Amrita_007,

The issue seems to be coming from the AI agent’s response format, not from the Google Sheets module.

From the screenshots, the AI agent is returning different JSON structures on different runs. In some cases, the values are inside the results array, sometimes inside the users array as you mapped, and in other cases the fields are returned outside the array or with different key names. Because of this inconsistency, the JSON Parser mappings change, which causes rows to update randomly or not update at all.

To fix this, the AI agent needs to be forced to return a strict and consistent JSON structure every time. Below is the configuration set up that you can follow while creating the AI Agent:

In the Additional system instructions tab:

  1. Add the JSON structure above
  2. Clearly mention that the output must follow this structure
  3. Also include a sample example output using the same format
    Screenshot for your reference:

In the Output schema tab:

  1. Select Make schema
    Screenshot for your reference:

In the Output Structure tab:

  1. Click Generate
  2. Provide a sample JSON output matching the structure exactly (with example values)
    Screenshot for your reference:

After successfully setting this response format, remap the values in the JSON Parser and Google Sheets module, save the scenario, and rerun the modules. Once this is done, the updates should work correctly.

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation

1 Like

Thanks a ton , that helped! Quick question- do I need to generate the Make schema with sample output or can I just put it in Additional System Instructions? (I did both the things though!)

Thanks a ton for the prompt responses! Wouldn’t be able to proceed w/o you help!

1 Like

Hi @Amrita_007 ,

Thank you for your kind words - I’m glad the guidance was helpful.

You can rely on Additional System Instructions alone, and it should work correctly.

However, providing both the Additional System Instructions and the Make schema with a sample output is recommended, as this gives the AI agent a clearer understanding of the expected response structure, improves consistency, and ensures the output aligns better with our intended behavior.

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation

Hi @Msquare_Automation

Thank you so much! Can you please help with the below scenario?

I think I need to use aggregators etc. but not sure what should be the settings or what point in the flow! Thanks a ton for your help!

1 Like

Hi @Amrita_007 ,

Hope the issue with linking the JSON Parser module to the Update Google Sheets module is now resolved. If this solution helped you, we’d really appreciate it if you could mark the answer as Solution. This helps keep the community healthy, organized, and useful for everyone.

We will also check the issue mentioned here: Sheet update after all the rows have been updated
and will get back to you as soon as possible.

Best regards,
Msquare Automation
Platinum Partner of Make
@Msquare_Automation

1 Like