Links

WAITFOR

This block is great if you need to delay specific actions 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 the 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 the $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.
Last modified 8mo ago