Messenger AI
The Messenger AI configuration controls how AI-powered automatic replies work for incoming messenger requests. When active, new messenger messages are first answered by an AI before a human supporter takes over. This allows instant first responses and can resolve simple inquiries without human intervention.
Note: The Messenger AI feature requires the AI Plugin to be installed and active. AI providers must be configured under Configuration → AI Integration → Providers.
How AI Replies Work
When a new message arrives via Telegram or WhatsApp, a ticket is created.
The AI extracts keywords from the user's message and searches configured
information sources for relevant context.
Based on the found context, the AI generates a reply in a messenger-friendly format.
The reply is sent to the customer via the same messenger platform.
This process repeats for up to 5 consecutive AI replies.
After 5 AI replies or when the customer sends the /support command, the ticket is handed off to a human supporter. The ticket is then dispatched to the configured resource.
Options
AI Provider:
Selects which configured AI provider to use for messenger replies. The dropdown lists all AI providers defined in the AI Integration configuration. Selecting Default Provider uses the system default.
Default value: Default Provider
Additional Instructions:
Custom instructions appended to the AI system prompt for messenger replies. Use this to adjust the AI's behavior, tone, or response style.
Default value: Prefer answers from configured information source context over your own knowledge whenever possible.
AI Response Flow
The following steps occur for each AI-handled message:
The user's message is received via webhook.
A new ticket is created (or an existing open ticket is updated).
After a short delay, the AI is triggered:
Keyword Extraction: The AI identifies the core question from the user's message.
Context Retrieval: The configured information sources are searched for matching content.
Reply Generation: The AI generates a concise reply based on the context and system prompt.
Message Delivery: The reply is automatically sent to the customer via the messenger platform.
If the AI cannot process the message, the standard error message is sent and the ticket is handed off to a human supporter.
Note: If a human supporter replies to the ticket via the Tickets application before the AI responds, the AI is disabled for that ticket and the supporter takes over immediately.
Human Handoff
The AI hands the ticket off to a human supporter in these situations:
After 5 consecutive AI replies
When the customer sends the /support command
When the AI invokes the human support requested tool
When the AI returns an error
When handoff occurs, the ticket is assigned to the channel account''s configured resource.