Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Conversational Agent: Error when passing object as input parameter to playbook/flow

In my playbook I call a tool that returns json. This response is passed to another playbook as input parameter with a type defined in tool.

When I run my agent, it throws an error:  

Error! Reached max number of action invocations.

However, if I reduce the size of json response, everything works fine. Are there any specific restrictions on the size of values ​​that can be passed to input parameters?

PS: The same issue happens when I pass json as input parameter to flow

0 2 127
2 REPLIES 2

Based on the error it seems there  are size restrictions for input parameters. If your JSON is too large, you’ll get errors. Use external storage for large data and pass only references between playbooks or flows. 

It would be good to know exact restriction for input parameters. The documentation doesn't say anything about that. At least I didn't find any information