Bot

Domain Domain

Overview

The Bot domain handles all AI-powered conversational interactions, message processing, webhook handling, and backend services for the Impulsell platform. This domain manages communication across multiple channels (WhatsApp, Instagram, Facebook Messenger), processes billing events, handles follow-ups, and manages email communications.

Contact the team

Any questions? Feel free to contact the owners

6 services

This domain contains the following services.

Architecture for the Bot domain

Message Flow

The Bot domain uses AWS SQS for asynchronous message processing. Messages flow through dedicated queues for different purposes:

  • WhatsApp Messages: Process incoming and outgoing WhatsApp messages
  • Webhooks: Handle webhook events from external platforms (WhatsApp, Instagram, Facebook)
  • Follow-ups: Manage automated follow-up messages for conversations
  • Usage Stats: Track and process usage statistics
  • Billing Events: Process billing and subscription events
  • Email: Handle email sending operations

Messages for this domain

Sends messages (1)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummaryChannels
WhatsApp Message
v1.0.0eventEvent representing a WhatsApp message to be processed by the AI agent
-

Receives messages (6)

Quickly find the message you need by searching for the name, type, or summary.
NameVersionTypeSummaryChannels
WhatsApp Message
v1.0.0eventEvent representing a WhatsApp message to be processed by the AI agent
-
Webhook Event
v1.0.0eventEvent representing a webhook from external platforms (WhatsApp, Instagram, Facebook)
-
Follow-Up Request
v1.0.0eventEvent representing a request to send a follow-up message for a conversation
-
Usage Stat
v1.0.0eventEvent representing usage statistics data for analytics and billing
-
Billing Event
v1.0.0eventEvent representing a billing event (subscription, payment, usage, etc.)
-
Email Request
v1.0.0eventEvent representing a request to send an email
-

System Architecture

Loading graph...

Services

Message Service

Handles processing of WhatsApp messages through the AI agent, managing conversations and generating responses.

Webhook Processor

Processes incoming webhooks from WhatsApp, Instagram, and Facebook Messenger platforms.

Follow-Up Processor

Manages automated follow-up messages for conversations that require additional engagement.

Usage Stats Processor

Tracks and processes usage statistics for analytics and billing purposes.

Billing Event Processor

Processes billing events related to subscriptions, payments, and usage-based billing.

Email Sender

Handles sending transactional and notification emails.

Event-driven architecture documentation: Impulsell