Back to Blog

Delayed opening

An interaction between bot and user can be initiated by the user and by the bot. When you want your bot to initiate the conversation you can use the the ‘Auto open’ or ‘Auto send message’ scripts as described in our Web Widget docs.

A more advanced technique is to initiate a conversation after 5 or 10 seconds. When your user is on your page for longer then 5 or 10 seconds this could be a user that:

Why not add the right moment to your engagement strategy? The following script can be added to your page to open the web widget after 5 seconds and trigger the event ‘Opening’. Make sure to change the event name in your script or within your flow.ai design.

<script>
	setTimeout(function() {
  	__flowai_webclient_app.open()
	}, 5000) // 5 secs

	window.__flowai_webclient_autoTriggerEvent = 'Opening'
</script>
Get StartedContact us