Typebot

T

Typebot

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

Join

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

Script to determinate Country from phone number

If Phone has the number of visitor, how can save in variable Country the country , based on phone number? I tried this code but it does not work `// Obtener el número de teléfono de la variable Typebot...

wait block in whatsapp

I need help to understand if this is a bug or if it is the default behavior of the wait block. On the web the wait block works as expected, waiting the time in seconds that I set, but not on whatsapp. I set a timer of 120 seconds, but the second message was sent in 10 seconds. You can check the time of the message....
No description

How logic webhook block works?

I try to use this many ways but seems not working. I use test and production url, the block waits and does not respond.

How to copy to clipboard with Script block ?

Hi, I need create a function to copy into clipboard the value of a variable. But is copying the ID of the block Here is the JSCODE...
No description

Can anyone help with an example of how to save a file to an s3 bucket?

I'm using an api that outputs svg code. I want to save that as an svg file in a s3 bucket so I can then display it in an image bubble.

TypeBot Integration with AI Stopped Working

TypeBot Integration with AI Stopped Working Hello! I’m experiencing an issue with TypeBot integrated with AI in my proprietary omnichannel platform. Until two days ago, everything worked perfectly: leads initiated conversations via WhatsApp, and the integrated AI responded automatically. Suddenly, it stopped working. ...
No description

bug in variables panel

weird, isn't it ? what am I supposed to do ?
No description

Setting variables with regular text breaks the flow

I wanted to try having an "Initialization" group where I create and set all of the variables I'll later need in the flow. However, using the Set variable blocks with Custom and Text as its value stops the flow from executing completely. As you can see on the attached screenshot, I put a Text Bubble that says "Hi" before initialization, which displays when previewing the bot, but the Text Bubble that says "variables initialized" (or anything that comes after) is never executed. I suspect this is a bug with the Set variable block that might break the flow's execution....
No description

Urgent, Prod. Typebot instance (paid plan) returns: "Invalid message. Please, try again"

Hello, Since yesterday, our production Typebot instance (paid plan) has been returning: "Invalid message. Please, try again." This is critical for production. Please resolve this issue as soon as possible. Thank you...
No description

Prevent HTTP block from being executed

Is possible ? The block with the request I need is at the end of the flow, but as soon as the bot is started it is already executed....