The different ways to interact with AutoChat
  • 01 Nov 2023
  • 1 Minute to read
  • Contributors
  • Dark
    Light

The different ways to interact with AutoChat

  • Dark
    Light

Article summary

There are a couple of different ways to interact with AutoChat’s digital assistant on the website.

  • Via the chat bubble

  • Via a search bar

  • Via a dedicated call to action button

Via the chat bubble

If you install the basic version of our script the bubble will show up automatically if it is enabled in our dashboard.

Are you using a SPA and do you want to show the chat bubble only on certain pages? You can use this code to show it optionally:

window.dispatchEvent(new Event('autochat_hide_chat_bubble'));
// To re-enable the bubble after disabling it, use the following command:
window.dispatchEvent(new Event('autochat_show_chat_bubble'));

Via a search bar

It is possible to install a search bar on your website that is connected with AutoChat.

<textarea id="question"></textarea><button onclick="autochat.askQuestionToAi(document.getElementById('question').value);">Ask question</button>

Make sure you limit the amount of characters send as question to us is to 256.

Via a dedicated call to action button

Please see the dedicated page for this functionality.


Was this article helpful?