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

Unable to pass the parameters between playbooks in google conversational agents

Question/problem: while trying to pass the parameters extracted from an OPEN API tool in a child playbook to a parent playbook it is unable to do so, in the trace debug it is showing up as " error unable to parse" and in the original response, the "actionParameters" for playbook output is null despite defining in examples and in the output parameters of child playbook.

Parent playbook - Order Status:
starting instructions where it calls the child playbook to retrieve user order history and username 

vikram_6174_2-1744094325595.png

example defined :

vikram_6174_3-1744094376569.png

user order history playbook expanded :

vikram_6174_4-1744094406167.png

vikram_6174_5-1744094418970.png

vikram_6174_6-1744094452508.png

vikram_6174_8-1744094468709.png

defined output parameters that needs to be passed to the parent playbook.

vikram_6174_11-1744094508686.pngvikram_6174_12-1744094613882.png

Child playbook : User Order History

Instructions provided :

vikram_6174_13-1744094739982.png

example provided to the playbook:

vikram_6174_14-1744094787227.png

vikram_6174_16-1744094835663.png

 

vikram_6174_19-1744094922026.png

vikram_6174_20-1744094937242.png

parameters that child playbook returns are defined under the parameters tab in child playbook as below.

vikram_6174_21-1744095087700.png

During the conversation as below :

vikram_6174_22-1744095150918.png

vikram_6174_24-1744095268857.png

The tool is getting the output properly but the child playbook is unable to emit out through the output parameters during the conversation as defined in the example.

vikram_6174_23-1744095243694.png

 
Error messages :
In debug trace 

vikram_6174_1-1744094226665.png

IN original response :

The tool output is 200 status 

vikram_6174_25-1744095371112.png

but the playbook outputActionParameters is empty due to which the error is occurring.

vikram_6174_26-1744095443717.png

Can you please tell me where it is going wrong ,I have read the documentation but didn't find anything helpful, I followed whatever they mentioned in it.
Any help or lead would be much appreciated.

 

0 2 119
2 REPLIES 2