Issue with Passing Parameters from "Page" to "Playbook" in Conversational Agent project

Hi everyone,

I’m currently working on a conversational agent to create a seamless chat experience. My goal is to pass parameters collected on the starting page (e.g., ($session.params.id, etc.) to a Playbook in order to process them further and guide the conversation, including invoking tools.

However, I ran into an issue after creating the playbook with goal and instructions. I can’t find the Parameters tab that I need to reference or map the parameters from page. I’m following the documentation, but the tab seems to be missing in the playbook interface. This is also the case for the test case section, where I only see Basics, Examples, and Settings.

Has anyone encountered this issue or can offer guidance on how to correctly pass parameters from a page to a playbook in the conversational agent?

I tried to follow some documentation and videos, but it seems something is missing or it’s outdated because most of them focus on Dialogflow CX, not on the Conversational Agent, which seems to be new in Google.

Any help or insights would be greatly appreciated!

Thanks in advance!

3 Likes

I came here to post this exact issue.

There seems to be no way to actually use parameters in playbooks at the moment, since there’s no way to set parameter scope. The only place I see input/output parameters is in the I/O menu of playbook examples. When I manage to set parameters there (which takes multiple tries because I get multiple errors while saving), the playbook will systematically use the example value provided instead of the value of the parameter (which is normal, because the parameter value is never set, because the scope can’t be defined).

This Qwicklabs video clearly shows a parameters tab at the playbook level, which is missing in the current conversational agent interface.

This essentially makes playbooks unusable.

1 Like

Okay, thanks. It seems I will have to go with pages and a webhook for now.

Any updates on this? Any other hack or updated way to utilize the playbook with parameters?

@weirdever962 - this is possible but the feature is still in private preview in the new Conversational Agents preview. So you need to specificallly request the ability to use input/output parameters with playbooks to be enabled (“whitelisted”) for your project.

There isn’t afaik a public way like a form to sign-up for this private preview feature. You need to go through Google Cloud Sales team who can then make the request on your behalf to the product team.

1 Like