diff --git a/services/NormalBot.php b/services/NormalBot.php index cfbcd78..0468d4d 100644 --- a/services/NormalBot.php +++ b/services/NormalBot.php @@ -185,6 +185,9 @@ class NormalBot if (isset($flows[$nextNode])) { return self::handleFlow($flows[$nextNode], $context, $company, $ctxId, $menus); } + if (isset($menus[$nextNode])) { + return self::buildMenuResponse($menus[$nextNode], $context['from'], $company); + } } else { ConversationContext::updateNode($ctxId, null); }