Hi there,
My first reply here using the go to labels could still work without you needing to use an external library.
In my first reply I outlined a flow as following:
I was imagining a single flow. It could be triggered on a keyword of
say “Information”. You then ask the user 2 questions - 1) What Fruit?
2) Information type?
Then have a lookup to your database to get that information to return to the user in a message.
You could use our Flow GoTo labels if you wanted to be able to go back and forward to different parts in the flow.
If
you offer shortcut buttons on messages to ask the user whether they’d
like more information same fruit, query a different fruit etc.
If you’d like the fruit to be implied, then you could have your label just before point 2 and pass the value of question one back through using metadata key value pairs. That way you would only be asking them for the next item of information they require.
Without putting the bot into a question asking mode the bot will not understand what the user is asking and therefore won’t be able to respond correctly.
From what I can tell with the library on GitHub it would create a very similar flow to doing the above. 