Completed Configure web chat to pop up automatically

I can't find the documentation to tell me how to configure my web chat end point to pop up the dialog box automatically, without clicking on the icon.

Didn't find what you were looking for?

New post
Was this post helpful?
1 out of 1 found this helpful

Comments

4 comments

  • Official comment

    Hi Mike,

     

    You can find the Embedding documentation for the Cognigy Webchat here: https://github.com/Cognigy/WebchatWidget/blob/master/docs/embedding.md. If you want to open the webchat automatically, the Webchat API can be used: https://github.com/Cognigy/WebchatWidget/blob/master/docs/webchat-api.md#opening--closing-the-webchat.

     

    When you use the following code, the webchat will be opened automatically after the website is loaded:

    initWebchat('...').then(webchat => {
        webchat.open();
    })


    Does this help you?

     

    Best

    Alex

     

  • Brilliant.  Works like a charm!

    Thanks

    1
  • How do i make my chat start automatically. In my case I always type Hello, or give it an Intent to start. 

    I want it to start automatically with the first Say node

    0
  • I don't see the documentation I think exists but I will try to explain how.

    Go to Deploy/Endpoints in your Agent.

    Click on "Web Chat Configuration" to expand

    In Auto Start Behavior
    Choose "Auto Send a Message to the Bot"

    Under Payload I use "GET_STARTED" Not sure if that is the required phrase or the suggested one.

    Change "Welcome Text"  as desired.

    Here is the problem.  You can't test this in the Flow Designer.  It will not auto-start.  You can test it from the End Point configuration page (top right) or from any deployed web page.

     

    Hope this helps

    0

Please sign in to leave a comment.