githubEdit

eyeChatbot - Using observers

The Observer is a feature that allows you to create an automation that monitors the entire chatbot during the conversation.

When the observer is activated, it ignores the current flow the user is in and directly executes the configured action. This allows certain words, numbers, or conditions to take priority over any step in the bot.


πŸ” How the Observer Works

While the user interacts with the chatbot, the Observer keeps monitoring all sent messages.

If the configured condition is identified, the system:

  1. Interrupts the current flow

  2. Ignores the questions or steps in progress

  3. Immediately executes the defined action

This behavior ensures that the user can quickly access important actions, without needing to follow the entire chatbot flow.


βš™οΈ Usage Example

πŸ‘¨β€πŸ’Ό Talk to an agent

Imagine that the chatbot is asking qualification questions, such as:

  • Name

  • Phone

  • Interest

But the customer does not want to keep answering and prefers to speak directly to an agent.

In this case, you can configure a Observer to identify when the user types:

When this happens:

  • The chatbot interrupts the current flow

  • The service is directed immediately to the configured department


πŸ› οΈ When to use Observers

Observers are very useful for creating shortcuts within the chatbot, such as:

  • πŸ‘¨β€πŸ’Ό Talk to an agent

  • πŸ“ž Request contact

  • ❌ Cancel current flow

  • πŸ“ Go to a specific department

  • πŸ†˜ Priority support


βœ… Tip: Use observers for actions that need to be always available throughout the conversation, ensuring more freedom and speed for the user.

Last updated

Was this helpful?