-
-
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
Add Webhook block #1531
Comments
wait condition wont work when you use a input collect. way to reply: |
@baptisteArno is anyone working on this. if not can i take this up? |
@baptisteArno This would be so useful! Would it be possible to fund this issue to speed up its development? |
@vk-solutions-admin here's the link to fund https://polar.sh/baptisteArno/typebot.io/issues/1531 |
@laianeramos @baptisteArno Awesome, thank you for the flexibility! |
Thank you, can you tell us more exactly what is your use case so that I am sure we are talking about the same feature :) |
@baptisteArno Sure, here are some feature requirements to give you an idea of what I was thinking about :) Wait for WebhookGoalEnhance the bot's interactivity and responsiveness to external events, especially for human-in-the-loop flows. DescriptionImplement a "Wait for webhook" feature that allows the bot to pause the conversation flow until a specified webhook is called. The output from the webhook should be usable in subsequent steps. Requirements
|
I made good progress on that today, hopefully I will release a first version tomorrow 👌 |
Awesome news, thanks a lot! |
Figured a Wait block option would not be clear enough for new users so I decided to separate this logic in a new Logic block called "Webhook" |
Gonna deploy locally right away to try this out 👀 |
@abdullahbaa5 For self-hosting, local testing here is the configuration of PartyKit to make it work: https://docs.typebot.io/self-hosting/configuration#partykit |
Hello @baptisteArno, thanks for the awesome work on the Webhook block! However, I'm unable to figure out how to deploy it using Docker-Compose as I already used "bun deploy" locally to get a unique Partykit host from packages/partykit and added it to the .env of my self-hosted deployment, but I still can't see the Webhook block in the list of blocks. Could you please provide guidance for it? |
Did you set this env variable https://docs.typebot.io/self-hosting/configuration#partykit? |
Yes, I added it to the .env and referenced it in the Docker-Compose. The Docker image used for the builder is baptistearno/typebot-builder:latest |
That's odd, are you sure you restarted the container after updating the .env file? |
Yes I restarted the container and asked my DevOps provider to try it also on their side, but they had the same result. |
Oh right, I am sorry, it is not yet released. We are doing a monthly release for self-hosting so it will be available on 1st of November |
it's not yet on self hosted , we are in December ! !! |
Yes, available https://docs.typebot.io/self-hosting/configuration#partykit |
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. |
Can you create a new issue for this please? @vica-admin |
Sure, here it is: |
Upvote & Fund
The text was updated successfully, but these errors were encountered: