Hi All,
Requirement:
I have created a playbook with instructions like:
User Input: Enter username
Chatbot: Validate username by calling the user_validate_function and returning the result.
I need the flow to utilize the playbook to validate both the input and the function using a webhook (Cloud Function).
Currently, I’ve added the playbook to the start page of Dialogflow in the Agent Console. During the conversation, when the chatbot prompts for the username and I provide it, the function specified in the playbook should be called, and the results should be returned.
This is just one example; I need to validate many other details similarly.
How can I pass the playbook inputs and call the function mentioned in the playbook within the flow?
Please guide me on this.
If you are playbook you can take params and create a tools create a webhook and call webhook and solved a business problem
if you are use custom flow then enable webhook and create cloud run/cloud functions