wide-umbrella-5226
10/31/2025, 5:23 PMhtml
<script>
window.addEventListener('load', () => {
setTimeout(() => {
if (window.botpress) {
window.botpress.open();
}
}, 30000);
});
</script>
just paste this code snippet below your webchat embed! 30000 is the default value in milliseconds, but feel free to change it.
you can also modify window.botpress.open to .close to close it, or .toggle to close it if it's open, and open it if it's closednice-lion-7108
01/06/2026, 1:30 PMnice-lion-7108
01/06/2026, 1:30 PMnice-lion-7108
01/06/2026, 1:30 PM