How to integrate time delay
# 🤝help
m
I know this sounds a bit counterintuitive at first, but when deploying the chatbot to WhatsApp or Telegram, I don't want it to reply immediately. I want the bot to wait for a few seconds and then continue with the flow. I've tried to integrate it by using a "setTimeout(() => {}, 5000);" expression or even by running a custom code snippet doing the same. After that, the conversation just ends immediately and I can't seem to get this working. Any thoughts on that topic? Could also be that I'm missing something.. Help appreciated! 😄
65 Views