Sometimes when previewing a project, you might hear an app response from a different Flow than the one you intend to preview. This can happen when there are several of the same user requests in Flows, such as "Yes" or "Next step", that correspond to different app responses.
Why does this happen?
Sayspring takes a few different approaches to matching commands in context. The first is to match based on where you are in the Flow, and match to the next available command in order. This is why "Next Step" or "Go Back" can be used repeatedly in order in a Flow.
If it doesn't make a match in the Flow, it then looks across the entire project to make a match. So if a user says "Help", it can match to a Help flow even if they are in the middle of something else.
In other words, it searches first within the Flow moving forwards before searching the entire project, starting with the first Flow.
Take a project with numbered steps as an example.
If you're already past Step 3 in a flow, and you say "Go to Step 3", it wouldn't find that command in the Flow. It would then look across the entire project and match it to the first instance of "Go to Step 3" it finds, which would be in the first Flow.
How to fix it
Create a User Request at the bottom of each Flow that serves as a "master" or Flow navigator. This request would serve as a catch-all to put users back in the correct place while previewing.
In this request, create user statements for each of the steps in that Flow and match them to the correct responses.
Here's how that'd look using the numbered steps example above:
The Flow (with the Flow Navigator request at the bottom):
The Flow Navigator Request details:
Each numbered step request links to its corresponding response, so when Sayspring searches for the response for "Go to step 2" even if you're already at Step 4, it will find the correct response in the Flow you're currently previewing.
If you're still having trouble with navigation and Flows, please send us a message with some details of your issue and we'll be happy to help!