Send autosuggest when the chat button is clicked

How to create a rule that triggers an autosuggest when the chat-button is clicked

Creating the rule

  1. Log in to your giosg account 
  2. Click Settings -> Rules -> Create new rule
  3. Add as a condition “Visitor clicks on an element matching a CSS selector” and add in that field .giosg_chat_now (for desktop) and .giosg-speech-bubble (for mobile). If you want the autosuggest to appear on both devices add two separate rules.
  4. Add an action “Autosuggest chat” and the message you want to send to the visitors when they click the chat button.
  5. Add another condition “Disable capacity check” so that the autosuggest capacity won’t block these messages.