You may want to add a delay or wait for sometime before moving to next dialog or performing next action. This can be achieved by using the builtin wait utility action.

Just provide a delay in this action in milliseconds eg: 5s is 5000.

Here is a demo

How to add delay in Botpress conversation?

Simon

I am a Fullstack developer and Consultant with an experience of 9+ years in the industry. I mainly work on Java, React, Javascript, NodeJs, Elasticsearch and Botpress.

3 Comments

Mauricio · August 6, 2020 at 7:37 pm

Hello, I have seen several of your tutorials and they are very good. I just saw this video and it caught my attention that you incorporated a feedback component, I would like to know how you did that? and the other how could I rescue that result to store in a postgres database

    Simon · August 7, 2020 at 11:00 am

    Glad you liked the tutorials. I used this to create a custom component in my custom module and yes at the end it saves the response/feedback to postgres, but first I pointed to use postgres as DB and then used the kvs system to store feedback. Let me know how it goes. Also, please subscribe to my youtube channel for more video tutorials.

    console.log('Feedback for: ' + key)
    await bp.kvs.set(botId, key, value)

      Mauricio · August 7, 2020 at 6:36 pm

      Thanks Simon for the clarification, I could ask you for the bot code and custom component please, I’m just starting out in this world of chatbots >.<

      Greetings

Leave a Reply

Your email address will not be published. Required fields are marked *