skip to main content

Determining which Agent and Bot to Display

When a visitor loads a page, the following is used to determine which agent and/or bot to display.

If Hootsy is displayed inline (see Embedding Hootsy Inline on a Page):

  • If the data-hootsy-profile attribute is defined, display the agent and bot associated with that link.
  • Else, display the highest priority bot with Agent Helper set to true along with the available agent that has the least number of people waiting for a response. If no agents are available, display the agent with the least number of people waiting for a response.

If the Hootsy floating chat widget is displayed:

  • If agents are available and a bot with Agent Helper set to true meets the display conditions, display that bot along with the available agent that has the least number of people waiting for a response.
  • Else, display the highest priority bot with Agent Helper set to false.

Need more help? Contact us