Skip to main content

Chat Service Override

⚡ TRIGGER

Replace the default AI chat behavior for a specific channel with your custom flow.

Chat Service Override - Messenger


When to Use

Use this trigger when you want to fully customize how your AI handles messages on a specific channel:

  • Add typing indicators on Messenger/Instagram
  • Mark messages as read before responding
  • Pre-process messages before AI responds
  • Route VIP customers differently
  • Add custom integrations before responding
  • Implement channel-specific logic

Configuration

FieldDescription
ChannelSelect which channel to override

Available Channels

ChannelDescription
MessengerFacebook Messenger
WhatsAppWhatsApp Business
InstagramInstagram Direct
DiscordDiscord bot
SlackSlack workspace
GmailGmail integration
EmailSMTP email
WebWeb chatbot (WordPress, PrestaShop, Joomla, etc.)

Available Variables

When your flow runs, you have access to:

VariableDescription
{{message.content}}User's message text
{{message.type}}Message type (text, image, etc.)
{{user.name}}User's display name
{{user.email}}User's email (if available)
{{conversation.id}}Conversation ID
{{channel}}Channel name

Example: Professional Messenger Experience

The screenshot above shows a typical Messenger override flow:

Flow Structure

  1. Messenger AI (Trigger) — Chat Service Override for Messenger
  2. Parallel Execution — Run multiple actions simultaneously:
    • Show Typing Indicator — User sees "typing..."
    • Mark Message as Read — Blue checkmarks appear
  3. AI Request — Process the message with AI
  4. Hide Typing Indicator — Remove typing indicator
  5. Send Message — Reply to user

Why Parallel Execution?

Running "Show Typing" and "Mark as Read" in parallel:

  • Provides instant feedback to user
  • Makes your bot feel responsive and professional
  • Both actions complete before AI processing begins

Example: Gmail with Draft Creation

Chat Service Override - Gmail

Override Gmail to create drafts instead of auto-replying:

  1. Gmail AI Draft (Trigger) — Chat Service Override for Gmail
  2. AI Request — Generate a response
  3. Create Gmail Draft — Save as draft for human review

Testing

Use the test panel to simulate messages on your channel:

ElementDescription
Chat InstanceCreate or select a test conversation
tester.yourMessageInput a test message
Run with StreamingWatch your flow execute in real-time

Ready to elevate your
user experience?

Deploy AI assistants that delight customers and scale with your business.

GDPR Compliant