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

Problem with Conversational Agents session parameters - cloud function integration

Hi, I'm trying to use the tool from playbook.
My tool is conected with a cloud function that returns a JSON list. 
All conections are OK and tested.

My issue is that I get the answer from there, but when I try to use this in my converstational agents chat I get no value. How can I solve this?

First I tried to set this variable via playbook prompt, then I use in my function the fulfillment_response stuff, setting up the parameter json_resp, but still not working.

My example calling my function and didn't setting the variable properly:Captura de tela 2024-12-24 104625.png

At that time, I've already had the values:

Captura de tela 2024-12-24 104607.png

But, as you can see in the first image, the session parameter don't work.

Thanks

Solved Solved
1 5 1,031
1 ACCEPTED SOLUTION

Hi, this idea of call a variable doesn't work, so I tried to work with examples in the playbook tab, after some examples the playbook generate automaticly and that worked.

View solution in original post

5 REPLIES 5