CMS Development

ADarabian
Participant

End Chatflow automatically

I'm implementing the chatflow for a webapp and mobile app. For mobile, I use a webview component to display the chatflow. However, if the customer does not terminate the chat, then said chat is loaded upon next chatbot request. I was wondering if there's already something in place to ensure that either the current chatflow conversation ends after certain periods of inactivity or if there's a way to create a new chatflow conversation on every bot request. Thanks a lot

0 Upvotes
1 Reply 1
dennisedson
Community Manager
Community Manager

End Chatflow automatically

@ADarabian

I admit that I do not have any experience with mobile app development, but I am wondering if you can invoke this window.HubSpotConversations.clear({resetWidget:true});  after a certain time period.

Thanks,

Dennis




HubSpot Community Developer ShowMake sure to subscribe to our YouTube channel
where you can find the HubSpot Community Developer Show