No to fluff
No to fluff2y ago

Can I create a "global intent"?

I'd like to allow people to ask about privacy during the chat. So if any time the user writes "I want to know about privacy" it will go to the privacy blocks. When done the user should be rerouted back to where they where.
10 Replies
exotic-emerald
exotic-emerald2y ago
right click on the canvas and click on "add trigger" that would work as a "global intent" but make sure to include it into all your workflows
national-gold
national-gold2y ago
ye how do you reroute the user Back once he hits the intent and is finished?
No to fluff
No to fluffOP2y ago
oh indeed - this is tricky. @Sani do you know?
exotic-emerald
exotic-emerald2y ago
Do you mean to end the conversation or start over? You can always select the action step “end” after the flow and it will end it
No to fluff
No to fluffOP2y ago
No to go back where the user was at. So for instance you have a sales chatbot and while checking out services you want to know the return policy. You type "whats the return policy?" > triggers the return policy intent & flow ending with an OK button. After hitting OK, you continue in the flow where you were before. Or in my case: the user is talking about personal issues to the bot. All of a sudden he thinks: waitaminute, how about my privacy? "what is the privacy regulation for this bot?" > privacy blocks > OK > continue conversation.
W. Williams (SFT)
store the current location and then use a javascript step to route to the correct location.
No to fluff
No to fluffOP2y ago
Thanks thanks!
quickest-silver
quickest-silver2y ago
@W. Williams (SFT) how would you go about storing the current location in the chat just out of curiosity? That would be handy to know. I’ve not seen that one done yet.
W. Williams (SFT)
You would set it in right after the trigger / Intent entry point into a var. like lastIntent you actually would have to have currentIntent and lastIntent. That way you would have a history. to ref.
quickest-silver
quickest-silver2y ago
Ah ok, get ya yeah, I see how that can be done now. Thanks for that 👍

Did you find this page helpful?