botpress / solutions

List of Botpress templates / examples for common problems. Kick start your chatbot development with these ready-to-go custom modules, actions, hooks, and tools!
https://botpress.com
56 stars 26 forks source link

Break out of a flow on QNA match solution #7

Closed davidvitora closed 3 years ago

davidvitora commented 3 years ago

What it does

Break out of a flow when a user message matches a QnA

How to do it

use the code from the 'break-out-qna-hook.js' file to create a before_suggestions_election hook