Hi ,
I’m trying to set up a flow in Dialogflow CX where the user can search for locations (e.g., “X near me”), but I’m running into issues with handling cases where the user doesn’t provide an address or asks an unrelated question. Here’s what I’ve implemented and where I need help:
Context:
Behavior Examples:
Case 1:
User: Where can I find the nearest mall?
Agent: (Intent route triggered)
Case 2 (Problematic):
If the user provides unrelated input instead of an address, I want the Datastore to respond if it has a relevant answer. If the Datastore has no relevant answer, I want to route the user back to the start page. Currently, I can’t achieve this functionality.
Technical Setup:
Here’s how I’ve structured the flow so far:
Intent Trigger:
X Near Me Flow:
Process Address (Page):
Ask User For Address (Page):
Get Address (Page):
What I Need Help With:
I want the following functionality when the address parameter remains null:
I’ve tried using the Datastore fallback in the Get Address (Page), but I can’t get the desired behavior to work seamlessly.
Question:
How can I achieve this functionality while still supporting the address form-filling process and ensuring the Datastore fallback works correctly?
Any insights or suggestions would be greatly appreciated. Thanks in advance!
Flow: