How to launch debug window BEFORE using test chat

I want to watch the startup welcome flow in the debug window, but conversation has already started before I can select debug in the chat window. How to I view the starting flow. (I’m trying to change the starting flow but failing, so wanted to watch what happened)

Hey Bruce Wilcox,

Welcome to the Kore.ai Community!

To answer your question about viewing the start-up welcome flow in the debug window, here’s how you can do it:

  1. Open the Debug Window:
    First, make sure you’re in the chat window.
    Look for the Debug icon at the top-left corner of the chat window and click on it. This will open the Debug window where you can see logs and processing details.
  2. If Conversation Has Already Started:
    If the conversation has already started, you might not see the welcome flow directly.
    In this case, you can either close the chat window and open a new one, then immediately click the Debug icon to watch the entire flow from the start.
  3. Explore the Debug Logs:
    Once the debug window is open, you can view logs in the Debug Log tab. Look for the initiated, execution, or process completed statuses to see when the welcome flow was triggered.
    You can expand each node in the Debug Log to inspect details about what happened at each step of the flow.
  4. Check Session Context & Variables:
    If you’re looking to track variables set during the initial flow, head to the Session Context & Variables tab. This will show you any context or session variables created as part of the welcome flow.
    This should help you observe the start of the flow and give insights into what’s happening under the hood.
    For more detailed debugging help, you can also check out the Platform Debugging Documentation.
    Test (Talk to Bot) - Kore ai Docs
    This might help resolve your query.
    Thank you,
    Jaswanth Narne
    Kore.ai Community Team

Thank you for your response! When I press the TEST button and select chat, the window opens, and prior conversation has happened, so it is not a completely fresh start. If I am on the welcome flow display, then if I run test no debug icon shows up. I have to change to the dialogs display and then press TEST. When I input a message like Have a sunny day, I see “hi” in the debug log, it doesnt name the node that came from (though I know where in startup it comes from). The next log entry says user intent not identified, then entry Answers Module and then falllback_task. In the welcome flow the node saying Hi then goes to Automation0001, which does not show up in the trace.

Hey Bruce,

Here’s a simpler breakdown of what’s going on:
1.Starting Fresh:
When you hit Test, the chat should always start fresh like it’s a brand new conversation. If the Welcome Flow isn’t triggering, something in the setup might be causing the issue. But in general, it should always start clean from the beginning.
2. Debug Icon:
The debug icon will only show up in the Dialogs section, not in Welcome Flow. So, just switch over to Dialogs, hit Test, and you should be able to see the icon and track everything.
3. Missing Node Names:
If you see “hi” in the logs and you’re not sure where it’s coming from, it’s probably just a small talk trigger firing by default. It’s not necessarily tied to a specific node in your flow. You can check your small talk settings to make sure it’s not interfering with the flow, and also make sure your logs are set up to capture node names if you want to track where the flow is going.
4. User Intent Not Identified:
The user intent not identified message means the bot didn’t recognize the user’s input. This usually happens when the bot can’t match it to an existing intent. You might want to tweak the utterance training/intent training under NLP Settings.
5. Automation0001 Missing:
If Automation0001 isn’t showing up in the logs, it likely means the flow didn’t reach that point. Double-check how the Hi node connects to Automation0001, and make sure there aren’t any conditions blocking it from getting triggered.

This situation does help you resolve the issue in XO 10 and 11 also.

Hope this clears things up! Let me know if you need more help or if something’s still unclear.

Thank You!
Jaswanth Narne
Kore.ai Community Team