I recently built a chatbot and added it to our staging site for testing. I am noticing when testing that it sometimes hangs in the browser and appears to not respond, even though the task panel in Lindy shows the response. I have tried incognito mode with the same results. The chat bubbles always make it appear that the bot is still writing but no response ever delivers, even after the response appears in the task panel on the Lindy side. Has anyone else experienced this? Is there a way to resolve it? I am hesitant to stand this up on our production site until I am confident it will not hang.
Here is one that hung and after I asked "Are you still there" it did reply. https://chat.lindy.ai/amy-aldworths-workspace/lindy/fern-v7-staging-test-copy-6914c0cdc916f627240112e9/tasks?task=69321302db4b34ed5eb418d4 And here is another chat that hung but never responded again. https://chat.lindy.ai/amy-aldworths-workspace/lindy/fern-v7-staging-test-copy-6914c0cdc916f627240112e9/tasks?task=6930cb41cbe21c8765166a18
Hey Amy! Thanks for sending the task URLs! Just taking a quick look:
This task (the second one) looks like you've used the After Reply Received state after the Send Email action, and do not have the After Email Sent state going anywhere. This will make it so the flow will only continue if someone replied to the email. You'll have to add a Send Reply Lindy Embed action after the After Email Sent action to ensure that the embed actually responds. Having said that, The flow will reset to the original condition based on if the user replies to the email also, so you'll need to consider that as well. Please let me know if that makes sense
For this task (the first one), it looks like it's prompted a question you a question within the agent step IN Lindy, so it's expecting an answer there. A couple options:
You can tell the agent step that once it gets the schedule, it needs to use the Send Reply Lindy Embed within the agent step.
OR You can make it exits the agent step right after the Get Free/Busy Schedule based on the condition it gets the schedule, and then it sends a reply with the Send Reply Lindy Embed action
Please let me know if that helps!
One thing I want to mention is at the point where Lindy asked a question and was waiting for an answer, the issue I am running into is that the question was never sent to the browser conversation. The end user doesn't see it. It just shows the chat bubbles continuing to bounce. That is the hanging that I have not been able to figure out. I will see if your idea of a Send Reply Lindy Embed action after the After Email Sent action works to fix it. In the meantime, if you have any other ideas about why the questions shows up in the task panel, but not in the live browser session, I would appreciate any suggestions there as well.
Yeah, you will have to either update to prompt to ensure it uses the skill to Send Reply Lindy Embed or you can ensure it exists the agent step and uses the Send Reply Lindy Embed action. If using the prompt, you'll likely need to be super clear to use it after getting the schedule!
if you have any other ideas about why the questions shows up in the task panel, but not in the live browser session
Oh wait, did I not acknowledge this one? Or am I misunderstanding? Do you have an example here? 🙏
I do have a send reply skill in the Agent Step, here is a screen shot of that. So maybe I need to work on the prompt a little more to ensure it replies how and when I want it to. And then for the hanging I can run a test again and grab some screen shots to try and explain that better. I'll be back with those shortly.
That's correct -- You need to ensure that it uses that skill. I would update the prompt to be super clear to use that skill after it fetches the calendar details
Hi Alon J., working on the prompts has really helped with this bot. I also needed to connect the edge from "other questions" back to the Knowledge Base. It's running much better now! I did just notice one more time when it hung. Lindy asked for contact information, but the embed user had already sent that previously. So, when the user responded that it was already provided, the browser hung at that point but the task panel shows a response. Here are screen shots. You can see in the user experience, the reply didn't come but it shows the chat bubbles still moving. What can I do to keep this from happening? Do I need to tell the prompt to remember any contact info. But also do I tell it somehow to keep the conversation going in a case like this? What type of prompt would do that? TIA!
