Dialogflow - Context input utilization

Hello,

I would like to filter the available intents based on a context. For that I would like to use the context-input (good solution?).

Example: if

  • the caller asks "I would like to order a product" (intent "Order product"),
  • The flow plays the prompt "Which product do you want?",
  • the customer says "Socks".
  • The flow plays the prompt "What is your shoe size?" (intent "Sock command").
    I would like the "Socks order" intent to be choice only if the customer has gone through the "Product order" intent.

I want all prompts are in GenesysCloud, so i put all my intents at "Set this intent as end of conversation".

Can you help me ?

Regards,

You could do something like this

I would have the slots in the the first Intent's utterances so a customer could say for example
I would like to order large socks.

And that way it wont ask for those slots since they are already filled
Or if the customer says I want to order socks
then it will just ask the size etc

With Dynamic Slot types on the way it will be fairly easy to load a list of products for the slot values.

Sorry i'm not sure to understand. Perhaps i'm not clear.

I want to create a Dialogflow callbot with dependencies between my intents. My intent "Intent 2A" should only be active if the caller has gone through intent "Intent 2" before.

If I had made my callbot only in Dialogflow (without Genesys), I would have:

  • In "Intent 2": put in context-output "Context 2A"
  • In "Intent 2A": put in context-input "Context 2A"
    So my "Intent 2A" can't be offered to the caller from the start.

So my question is: can I use Architect to populate "Context 2A" in context of my Dialogflow call?

while hoping to have been clearly.

Ah right sorry

Genesys bot is DialogEngine Google is DialogFlow, I get them mixed up. So my example is how you would do it in the Genesys DialogEngine.

Hopefully someone else has some experience with DialogFlow.

1 Like

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.