Adding a pause/wait between text messages
# 🤝help
a
I want to add a short pause between various text message being sent by my chatbot I have tried adding an Execute code card with the following code but it doesnt seem to be working async function waitNSeconds(n) { return new Promise((resolve) => { setTimeout(() => { resolve() }, n) }) } // Usage console.log('Start waiting...') await waitNSeconds(3000)
b
yeah this bugs me too. They removed the ability to do this from v12 to the cloud one and now everything is by default 1 sec. What I've done is use the capture information cards and enter my message then set something meaningless like "ok" or "I understand" and when the user clicks it, it continues chatting
22 Views