WAIT FOR

This block is great if you need to delay specific action in the bot. Common examples are:

  • checking order status after placing the order to see if the bot should send a discount coupon to the user
  • setting reminders in personal assistant bots
  • checking if a specific page on the site was visited during some period of time and sending reminders to visit it, etc
Using WAIT FOR block to delay specific actions in the chatbot
Using WAIT FOR block to delay specific actions in the chatbot

In the example above the bot is sending the โ€œCheckout nowโ€ button to the user and then waits for 30 minutes. After 30 minutes the bot is checkingย $order_statusย user attribute to see if the order was paid. If it was not paid yet, the bot is sending a discount coupon to the user.

Was this article helpful to you? Yes 1 No

How can we help?