Skip to content

3.3: WhatsApp Integration ​

Did you know that over 2 billion people use WhatsApp every day? That's where your customers already are - chatting with friends, family, and increasingly, with businesses.

Imagine this: A customer messages your WhatsApp Business number at midnight asking about your return policy. Instead of waiting until morning, they get an instant, helpful answer from your AI agent. They're impressed, satisfied, and more likely to buy.

That's what we're building today!

By the end of this section, your AI agent will be able to:

  • Receive WhatsApp messages from customers 24/7
  • Automatically respond with intelligent, helpful answers
  • Create a conversation record in your taible
  • Send responses back through WhatsApp instantly
  • Handle multiple conversations simultaneously

Ready to meet your customers where they are? Let's go!


3.3.1: What You'll Build ​

Here's what your WhatsApp automation will look like:

YC
Your Company
Business Account
Hi! What are your business hours?
10:23 AM
Hello! Our business hours are Monday-Friday, 9 AM to 5 PM EST. We're also available via chat 24/7 for common questions!
10:23 AM
Great, thank you!
10:24 AM
Type a message...
🎀
Live WhatsApp Conversation

Customers message your WhatsApp Business number and get instant AI responses

πŸ’‘ The Customer Experience

From the customer's perspective:

  1. They message your WhatsApp Business number (just like texting a friend)
  2. They get an instant, helpful response
  3. They can continue the conversation naturally
  4. Everything feels personal and professional

From your perspective:

  • Every message is handled automatically
  • Conversations are saved in your taible for review
  • You can step in anytime for complex questions
  • Your AI agent never sleeps, never takes breaks

3.3.2: How WhatsApp Automation Works ​

Before we dive into setup, let's understand the complete flow:

πŸ“± Customer's View (WhatsApp)

YC
Your Company
Business Account
Hi! What are your business hours?
10:23 AM
Hello! Our business hours are Monday-Friday, 9 AM to 5 PM EST. We're also available via chat 24/7!
10:23 AM
Type a message...

πŸ“Š Your View (Taible)

CustomerMessageAI AnswerStatus
+1 555 234-5678Hi! What are your business hours?Hello! Our business hours are Monday-Friday, 9 AM to 5 PM EST. We're also available via chat 24/7!Complete
+1 555 876-5432Do you offer international shipping?Yes! We ship internationally to over 50 countries. Shipping times vary by location, typically 5-10 business days.Complete
+1 555 345-6789Can I return an item? Generating... Processing
Live: New message received and processed automatically!

Customer messages on WhatsApp β†’ Row created in taible β†’ AI processes β†’ Response sent back to WhatsApp

All automatic, all in real-time!

The magic sequence:

  1. Customer messages your WhatsApp Business number β†’ "What are your business hours?"
  2. WhatsApp sends message to your taible β†’ Through the WhatsApp Business API
  3. New row created automatically β†’ With the customer's message and phone number
  4. Your AI columns process it β†’ Search knowledge, generate response
  5. Response sent back to WhatsApp β†’ Customer sees it in their chat
  6. All within seconds! β†’ Feels like instant human support

πŸ’‘ πŸ’‘ Why WhatsApp Is Special

WhatsApp is different from website chat:

Persistence: Conversations stay in the customer's WhatsApp. They can return anytime and see the history.

Reach: Customers don't need to be on your website. They can message you from anywhere.

Trust: WhatsApp conversations feel more personal and trustworthy than website chat widgets.

Notifications: Customers get push notifications, so they never miss your response.

Rich media: You can send images, documents, and formatted messages (we'll cover this later).


3.3.3: Prerequisites ​

Before you begin, make sure you have:

1. A WhatsApp Business Account ​

Don't have one yet? You'll need to:

  • Sign up for WhatsApp Business (it's free for basic features)
  • Verify your business phone number
  • Complete business profile setup

πŸ’‘ WhatsApp Business Setup

Setting up WhatsApp Business is beyond this tutorial's scope, but here are the official resources:

Note: For full automation, you'll need WhatsApp Business API access. The regular WhatsApp Business app has limited automation capabilities.

If you need help with WhatsApp Business setup, reach out to Uniki support!

2. A Chatbot Taible ​

You need a working chatbot taible with:

  • βœ… Customer message column (text input)
  • βœ… AI response column (configured to answer questions)
  • βœ… Knowledge base (optional but recommended)

Don't have this yet? Go back to Section 2.1: Creating Your First Chatbot and build it first. It only takes 10 minutes!

3. Connected WhatsApp Account in Uniki ​

You'll need to connect your WhatsApp Business account to Uniki (we'll show you how in the next step).


3.3.4: Step 1 - Connect Your WhatsApp Business Account ​

First, we need to link your WhatsApp Business account with your taible so they can communicate.

Here's how:

Adding the WhatsApp Connection ​

  1. Open your chatbot taible

  2. Click "Accounts" or "Integrations" in the toolbar

    • Look for the accounts/integrations section
    • This is where you manage external service connections
  3. Click "Add Account"

  4. Choose "WhatsApp Business"

    • Browse the available integrations
    • Select WhatsApp Business from the list
  5. Authorize your WhatsApp account:

Connect WhatsApp Business

Step 2 of 3
Connect Account
2
Configure Message Handling
3
Test Connection

WhatsApp Account Connected

Business Number: +1 (555) 123-4567

A friendly name to identify this WhatsApp connection

Which column should receive incoming WhatsApp messages?

βœ… Auto-create new rows

Every incoming WhatsApp message will automatically create a new row in your taible. The message will appear in the "Customer Question" column.

How incoming messages work:

  1. 1.Customer sends WhatsApp message to +1 (555) 123-4567
  2. 2.New row automatically created in your taible
  3. 3.Message appears in "Customer Question" column
  4. 4.Your AI columns process and respond automatically

Fill in the details:

  • Account Name: Give it a friendly name like "My Business WhatsApp"

    • This is just a label for you to identify it
  • Phone Number: Your WhatsApp Business phone number

    • Must be a verified WhatsApp Business number
    • Include country code (e.g., +1 for US)
  • Save messages to column: Choose which column receives incoming messages

    • Usually "Customer Question" or "Message Text"
  1. Click "Connect Account"

  2. Follow the authorization prompts

    • You may need to log in to your Meta Business account
    • Grant permissions for Uniki to send/receive messages
    • This is secure and standard for WhatsApp integrations

πŸ’‘ πŸŽ‰ Account Connected!

You just linked your WhatsApp to your taible!

Now incoming WhatsApp messages can create rows automatically, and your taible can send responses back through WhatsApp.

πŸ’‘ Important Security Note

Uniki never stores your WhatsApp login credentials.

We use OAuth (the same secure method used by "Sign in with Google"). Your credentials stay with WhatsApp/Meta. Uniki only gets permission to send and receive messages on your behalf.

You can revoke this permission anytime from your Meta Business settings.


3.3.5: Step 2 - Set Up Incoming Messages ​

Now that your account is connected, let's tell your taible what to do when messages arrive.

Adding a WhatsApp Trigger ​

Think of a trigger as an automatic listener that waits for WhatsApp messages and creates rows.

Here's how:

  1. Click "Add Trigger" in your taible toolbar

    • Look for it near "Add Column" button
  2. Choose "WhatsApp Incoming Message" trigger

    • Browse categories or search for "WhatsApp"
    • Select the incoming message trigger
  3. Configure the trigger:

The configuration is similar to what you saw in Step 1:

  • Trigger Name: WhatsApp Incoming

    • Just a label for you
  • WhatsApp Account: Select the account you just connected

    • Choose "My Business WhatsApp" (or whatever you named it)
  • Save message to column: Choose your customer question column

    • This is where the message text will appear
  • Additional fields to capture (optional):

    • Customer phone number β†’ Save to "Phone" column
    • Customer name β†’ Save to "Name" column
    • Message timestamp β†’ Save to "Received At" column
  1. Click "Add Trigger"

πŸ’‘ πŸ’‘ What Just Happened?

Your taible is now listening to WhatsApp 24/7!

Every time someone sends a WhatsApp message to your business number:

  1. This trigger fires automatically
  2. A new row is created in your taible
  3. The message appears in your chosen column
  4. Your AI columns start processing automatically

You don't need to do anything manually anymore!


3.3.6: Step 3 - Set Up Outgoing Responses ​

Your taible can now receive WhatsApp messages. But we also need to send responses back!

Send WhatsApp Message Column

Output

Technical identifier (lowercase, no spaces)

Display name shown in table

Which WhatsApp Business account should send messages?

Which column contains the message to send?

⏳ Wait for these columns first:

customer_message
ai_answer

This column will wait until the AI finishes generating a response before sending it to WhatsApp.

πŸ“± Who receives the message?

Messages are automatically sent to the phone number of the person who sent the original WhatsApp message. No need to specify a recipient - it's handled automatically!

How the flow works:

1. Customer sends WhatsApp message
2. Row created with message in "Customer Question" column
3. "AI Answer" column generates response
4. "Send WhatsApp Response" column waits for AI to finish
5. Response sent back to customer via WhatsApp

Adding the WhatsApp Output Column ​

Here's how:

  1. Click "+ Add Column" in your taible

  2. Choose column type:

    • Look for the "Communication" or "Integrations" category
    • Select "WhatsApp Message" or "Send WhatsApp" column type
  3. Configure the output:

Fill in these fields:

  • Column Name: send_whatsapp

    • Technical identifier (lowercase, underscores)
  • Column Label: Send WhatsApp Response

    • Display name you'll see in the table
  • WhatsApp Account: Select your connected account

    • Choose "My Business WhatsApp"
  • Send message from column: Choose "AI Answer"

    • This is the AI response you want to send back
  • Send to: Customer's phone number

    • Usually auto-detected from the incoming message
    • Or you can specify a column containing the phone number
  • Wait for these columns first:

    • βœ“ Check "Customer Question"
    • βœ“ Check "AI Answer"
    • This ensures the AI finishes before sending
  1. Click "Add Column"

πŸ’‘ πŸŽ‰ You're All Set!

Your two-way WhatsApp automation is complete!

  • βœ… Incoming messages β†’ New rows created
  • βœ… AI processes messages β†’ Generates responses
  • βœ… Outgoing column β†’ Sends responses back to WhatsApp

Everything happens automatically now!


3.3.7: Step 4 - Test It Live! ​

Time to see your WhatsApp agent in action! πŸš€

Testing Your WhatsApp Automation ​

  1. Grab your phone (or ask a friend/colleague)

  2. Open WhatsApp on your phone

  3. Start a new chat with your business number

    • The number you connected to Uniki
    • Add it as a contact or just message the number
  4. Send a test message:

    • Type: "What are your business hours?"
    • Press Send
  5. Watch the magic happen!

    On your phone:

    • You'll see your message sent
    • After a few seconds, you'll see the AI's response
    • It looks just like chatting with a person!

    In your taible:

    • A new row appears with the message
    • The AI Answer column shows "Processing..."
    • Then the response appears
    • The "Send WhatsApp Response" column executes
    • Status shows "Complete" βœ“

πŸ“± Customer's View (WhatsApp)

YC
Your Company
Business Account
Hi! What are your business hours?
10:23 AM
Hello! Our business hours are Monday-Friday, 9 AM to 5 PM EST. We're also available via chat 24/7!
10:23 AM
Type a message...

πŸ“Š Your View (Taible)

CustomerMessageAI AnswerStatus
+1 555 234-5678Hi! What are your business hours?Hello! Our business hours are Monday-Friday, 9 AM to 5 PM EST. We're also available via chat 24/7!Complete
+1 555 876-5432Do you offer international shipping?Yes! We ship internationally to over 50 countries. Shipping times vary by location, typically 5-10 business days.Complete
+1 555 345-6789Can I return an item? Generating... Processing
Live: New message received and processed automatically!

Customer messages on WhatsApp β†’ Row created in taible β†’ AI processes β†’ Response sent back to WhatsApp

All automatic, all in real-time!

πŸ’‘ πŸŽ‰ It's Alive!

Congratulations! You just created a fully automated WhatsApp support system!

Your customers can now message you on WhatsApp 24/7 and get instant, intelligent responses. Every conversation is saved in your taible for you to review.

You've essentially cloned yourself! (Well, the helpful, always-available version of yourself 😊)

What If It Doesn't Work? ​

Don't panic! Here's a quick troubleshooting checklist:

"No row was created in my taible"

βœ… Check these:

  • Is the WhatsApp account still connected? (Check Accounts section)
  • Is the trigger enabled? (Check trigger settings)
  • Did you message the correct business number?
  • Try disconnecting and reconnecting the account

"Row created but no AI response"

βœ… Check these:

  • Is your AI Answer column configured correctly?
  • Does it have all dependencies met?
  • Check the cell for error messages (click on it)
  • Review your AI instructions and knowledge base

"AI responds but WhatsApp message not sent"

βœ… Check these:

  • Is the "Send WhatsApp" column configured?
  • Did you select the correct WhatsApp account?
  • Are the dependencies (wait conditions) set correctly?
  • Check if the customer's phone number is valid

"Response is too slow"

βœ… Ways to speed up:

  • Use a faster AI model (GPT-3.5 instead of GPT-4)
  • Simplify your AI instructions
  • Reduce knowledge base search scope
  • Check your internet connection

πŸ’‘ πŸ’‘ Pro Testing Tip

Create a test filter while testing:

  1. Add a filter: "Phone Number equals [your test phone]"
  2. This shows only your test messages
  3. Keeps your real customer conversations separate
  4. Makes debugging easier

Remove the filter when you're done testing!


3.3.8: Tips for Better WhatsApp Automation ​

Now that your automation works, let's make it even better!

Keep Messages Concise and Mobile-Friendly ​

WhatsApp is mobile-first. Long messages are hard to read on phones.

Do this:

  • βœ… Break long answers into multiple short messages
  • βœ… Use line breaks for readability
  • βœ… Get to the point quickly
  • βœ… Use bullet points or numbered lists

Example AI instruction:

Keep responses under 100 words. Use short sentences.
Break longer answers into multiple paragraphs with line breaks.

Use a Friendly, Conversational Tone ​

WhatsApp feels personal. Your AI should too!

Examples:

❌ Too formal: "We appreciate your inquiry. Our operational hours are as follows: Monday through Friday, 09:00 to 17:00 EST."

βœ… Just right: "Hey! We're open Monday-Friday, 9 AM to 5 PM EST. But I'm here 24/7 to help with common questions! 😊"

Handle Common Questions Instantly ​

Add your most common questions to your knowledge base:

  • Business hours
  • Return policy
  • Shipping information
  • Payment methods
  • Product availability

The faster your AI can answer without searching, the better the customer experience!

Set Expectations ​

Let customers know they're talking to an AI (if that fits your brand):

Example opening response:

"Hi! I'm the AI assistant for [Company]. I can help with
most questions instantly! For complex issues, I'll connect
you with our team. How can I help today?"

Or keep it ambiguous and seamlessly hand off to humans when needed.

Add Quick Reply Buttons (Advanced) ​

WhatsApp supports interactive buttons:

  • βœ… "View Products"
  • βœ… "Check Order Status"
  • βœ… "Talk to Human"
  • βœ… "More Information"

These make conversations faster and easier!

(We'll cover this in advanced sections - for now, text responses work great!)

πŸ’‘ ⚠️ WhatsApp Messaging Rules

Important: WhatsApp has strict anti-spam policies.

You can only message customers who:

  • Messaged you first, OR
  • Opted in to receive messages from you

Never:

  • ❌ Send unsolicited promotional messages
  • ❌ Spam customers with multiple messages
  • ❌ Share customer WhatsApp numbers without permission

Violating these rules can get your WhatsApp Business account banned!


3.3.9: Beyond Basic Responses ​

Your WhatsApp agent can do more than just answer questions!

Send Order Updates ​

Scenario: Customer places an order on your website.

Your automation:

  1. Order webhook triggers new row in "Orders" taible
  2. Taible processes order
  3. Sends WhatsApp message: "Thanks for your order #12345! We'll ship it tomorrow and send you tracking info."

Customer gets proactive updates on WhatsApp!

Collect Customer Information ​

Your AI can ask follow-up questions:

Customer: "I want to schedule a consultation"

AI: "I'd love to help! What's your email address? I'll send you available times."

Customer: "john@example.com"

AI: [Saves email to column, checks calendar, responds with times]

Appointment Reminders ​

Send automated reminders:

  • "Hi! Reminder: Your appointment tomorrow at 2 PM. Reply CONFIRM to confirm."
  • "Your delivery arrives today between 3-5 PM!"
  • "Your subscription renews in 3 days. Reply CANCEL to cancel."

Handle Multiple Languages ​

Configure your AI to detect and respond in the customer's language:

Customer: "ΒΏCuΓ‘l es su horario?" (Spanish)

AI: "Β‘Hola! Nuestro horario es lunes a viernes, 9 AM a 5 PM EST."

Your AI can be multilingual automatically!


3.3.10: When to Bring in a Human ​

AI is amazing, but humans are still better for:

  • Complex problem-solving
  • Empathy in difficult situations
  • Negotiations and sales discussions
  • Handling angry or frustrated customers

Setting Up Human Handoff ​

Option 1: Magic phrase

  • Customer says "talk to human" or "speak to agent"
  • AI responds: "No problem! Connecting you to our team now."
  • Creates a notification for your support team
  • Human takes over the conversation

Option 2: Automatic escalation

  • AI detects frustration or complex issue
  • Automatically notifies team
  • Team member jumps in seamlessly

Option 3: Approval workflow

  • AI drafts response
  • Shows it to you in taible
  • You approve or edit before sending
  • (Useful for sales or sensitive topics)

πŸ’‘ πŸ’‘ The Best Customer Experience

The best automation doesn't replace humans - it amplifies them.

  • AI handles 80% of routine questions instantly
  • Humans handle 20% of complex issues thoughtfully
  • Customers get fast answers + human touch when needed
  • Your team focuses on high-value interactions

That's the sweet spot!


3.3.11: Monitoring Your WhatsApp Conversations ​

Creating a WhatsApp Dashboard ​

Track key metrics:

  • Messages received today: Count of new rows
  • Response time: Average time to respond
  • Common questions: Most frequent topics
  • Customer satisfaction: Track positive vs. negative sentiment

Example dashboard widgets:

  1. Line chart: Messages per day
  2. Number: Average response time
  3. Bar chart: Top 5 question categories
  4. List: Recent conversations needing human review

Setting Up Alerts ​

Get notified when important things happen:

Create an alert for:

  • βœ… Negative sentiment detected β†’ Notify support team
  • βœ… VIP customer messages β†’ Notify sales team
  • βœ… Message mentions "urgent" or "emergency" β†’ Immediate notification
  • βœ… AI couldn't find an answer β†’ Flag for knowledge base update

You stay in control even while AI handles the work!


3.3.12: What You Learned ​

Let's celebrate what you just accomplished! πŸŽ‰

You now have:

  • βœ… WhatsApp Business connected to your taible
  • βœ… Automatic row creation for incoming messages
  • βœ… AI responses sent back to customers via WhatsApp
  • βœ… Complete conversation history in your taible
  • βœ… 24/7 automated customer support on WhatsApp

The skills you learned:

  • Connecting external services (WhatsApp) to your taible
  • Setting up incoming message triggers
  • Configuring output columns for two-way communication
  • Testing and troubleshooting integrations
  • Optimizing for mobile messaging experiences

The pattern you mastered:

External Event (WhatsApp Message)
    ↓
Trigger Creates Row
    ↓
Columns Process Data (AI Answer)
    ↓
Response Sent Back (WhatsApp Output)

This same pattern works for:

  • Email support (next section!)
  • SMS messages
  • Slack messages
  • Telegram
  • Facebook Messenger
  • Any messaging platform!

3.3.13: Real-World Success Story ​

πŸ’‘ πŸ“± Case Study: Local Bakery

The Challenge: Maria's Bakery was getting 30+ WhatsApp messages daily asking about:

  • Menu items and prices
  • Special dietary options (vegan, gluten-free)
  • Pickup times and locations
  • Custom cake orders

Maria spent 2-3 hours every evening replying to messages.

The Solution: Maria set up a WhatsApp AI agent with her menu and policies in the knowledge base.

The Results:

  • βœ… 80% of questions answered automatically
  • βœ… Response time dropped from hours to seconds
  • βœ… Customers loved the instant responses
  • βœ… Maria only handles complex custom orders now
  • βœ… More time for baking, less time on phone

Maria's feedback:

"It's like hiring a full-time assistant who never sleeps. My customers get instant answers, and I get my evenings back. Best decision ever!"


3.3.14: Making It Even Better ​

Ready to level up your WhatsApp automation? Try these enhancements:

Add Rich Media Responses ​

  • Send product images when customers ask about items
  • Share PDF catalogs or brochures
  • Send location maps for pickup/delivery
  • Include clickable buttons for common actions

Integrate with Your Systems ​

Connect WhatsApp to your other tools:

  • CRM: Auto-update customer records
  • E-commerce: Check inventory, create orders
  • Calendar: Book appointments directly from WhatsApp
  • Support desk: Create tickets for complex issues

Personalize Based on Customer Data ​

If you know who's messaging:

  • Greet by name: "Hi Sarah! How can I help today?"
  • Reference past orders: "Your last order was delivered on..."
  • Offer personalized recommendations
  • Remember preferences

A/B Test Your Responses ​

Try different response styles:

  • Version A: Formal and professional
  • Version B: Casual and friendly

See which gets better customer satisfaction!

Track Business Outcomes ​

Measure the impact:

  • Conversion rate: Messages β†’ Sales
  • Customer satisfaction scores
  • Response time improvement
  • Support team time saved
  • Revenue from WhatsApp conversations

Data helps you optimize and prove ROI!


3.3.15: Common Questions ​

"Can I use regular WhatsApp (not Business)?"

No, you need WhatsApp Business or WhatsApp Business API for automation. Regular WhatsApp doesn't support automated messaging.

"How much does WhatsApp Business cost?"

WhatsApp Business app is free. WhatsApp Business API has costs based on message volume (usually very affordable for small businesses).

"Can customers tell they're talking to AI?"

Only if you tell them! Your responses will feel natural. Many businesses mention it for transparency: "Hi! I'm the AI assistant for..."

"What if AI gives a wrong answer?"

That's why we save conversations in your taible! Review them regularly, update your knowledge base, and refine AI instructions. Over time, accuracy improves dramatically.

"Can I respond manually sometimes?"

Absolutely! You can jump into any conversation in WhatsApp directly. The AI handles routine questions; you handle special cases.

"Is this GDPR/privacy compliant?"

Yes, as long as you:

  • Have customer consent (they messaged you first)
  • Don't share their data inappropriately
  • Honor data deletion requests
  • Follow WhatsApp's terms of service

Always consult legal advice for your specific situation.

"What happens if WhatsApp goes down?"

Your taible will queue outgoing messages and send them when WhatsApp is back online. You can also set up alerts to notify you of delivery failures.


πŸ’‘ πŸš€ You're Crushing It!

Two integrations down! Your agent can now talk to customers on:

  • βœ… Your website (Section 3.2)
  • βœ… WhatsApp (this section!)

You're building a true omnichannel support system.

Next up: Let's add email support so your agent can handle email inquiries too!


Previous: 3.2 Website Chatbot WidgetNext: 3.4 Email Integration

Built with VitePress