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

1 Réponse
dennisedson
Équipe de développement de HubSpot
Équipe de développement de HubSpot

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.