Website Advanced

1. Launch Configurations 

Below is the list of configurations supported while launching the website chatbot 

1.1 Launch with a Delay  

You can add the below line in the script and it will help you launch your bot on your website with a delay you configure here. 

setTimeout(function(){ chatWidget.launchBot(); }, 3 * 1000); 

(Note: This will add a 3 seconds delay before launching the widget.) 

1.2 Trigger a Path while launching Chatbot 

Typically, the launch flow on the Engati Chatbot begins with the Welcome New User or Greet Returning User path. But if you would want the bot to start with a particular path, you can follow the below steps:  

i) Chatbot Widget invoked using Script

launch_flow: “PATH_KEY” 

See below for an example to add launch_flow to the script.   

{bot_key:“DDDxxxKEY”,bot_name:“SampleBot”,launch_flow:“D8E2CC7E37F04FEB802F45E8F49E4598”, branding_key:“default”} 

 ii) Website Chatbot using Direct URL 

And below on adding it to the direct URL:  


Document image

To get the path key, Go to Build > Paths and to the specific path that you want to trigger. 

Document image

Once there click on ‘Edit Path’ from the floating menu and copy the path key from the modal box that shows up.

Document image

1.3 Set Attribute 

Not every piece of information can be precoded in a bot some data are dynamic and are needed to be passed from the website you are deploying your bot on. Like with configuring the path that you want to start from, you can set attributes both while launching the chatbot widget within your webpage or as a direct URL.  

1. Chatbot Widget invoked using Script 

You can set attributes from the script itself and configure its value as static data or dynamic (using a javascript variable in place of the value).  

Note: This attribute can be a new attribute or an existing attribute on the bot. 

While invoking the Chatbot widget using the Javascript on the webpage, use the format below. 

“user_attributes”: [{“name”:”user.language”,”value”:”ar”}]

Document image

2. Website Chatbot using Direct URL 

In the bot direct URL, some optional parameters can be appended while launching the bot. 

Bot Direct URL 

Parameters that you can pass 


“launch_flow” will help start the bot on a particular flow. “data_attrs” can be used to pass some data attributes while launching the bot. 

Example after appending how the Direct URL will look like 

 To override, please use the ‘override_pop_up’ attribute while injecting the script into the webpage. By default, the behavior will be as configured in the deploy section for the chatbot.

3. Parameter to override Autopop on different web pages –

Document image

Feel free to reach out to support@engati.com in case you face any issues.

Updated 02 Jun 2022
Did this page help you?