Hello everyone,
I would like to create a playbook-based agent that authenticates the user only once and only when necessary. This setup should allow the user to perform various master data modifications, place orders, and also retrieve simple product information.
To achieve this, I am planning a dedicated authentication playbook that invokes a tool and, upon successful backend authentication, stores an authentication_flag = true in the session.
The actual service calls, such as placing orders or modifying master data, should be triggered through separate playbooks. These playbooks will evaluate the authentication_flag and, if it is false, will first call the authentication playbook.
This approach aims to ensure that the user is only authenticated when needed (for example, when placing an order) and not during interactions with services that do not require authentication.
Please note that the code snippet is currently only a mock for the intended tool.
- From my understanding of the Conversational Agent documentation, is parameter passing between playbooks currently still restricted to “restricted access”?
- What is the process to get whitelisted for a “restricted access feature”?
- What is the community’s opinion on my chosen approach? I am still quite new to this topic and would appreciate any insights or advice.
Many thx!
Hi @schneid8 ,
Welcome to Google Cloud Community!
Here’s a breakdown of your questions and some insights and documentation:
- Is Parameter Passing Between Playbooks Still Restricted Access?
- Yes, as of now, parameter passing between playbooks is still considered a restricted access feature in Dialogflow CX’s Conversational Agent framework. While playbooks can define input and output parameters, passing values between them especially across routine and task playbooks requires explicit configuration and examples. This capability is gated behind restricted access, meaning it’s not available to all users by default. You may refer to this documentation for more information.
- How to Get Whitelisted
- There is no publicly documented process for requesting access to restricted features like parameter passing between playbooks. However, you may need to reach out to Google Cloud Support. When reaching out, include detailed information and relevant screenshots of the errors you’ve encountered. This will assist them in diagnosing and resolving your issue more efficiently.
Take note, some members of the community refer to the documentation I’ve shared. Please feel free to review it for more details.
Was this helpful? If so, please accept this answer as “Solution”. If you need additional assistance, reply here within 2 business days and I’ll be happy to help.