-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webhook block not listening to events when Typebot out of focus #1950
Comments
I unfortunately can't reproduce. It works just fine on my end! Even when the window is not focused. Can you record a video? |
Hello @baptisteArno, please find attached the video showing the issue. When staying on the same tab, the flow listens to the webhook and gets the response correctly. It doesn't only happen at the step shown in the video, but at every step after multiple tries. This part of the flow in Typebot shows the webhook block: And this is the end when it resumes the job in Windmill and jumps back to the webhook block: chrome_WlaF5fhZP6.mp4 |
Ok can you provide a basic reproduction? A simple bot that reproduces the issue |
@baptisteArno I created a simple Typebot with its associated n8n workflow to reproduce the issue consistently. In order for you to test it, you need to follow these steps:
chrome_alGXiiStAV.mp4 |
Perfect, thank you. Testing now |
I'm curious, can you reproduce the bug with this even simpler reproduction? |
Thanks for testing it! |
Can you find a way to reproduce that does not involve n8n? |
Yes, the issue I got initially was when using Windmill with its suspend/approval step, which is the equivalent of the "Wait" to resume in n8n: It works perfectly when on the same tab (as showcased in the previous videos), but not when switching tabs in the middle. The goal is to use it a bit like Slackbot where you can wait for the next step in Typebot using the Webhook block to come from the automation platform since the flow has long-running tasks and needs for code like Python or SQL for specific tasks. |
Hi @baptisteArno,
We’ve been testing the Webhook block extensively, and it works great as long as the Typebot window is in focus.
However, we noticed an issue when switching browser windows during the webhook listening phase. If we switch away and then back, it doesn’t seem to pick up the event sent by the third-party system to continue the flow.
For example:
Please let us know if this issue can be fixed, and we're ready to fund the fix since this is currently affecting heavily our use case.
Originally posted by @vica-admin in #1531 (comment)
The text was updated successfully, but these errors were encountered: