[Bot] Question about "Pause bot" response #2338
-
|
Hey there, I'm working on a bot with the following behaviour : Step 1 (on launch) : Send text with several quick replies presented in a dropdown menu. If the person clicks on one option, it takes them to the next step. This works fine Step 2 : if the person does nothing / doesn't click anything > wait 30 seconds then move to the next step anyway. I thought I could combine "Pause bot" then follow up with "Update chat". However I have a weird result with the "Pause bot" response : if I use "Pause bot" inside a trigger, the pause happens at the beginning of the trigger, even if "Pause bot" is placed in 3rd of 4th position. So instead of having :
I get
Am I missing something ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
|
You completely misunderstood Pause bot purpose. https://github.com/LiveHelperChat/livehelperchat/blob/master/lhc_web/lib/core/lhgenericbot/actionTypes/lhgenericbotactionpausebot.php it stops execution completely and should not be used unless it's a background job. For what you want to do you should be using |
Beta Was this translation helpful? Give feedback.
You completely misunderstood Pause bot purpose. https://github.com/LiveHelperChat/livehelperchat/blob/master/lhc_web/lib/core/lhgenericbot/actionTypes/lhgenericbotactionpausebot.php it stops execution completely and should not be used unless it's a background job.
For what you want to do you should be using
Continous Webhooks