https://discord.gg/botpress logo
User Response Restarts "Main Flow" Instead of Cont...
# 🤝help
r
The bot sends an interactive message and correctly enters a "Waiting for user input" state. However, when the user responds, instead of continuing the flow from that node, the bot resets and starts from the Main Flow, breaking the flow. NOTE: Session timeout didn't happened in this case neither conversation hit any End node. [whatsapp] Successfully sent interactive message from bot to WhatsApp: Interactive { action: ActionList { button: 'Choose...', sections: [ [ListSection] ] }, body: Body { text: '📅 Select a day for pickup' }, header: undefined, footer: undefined, type: 'list' } [7a2eb9a3ed] [dm] : Waiting for user input [7a2eb9a3ed] [dm] : Saved states: userVariables, context, session, conversation (Conversation: conv_01KG4QD1FS2SFVT7NWCZSYM4RY) [7a2eb9a3ed] [dm] : Running hook after_incoming_message for plugin conversation-insights [7a2eb9a3ed] [dm] : FINISHED PROCESSING MESSAGE [477c99e737] [dm] : Event of type whatsapp:messageSent received. [2e7afb8cd2] [dm] : Event of type whatsapp:messageRead received. [whatsapp] No message found for WhatsApp message ID wamid.HBgMOTE5NjY0NDQxMjg2FQIAERgSQjAxNzRFQ0MxODg5MjA1N0E2AA==, cannot create messageSent event [whatsapp] Received text message from WhatsApp: { text: 'Hi' } [d67a5918c3] [dm] : Message of type text received from user_01KFN97PFQXF4NQQTF3P2HARJF on whatsapp (Conversation: conv_01KMHTMYA9YT11FQTTJ5YB36J3) [d67a5918c3] [dm] : Starting from Main flow [d67a5918c3] [dm] : Transition from (flow:Main) [node:Start] to [node:Standard1] [d67a5918c3] [bot-action] [flow:Main] [node:Standard1] [card:]: Execute code "inline-card:.js"
l
Hey @red-motorcycle-9381 replied to your DM, i'll need your workspace ID to dive into your bot and i'll take a look 😄
r
Hi @loud-crowd-60573 , here is my workspace id = wkspace_01KFN2PT9J8N2PZP0P53W4B7ZM please have a look and help me on why these problem came
l
taking a look will get back when I have some insight!
2 Views