Typebot

T

Typebot

A place to connect with chatbot enthusiasts. Learn about bot building best practices and discover new content.

Join

multiple nested conditions

I'm a doctor so my type has 10 questions where each one has a yes or no and I save, let's go if the weight answers yes to all or no I already have the message flow + wait block 2 seconds perfect but then comes the doubt if the person has 1 disease and 9 no, or if the person has disease 1 and 2 and the other 8 no or if he didn't have the first disease has the second and only the fourth, there are countless combinations I can do this with PHP very easily but I wanted to be able to use wait which i...

Continue Flow

Good morning, is there any way I can configure the input or wait block to continue after X amount of time or if I receive a message within that time? For example, I asked for the name, if the person responds, the flow continues, if they don't respond after X hours, the block continues on its own Or, I set the wait block, if the person sends a message during the waiting time, it continues, if they don't interact, it continues after the determined time, creating a kind of follow-up...

Url variable

Dears, could you help me how set a current url to a variable in my typebot flow, please? Thanks...

Get the ID of the last block of the flow

is there any way to get the ID of the last block of the flow? Using the API or something else.

Is it possible to have "Google Maps auto complete" question?

I want to have a question within the bot that asks for the address and when the user starts to enter their address it auto completes (gives suggestions etc. ) One of the competitors have this question type and I think location/address are quite common things to gather from the users. Has anyone achieved this and would Typebot consider to introduce this input type?...

Understanding Object Parsing in Typebot

Hey all, I'm having some trouble with handling parsed objects in Typebot and could really use some help. Here's the issue I'm encountering: I've got a simple experiment where I'm working with an object represented as a string. In my dev console, I can successfully parse the string into an object and test its type – the expected results are as follows:...
No description

Prevent unauthorized access via url

Hi all is there a way to prevent unauthorized access to a published typebot via the url (for self-hosted)? One method I can think of is to redirect the user if a certain prefilledVariable is empty. But I don't think this is 100% secure, is it?...

Customize "Invalid message. Please, try again."

Is there a way to customize this message?

"Icon" Tab in "Image" Block returns SVG code and therefore is never shown in the Image Bubble

🔁 Steps to reproduce 1. Add an Image Bubble to the Canvas 2. Go to the Icon tab, click on any of them 3. Preview the bot, and see that no image is returned by this Bubble ...

Several blocks don't lead to their related Documentation page when clicking "Help" (eg. OpenAI)

When exploring all Typebot blocks and more specifically their documentation through the "Help" button that appears when hovering over a block, it appears that some blocks point to the "Welcome" homepage of the Docs, even when some have a dedicated Documentation page, like the OpenAI block, which should point to this page instead. I haven't listed all blocks that don't point to their Docs page, but we could investigate. Here's a small reproduction video below:...

Persist variable value after closing session

Is it possible to persist the value of variable even after the user reaching the end of the flow (it means, closing session?) Example: I want to set the variable firstAccess=false in the first interaction...

Automatic scroll down on multiple select

Hello, I have an issue. When I have multiple buttons to select and I search and it opens keyboard, I would like to automatically position search input on top, so that users do not need to scroll. Do you have ideas how to do it ?...

Typebot e IA, não informa horário / Typebot and AI, does not inform time

Estou com um problema, eu refiz meu prompt até entao ele estava funcionando corretamente, qualificando o lead e direcionando para a aula experimental, porém, agora ele está informando os horários sem completar a informação, estou usando o modelo gbt-4, já refiz prompt e nada//I have a problem, I redid my prompt until now it was working correctly, qualifying the lead and directing it to the experimental class, however, now it is informing the times without completing the information, I am using t...
No description

Execute Javascript in condition block

Is it possible to execute JS in condition block? Or I need to save a variable and then use it on condition?...
No description

Execute a script when user abandons chatbot flow?

I encountered a problem where a user abandons their chatbot flow (ex: closes their tab). Since I'm managing a queue of users to perform an action (make payment) with an array, their position in the array gets stuck there. With my current chatbot setup, the only way a user can get removed from the array (queue) is to restart or complete the chatbot flow. ...

Can we take stripe payment directly on WhatsApp or can it be used with WhatsApp.

I see it is accessible on Web/ Link but not on WhatsApp. It shows nothing on WhatsApp. Can we integrate payment on WhatsApp?

Removing an Image Bubble On Button Input Click?

The Image Bubbles don't have a "Display Condition" like the Buttons Input. How would I remove the Image Bubble when a user clicks on the "Stop" Button? I tried using the Script block to manipulate the image, however, it seems like I can't access the element in the DOM. ...
No description

Appointment Booking System For Hospital

Hi, I am experimenting with an appointment booking system for a hospital. Can we create booking system depending on the availability of the doctors like once the user selects the doctor (through number collection method) it gives the option only to book for the same days and time depending on his availability. I know the long method of creating individual blocks for every doctors but if there are 6-7 departments and 3-4 doctors for each department it will take eternity to create and arrange everything properly. I tried integration with cal.com but It will require separate blocks and events (according to their availability) for ever doctor. Is there an easy method to it? It has already got very crowded with all the stuff that I have added in it....
No description

setTimeout Script Help

Use Case: I want to give a user 60 seconds to make a payment when they get to the Stripe block in my Typebot flow. I couldn't find a clean solution to this, so I was experimenting with the Script block and setTimeout JS Window method. Here's the problem I encountered: I'm trying to start a "timer" with setTimeout to refresh the page using the Script Block and then cancel the refresh in a subsequent Script block after the user clicks on a button. However, when I run the Script block to cancel the refresh, it doesn't do it. It works fine when I run this same exercise in the Chrome Dev Console. ...

Send multiples files in a multiple file input using API

I would like to know how to send several files using the API, I'm doing it this way and it's not working
No description