Set max time for user on typebot

Hello I need to set a maximum time for the user answer the questions. 5 minutes for example. If the user cross this limit I will save save his/her section and a Boolean variable true if he crossed the limit or false if he doesn’t in a column called “time” for example How can I achieve something like this?
6 Replies
Baptiste
Baptiste12mo ago
There is no way to do that on Typebot for now!
@data4shiny
@data4shinyOP12mo ago
Is it possible to do this using JavaScript @Baptiste ? Or is it too complex?
Baptiste
Baptiste12mo ago
Too complex...
Apploader
Apploader11mo ago
I think this should be possible. I have a quiz bot, I will try it over the weekend and share what I got...😉 It's possible to set start and finish time and then calculate duration. You can then save duration if it is greater than set time // Example durations in minutes const responseDuration = {{responseDuration}}; const questionDuration = {{questionDuration}}; // Calculate the duration difference const durationDifference = (responseDuration - questionDuration).toFixed(1); // Return the duration difference rounded to one decimal place return durationDifference;
mzramna
mzramna8mo ago
if you have a in between system that have all the input and output from typebot you could use this sistem to monitor the sessionId if it has interactions in certain ammount of time, if it didn't you could do some action predefined into tyebot, in the same flow or other flow, since you could "fake" the input to a secundary flow to answar like the first one
Unknown User
Unknown User4mo ago
Message Not Public
Sign In & Join Server To View

Did you find this page helpful?