Typebot

T

Typebot

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

Join

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

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