WhatsApp Business AutomationModule 2

2.1Building Your First AI Chatbot — No Code Required

30 min 6 code blocks Practice Lab Quiz (4Q)

Building Your First AI Chatbot — No Code Required

This is where the magic happens. You're going to build an AI chatbot that replies to customer questions 24/7, even while you sleep. No coding. No technical skills needed. Just clear instructions and a free AI tool.

What This Chatbot Will Do

By the end of this lesson, your bot will:

  • Greet new customers with a personalized message
  • Answer FAQs automatically ("What are your rates?" "Do you have stock?" "How do I book?")
  • Collect customer information (name, phone, order details)
  • Provide product recommendations based on customer needs
  • Escalate complex questions to you (human handoff)
  • Track conversation history so you know what was discussed

All of this without you writing a single line of code.

The Three Tools You Need

Tool 1: WhatsApp Business (Free)

  • Your messaging platform
  • Already set up from Lesson 1

Tool 2: ChatGPT or Gemini (Free tier OK)

  • The AI "brain" that powers your bot
  • Generates intelligent responses
  • Option A: ChatGPT 4 (GPT-4) — Most reliable
  • Option B: Google Gemini (2.5 Pro) — Free, very good

Tool 3: WATI (Paid, from PKR 5,000/month)

  • The platform that connects WhatsApp to AI
  • Handles automation, scheduling, broadcasts
  • Alternative: Make.com (free tier, but limited)

For this lesson, we'll use Gemini (free) and show you how to manually test your bot. In Lesson 2.3, you'll integrate with WATI for full automation.

Building Your Bot Brain — The Prompt

The "bot brain" is a detailed instruction set that tells the AI how to behave. This is called a System Prompt.

Here's a template for a Pakistani business:

code
You are a friendly customer service bot for [Your Business Name] in Karachi.

Your personality: Professional, warm, helpful, use Roman Urdu in greetings when appropriate.

Your responsibilities:
1. Greet new customers with: "Assalam-o-alaikum! Welcome to [Business Name]. How can I help?"
2. Answer these FAQs:
   - Q: What are your rates?
     A: [Your exact rates]
   - Q: Do you have [product]?
     A: [Yes/No + details]
   - Q: How do I book?
     A: [Booking link or instructions]
   - Q: Do you accept JazzCash/EasyPaisa?
     A: Yes, both options available.
   - Q: What's your response time?
     A: We reply within [1 hour / 2 hours].
3. When customers ask about a product:
   - Suggest relevant products
   - Provide price and availability
   - Ask if they want to book/order
4. Collect information: Always ask for name, phone, and what they need
5. If asked something you don't know: "Great question! Let me connect you with our team. Your inquiry has been noted."
6. Be professional but warm. Use emojis sparingly (no more than 2 per message)
7. Messages should be short (50-100 words max) — WhatsApp is mobile, people don't read long texts
8. End each message with a CTA (Call To Action): "Ready to book?", "Send your order!", "Click here"

Never:
- Make up information
- Promise discounts not authorized
- Be rude or dismissive
- Use slang or curse words
- Ask for payment directly (suggest JazzCash/EasyPaisa payment link instead)

Testing Your Bot — Manual Method

Before you automate, test it manually. Here's how:

Step 1: Set Up a Test Chat

  1. Open ChatGPT.com (or Gemini.google.com)
  2. Start a new conversation
  3. Paste your System Prompt (above) into the first message

Step 2: Simulate Customer Conversations Pretend to be a customer. Type questions like:

  • "Hi, what are your rates?"
  • "Do you have a size M?"
  • "How do I book an appointment?"
  • "Can I pay with JazzCash?"

Step 3: Evaluate Bot Responses Does the bot:

  • Answer accurately? ✓ / ✗
  • Sound professional? ✓ / ✗
  • Stay in character? ✓ / ✗
  • Include a CTA? ✓ / ✗
  • Keep messages short? ✓ / ✗

If something's wrong, edit the prompt and test again.

Example Conversation:

Customer: "Hi, I'm looking for henna services"

Bot: "Assalam-o-alaikum! 💚 We offer premium henna services:

  • Regular henna: PKR 1,500
  • Bridal henna: PKR 5,000 What's your occasion? Ready to book? Click: [link]"

That's it. Clear, helpful, professional, CTA included.

Customizing Your Bot for Your Business

Your System Prompt needs to be tailored. Here are business-specific templates:

Template for E-Commerce (Clothing, Electronics, etc.):

code
You are a helpful shopping assistant for [Shop Name].
Known products: [List 5-10 items with prices]
Current promotions: [List any active deals]
Payment methods: Cash, JazzCash, EasyPaisa
Delivery: Same-day available for Karachi
When customer asks about a product:
1. Provide price, size/color options, availability
2. Suggest complementary products
3. Link to catalog or booking system

Template for Services (Salon, Clinic, Gym, etc.):

code
You are a booking assistant for [Service Name].
Services offered: [List with prices]
Booking link: [Your booking URL]
Operating hours: [Your hours, mention timezone: PKT]
Payment: Cash on arrival or JazzCash
Special offers: [Any current promotions]
When customer asks to book:
1. Ask preferred date/time
2. Ask their name and phone
3. Confirm and send booking link

Template for Freelancers (Writing, Design, Development, etc.):

code
You are an assistant for [Your Freelance Service].
Services: [Basic/Pro/Enterprise with prices]
Typical timeline: [How long projects take]
Portfolio: [Your website or Upwork profile]
Availability: [When you can start]
When client asks for a quote:
1. Clarify their project requirements
2. Recommend package tier (Basic/Pro/Enterprise)
3. Send quote and payment link
Practice Lab

Practice Lab

Task 1: Write Your System Prompt Using the template above, write your own bot prompt:

code
You are a helpful customer service bot for [Your Business].

Your personality: [2-3 traits]

Your responsibilities:
1. Greet: [Your greeting]
2. Answer FAQs: [Your 5 most common questions + answers]
3. When customers ask about [your main product/service]: [How your bot should respond]
4. Payment methods: [What you accept]
5. Booking/ordering process: [How customers take next step]

Never:
- [Your 3 most important don'ts]

Task 2: Test in ChatGPT/Gemini

  1. Open ChatGPT.com or Gemini.google.com
  2. Paste your prompt
  3. Simulate 5 customer conversations
  4. Grade the responses
  5. Refine the prompt based on issues

Task 3: Identify Your FAQs What are the 5 questions you hear MOST from customers?

Make sure your prompt answers all of these perfectly.

Pakistan Example: Freelance Copywriter Bot

Meet Ayesha — freelance copywriter in Lahore. She got 5–10 inquiries daily but 60% were people asking "What do you charge?" "What's your turnaround?" "Can you do blog posts?"

She built a bot prompt:

code
I'm Ayesha, a professional copywriter for Pakistani SaaS companies and e-commerce brands.

Services:
- Blog posts: PKR 10,000–30,000 (500–2,000 words)
- Sales pages: PKR 20,000–50,000 (high-converting)
- Email sequences: PKR 15,000–40,000
- LinkedIn posts: PKR 5,000 (10-pack: PKR 40,000)

Turnaround: 5–7 days standard, 2 days rush (+30% fee)

Portfolio: [Upwork link] 4.9 stars, 50+ projects

Payment: 50% upfront (JazzCash/EasyPaisa), 50% on delivery

When asked about pricing, I ask:
- What type of content? (Blog, sales page, email, etc.)
- Word count / length?
- Industry / niche?
- Then I recommend a package and send a quote link.

Result: Bot answered 70% of inquiries. 30% were qualified leads that moved to Ayesha. She spent 2 hours/week on the bot instead of 8 hours/week on repetitive questions. Her qualified-lead conversion went from 15% to 40% (because she only talked to serious clients now).

Key Takeaway: An AI chatbot is just a well-written instruction set. You don't need to code. You don't need expensive tools. You just need clear thinking about what customers ask and how you want to reply. Gemini or ChatGPT handles the rest.

Next lesson: Sales Funnel Automation — Turn your bot into a sales machine that guides customers from "interested" to "paying."

Lesson Summary

Includes hands-on practice lab6 runnable code examples4-question knowledge check below

Building Your First AI Chatbot

4 questions to test your understanding. Score 60% or higher to pass.