DocsConceptsHow It Works

how-it-works

How AutomateIt Works

Last updated: June 22, 2026 | Reading time: 8 minutes

Learn how AutomateIt powers your WhatsApp automation from setup to customer conversation.


Overview

AutomateIt sits between your business and WhatsApp, providing:

  • 🤖 AI-powered chatbot (24/7 automated responses)
  • 📢 Campaign management (bulk broadcasts)
  • 📊 Analytics dashboard (conversation insights)
  • 👥 Team collaboration (shared inbox)
  • 🔗 Integrations (CRM, calendar, payment processors)

You remain in full control — own your WhatsApp Business Account, customize AI responses, and manage all customer interactions from one dashboard.


System Architecture

┌─────────────┐
│   Customer  │ Sends WhatsApp message
└──────┬──────┘
       │
       ↓
┌──────────────────────────────────────────┐
│       WhatsApp Business API (Meta)       │
│   • Message routing                      │
│   • Delivery confirmation                │
│   • Media handling                       │
└──────┬───────────────────────────────────┘
       │
       ↓
┌──────────────────────────────────────────┐
│         AutomateIt Platform              │
│   ┌─────────────────────────────────┐   │
│   │  1. Message Router               │   │
│   │     • Identify tenant            │   │
│   │     • Check conversation state   │   │
│   └──────┬──────────────────────────┘   │
│          │                               │
│   ┌──────↓──────────────────────────┐   │
│   │  2. AI Brain (Claude/GPT-4)     │   │
│   │     • Understand intent          │   │
│   │     • Generate response          │   │
│   │     • Check business rules       │   │
│   └──────┬──────────────────────────┘   │
│          │                               │
│   ┌──────↓──────────────────────────┐   │
│   │  3. Business Logic               │   │
│   │     • Execute actions            │   │
│   │     • Update CRM                 │   │
│   │     • Trigger webhooks           │   │
│   └──────┬──────────────────────────┘   │
│          │                               │
│   ┌──────↓──────────────────────────┐   │
│   │  4. Response Formatter           │   │
│   │     • Format message             │   │
│   │     • Add buttons/media          │   │
│   │     • Log conversation           │   │
│   └──────┬──────────────────────────┘   │
└──────────┼──────────────────────────────┘
           │
           ↓
    ┌──────────────┐
    │   Customer   │ Receives response (< 2 seconds)
    └──────────────┘

Step-by-Step: What Happens When a Customer Messages You

1. Message Arrives (0-100ms)

Customer: "Hi, what are your business hours?"
↓
WhatsApp delivers to AutomateIt via webhook
↓
AutomateIt validates: sender, tenant, message type

2. AI Processes (100-800ms)

AI Brain receives:
- Message: "Hi, what are your business hours?"
- Context: First-time customer, Lagos, 2:30pm
- History: No previous conversations
- Business Info: Hours, location, FAQs

AI generates response using:
- Your trained knowledge base
- Conversation history
- Real-time data (if connected to your systems)

3. Response Sent (800-1000ms)

AutomateIt formats response:
"Hello! We're open Mon-Sat, 9am-6pm WAT. 
We're currently OPEN. How can we help you today?"

↓ Sent via WhatsApp API
↓ Customer receives (< 2 seconds total)

4. Logged & Analyzed (Background)

- Conversation saved to database
- Analytics updated (response time, resolution)
- Webhooks triggered (if configured)
- Team notified (if human escalation needed)

Core Components

1. Message Router

What it does: Routes incoming messages to the right place

Routing logic:

IF keyword matches automation rule
  → Execute predefined workflow
  
ELSE IF conversation assigned to human agent
  → Send to team inbox
  
ELSE IF business hours
  → AI responds
  
ELSE (outside hours)
  → Send "We're closed" auto-reply with expected response time

Example:

  • Customer sends "ORDER" → Triggers order workflow
  • Customer sends "TALK TO HUMAN" → Escalates to agent
  • Customer sends "What's your address?" → AI responds

2. AI Brain (Claude Sonnet 4.5 / GPT-4)

What it does: Understands customer intent and generates natural responses

How it works:

// Simplified AI processing
const response = await AI.complete({
  system_prompt: `You are a helpful assistant for ${business.name}.
    
    Business Info:
    - Name: ${business.name}
    - Hours: ${business.hours}
    - Address: ${business.address}
    - Services: ${business.services}
    
    Personality: ${business.ai_personality} // e.g., "Friendly and professional"
    Language: Auto-detect (English, Pidgin, Yoruba, Igbo, Hausa)
    
    Rules:
    - Always be polite and helpful
    - If you don't know, say "Let me connect you with our team"
    - Never make up information
    - Keep responses under 300 characters when possible`,
  
  conversation_history: last10Messages,
  
  user_message: customerMessage,
  
  max_tokens: 500
});

AI capabilities:

  • ✅ Understand multiple languages (auto-detect)
  • ✅ Remember conversation context (up to 30 days)
  • ✅ Handle complex questions ("What's your cheapest 3-bedroom apartment near Lekki?")
  • ✅ Execute business actions (place order, book appointment, send payment link)
  • ✅ Escalate to human when needed ("I'm not sure, let me connect you with Sarah")

3. Business Logic Engine

What it does: Executes actions based on conversation

Available actions:

// Action: Send payment link
if (AI_detects_intent === "ready_to_pay") {
  const paymentLink = await Paystack.createPaymentLink({
    amount: orderTotal,
    customer: customerPhone,
    reference: orderId
  });
  
  sendMessage({
    text: "Here's your payment link:",
    button: {
      text: "Pay ₦" + orderTotal,
      url: paymentLink
    }
  });
}

// Action: Book appointment
if (AI_detects_intent === "book_appointment") {
  const availableSlots = await Calendar.getAvailableSlots(requestedDate);
  
  sendMessage({
    text: "Available times on " + requestedDate + ":",
    buttons: availableSlots.map(slot => ({
      text: slot.time,
      action: "book:" + slot.id
    }))
  });
}

// Action: Check order status
if (AI_detects_intent === "order_status") {
  const order = await CRM.getOrder(customerPhone);
  
  send Message({
    text: `Your order #${order.id} is ${order.status}.
    Estimated delivery: ${order.delivery_date}`
  });
}

4. Campaign Management

What it does: Sends bulk messages to your contact list

Campaign flow:

You create campaign:
├── Select audience (tags, segments, all contacts)
├── Choose message template (must be Meta-approved)
├── Schedule (now or later)
└── Set budget limits (optional)

AutomateIt processes:
├── Queue messages (respect WhatsApp rate limits)
├── Personalize each message (merge tags: {name}, {order_id})
├── Send in batches (100-1000/minute depending on your limit)
├── Track delivery (sent, delivered, read, replied)
└── Generate report (open rate, click rate, conversions)

Example campaign:

Template: "Hi {name}, your order #{order_id} has shipped! 
Track it here: {tracking_url}"

Audience: Customers with orders shipped today (47 contacts)

Personalized messages:
→ "Hi Chidi, your order #1234 has shipped! Track it here: https://..."
→ "Hi Amaka, your order #1235 has shipped! Track it here: https://..."
→ ... (45 more)

Results:
✅ Sent: 47 (100%)
✅ Delivered: 46 (98%)
✅ Read: 42 (89%)
✅ Clicked link: 31 (66%)

Data Flow & Security

How Your Data is Stored

┌─────────────────────────────────────────┐
│         Supabase (PostgreSQL)           │
│   ┌─────────────────────────────────┐   │
│   │  Your Tenant Data (Isolated)    │   │
│   │  ├── Contacts                   │   │
│   │  ├── Conversations              │   │
│   │  ├── Messages                   │   │
│   │  ├── Campaigns                  │   │
│   │  └── Analytics                  │   │
│   └─────────────────────────────────┘   │
│                                         │
│   Row-Level Security (RLS) enforced    │
│   → Tenant A cannot see Tenant B data  │
└─────────────────────────────────────────┘

Security features:

  • 🔒 Encryption at rest (AES-256)
  • 🔒 Encryption in transit (TLS 1.3)
  • 🔒 Row-level security (RLS) - tenant isolation
  • 🔒 API key authentication (not passwords)
  • 🔒 Audit logs (who did what, when)
  • 🔒 Regular backups (daily, retained 30 days)

Learn more about security →


Performance & Reliability

Response Times

  • AI response: <2 seconds (95th percentile)
  • Campaign sending: 100-1000 messages/minute
  • Dashboard load: <1 second
  • API latency: <200ms (median)

Uptime

  • Target: 99.9% uptime (43 minutes downtime/month max)
  • Actual (2026 YTD): 99.95% uptime
  • Status page: status.automateit.com

Scalability

  • Concurrent conversations: 10,000+ simultaneous
  • Messages/day: 1M+ (across all customers)
  • Contacts stored: 100M+ (multi-tenant total)

Integration Ecosystem

AutomateIt connects with your existing tools:

CRM & Sales

  • Salesforce
  • HubSpot
  • Zoho CRM
  • Google Sheets

Calendar & Scheduling

  • Google Calendar
  • Calendly
  • Microsoft Outlook

Payment Processors

  • Paystack (Nigeria)
  • Flutterwave (Pan-African)
  • Stripe (International)

E-commerce

  • Shopify
  • WooCommerce
  • Jumia

Custom Integrations

  • REST API
  • Webhooks
  • Zapier (3000+ apps)

View all integrations →


Limits & Quotas

By Plan

Limit Starter Pro Agency Enterprise
Monthly Price ₦15,000 ₦45,000 ₦149,000 Custom
WhatsApp numbers 1 3 20 Custom
Active contacts/month 1,000 5,000 Unlimited Unlimited
Team seats 1 5 Unlimited Unlimited
App Connectors 5 Unlimited Unlimited Unlimited
Broadcast messages/month Via Meta fees Via Meta fees 50,000 Unlimited
Multi-tenant dashboard
White-label
Long-term AI memory
Support Email Priority Priority Dedicated

Note: All plans have zero markup on Meta conversation fees (you pay Meta directly at their rates)

View complete pricing →


What's Next?

Now that you understand how AutomateIt works, let's get you set up:

  1. Create Your Account - Sign up in 2 minutes
  2. Connect WhatsApp Number - 5-minute guided setup
  3. Train Your AI - Customize responses
  4. Send First Campaign - Broadcast to customers

Questions? Contact support or browse FAQ



Was this helpful? 👍 Yes (87%) | 👎 No (13%)

Edit this page on GitHub

Was this page helpful?

Ready to put your WhatsApp on Autopilot?

Join 500+ businesses using AutomateIt to drive sales, support customers, and scale operations instantly.

No credit card required to start • Cancel anytime