I want to set parameters in a playbook when customer specifies a value. For example, I want to know from customer when they can accept a callback from agent. If customer says at end of this week, I would like to set 2 parameters: callback-date and callback-time. I want to pass these values to a tool and invoke an API to store these values.
How can I do this?
What was tried: I provided instructions to say, if customer specifies callback date and time, store the values in these 2 parameters. I also specified these in examples and used 'Retrieved Content' response type in example conversation. Playbook also specifies these as output parameters.
Hi @ngargi009,
Welcome to Google Cloud Community!
Based on what you tried, 'Retrieved Content' alone isn't enough. While it’s useful for displaying information, it doesn’t automatically extract entities or set parameters. You need to configure your NLU engine to recognize the date and time, and then use the extracted entities to populate the parameters.
In Dialogflow CX, playbooks can accept and emit context information using specifically defined parameters. Here’s how you can refine your approach:
You may also refer to the Playbook best practices for guidance.
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.
My question is about Conversational agent and not about Dialogflow CX. I don't think there is a concept of fulfillment in CA. Is there a concrete example available?
From the answers above there are several approaches you can try, really.
Actually dialogflow CX and dialogflow are not much different, only dialogflow CX is more complex.