How to Build a WhatsApp Bot for Your Business: Step-by-Step Guide (2026)
Building a WhatsApp bot requires three components: WhatsApp Business API access (from ILS 350/month via a BSP like 360dialog), an automation platform like N8N to handle message logic, and optionally an AI model (GPT-4o or Claude) for intelligent responses. The complete process takes 1-4 weeks depending on complexity. This guide walks through every step — from API setup to CRM integration — with specific instructions for businesses in Israel, including Hebrew bot configuration and WhatsApp's 24-hour messaging rules.
What You Need Before Starting
Prerequisites Checklist
| Requirement | Details | Cost | Time |
|---|---|---|---|
| Meta Business Account | Verified Facebook Business account | Free | 1-3 days (verification) |
| Phone number | Dedicated number for WhatsApp API | Existing or new | Immediate |
| BSP account | 360dialog, Twilio, WATI, or similar | ILS 0-800/month | 1 day |
| N8N instance | Self-hosted or cloud | Free-EUR 60/month | 1-2 hours |
| OpenAI API key (optional) | For AI-powered responses | Pay-per-use | Immediate |
| Zoho CRM account (optional) | For lead management | Free-$52/user/month | Immediate |
Choosing Your Bot Type
Before building, decide which type of bot matches your needs:
| Bot Type | What It Does | Complexity | Cost (Development) |
|---|---|---|---|
| Auto-Responder | Sends predefined replies to keywords | Low | ILS 1,500-3,000 |
| Menu Bot | Interactive buttons/lists for navigation | Low-Medium | ILS 3,000-5,000 |
| FAQ Bot | Answers common questions from a knowledge base | Medium | ILS 5,000-8,000 |
| AI Conversational Bot | Natural language conversations using GPT-4/Claude | Medium-High | ILS 8,000-15,000 |
| Full AI Agent | Conversations + CRM + scheduling + actions | High | ILS 15,000-30,000 |
Step 1: Set Up WhatsApp Business API (Days 1-3)
1.1 Create and Verify Meta Business Account
- Navigate to business.facebook.com
- Create a Business Account (or log into existing)
- Go to Security Center → Start Verification
- Provide:
- Israeli business registration number (ח.פ. or ע.מ.)
- Business address
- Business phone number
- Business website (verified via DNS)
- Upload supporting document (business registration certificate)
Timeline: Meta typically verifies within 1-3 business days.
1.2 Choose and Set Up a BSP
For this guide, we use 360dialog (cost-effective, API-first approach):
- Sign up at 360dialog.com
- Connect your Meta Business Account
- Register your phone number for WhatsApp API
- Complete phone number verification (SMS or voice call)
- Receive API key and webhook URL
Alternative BSPs for Israeli businesses:
- WATI — Best for non-technical teams (dashboard interface)
- Twilio — Best if you already use Twilio for SMS
- Infobip — Best for enterprise with local support needs
1.3 Create Your First Message Templates
Submit at least 3 templates to Meta for approval:
Template 1: Welcome/Lead Capture
Name: welcome_message
Language: Hebrew
Category: Marketing
Body: "שלום {{1}}! תודה שפנית ל-{{2}}.
איך נוכל לעזור לך היום?
1️⃣ מידע על שירותים
2️⃣ קביעת פגישה
3️⃣ שיחה עם נציג"
Template 2: Appointment Reminder
Name: appointment_reminder
Language: Hebrew
Category: Utility
Body: "שלום {{1}}, תזכורת: יש לך פגישה מחר
בתאריך {{2}} בשעה {{3}}.
לאישור — שלח/י 1
לשינוי — שלח/י 2"
Template 3: Follow-Up
Name: follow_up
Language: Hebrew
Category: Marketing
Body: "שלום {{1}}, שמנו לב שהתעניינת ב{{2}}.
רוצה לשמוע עוד? צוות המומחים שלנו ישמח לעזור.
📞 או שלח/י הודעה כאן"
Approval timeline: 24-48 hours per template.
Step 2: Set Up N8N (Day 2-3)
2.1 Install N8N
Option A: Self-Hosted (Recommended for cost control)
Using Docker on a VPS (DigitalOcean, Hetzner, AWS):
docker run -d --name n8n \
-p 5678:5678 \
-v n8n_data:/home/node/.n8n \
-e N8N_BASIC_AUTH_ACTIVE=true \
-e N8N_BASIC_AUTH_USER=admin \
-e N8N_BASIC_AUTH_PASSWORD=your-secure-password \
n8nio/n8n
Estimated hosting cost: ILS 80-200/month for a basic VPS.
Option B: N8N Cloud
Sign up at n8n.cloud. Plans start at EUR 24/month (2,500 executions).
2.2 Configure WhatsApp Webhook in N8N
- Create a new workflow in N8N
- Add a Webhook node as the trigger
- Method: POST
- Path:
/whatsapp-incoming - Copy the webhook URL (e.g.,
https://your-n8n-domain.com/webhook/whatsapp-incoming)
- Configure your BSP (360dialog) to send incoming messages to this webhook URL
- Test by sending a WhatsApp message to your registered number
The webhook receives JSON data like:
{
"messages": [{
"from": "972501234567",
"type": "text",
"text": { "body": "שלום, מתעניין בשירותים שלכם" },
"timestamp": "1708700000"
}]
}
Step 3: Build Your Bot Logic (Days 3-7)
3.1 Basic Auto-Responder (No AI)
This is the simplest bot — responds with predefined messages based on keywords.
N8N Workflow:
- Webhook Node — Receives incoming messages
- Set Node — Extracts message text and sender number
- Switch Node — Routes based on message content:
- Contains "מחיר" or "price" → Send pricing info
- Contains "פגישה" or "meeting" → Send booking link
- Contains "שירות" or "service" → Send service list
- Default → Send general greeting
- HTTP Request Node — Sends response via WhatsApp API
Response example (pricing inquiry):
{
"messaging_product": "whatsapp",
"to": "{{sender_number}}",
"type": "text",
"text": {
"body": "המחירים שלנו מתחילים מ-₪3,500 לבוט בסיסי ועד ₪15,000 למערכת מלאה. רוצה לקבוע שיחת ייעוץ חינמית?"
}
}
3.2 AI-Powered Bot (Using GPT-4o)
For intelligent, context-aware conversations:
N8N Workflow:
- Webhook Node — Receives incoming messages
- Set Node — Extracts message text and sender number
- AI Agent Node — Processes message with GPT-4o:
- System Prompt: Business-specific instructions in Hebrew
- Tools: CRM lookup, appointment booking, FAQ search
- Memory: Conversation history per phone number
- HTTP Request Node — Sends AI-generated response via WhatsApp API
- Zoho CRM Node — Creates/updates lead record
System prompt example:
You are a business assistant for [Company Name], an automation company in Israel.
Your role: Qualify leads and schedule consultations.
Rules:
- Respond in Hebrew unless the customer writes in English
- Be direct and professional (Israeli business style)
- Ask about: business type, team size, main challenge, budget range
- After qualification, offer to schedule a free consultation
- Never make up pricing or capabilities
- If you don't know something, say you'll connect them with a team member
Services and pricing:
- WhatsApp bot: ILS 3,500-6,000
- CRM implementation: ILS 5,000-12,000
- Full automation stack: ILS 15,000-30,000
- Free initial consultation
Working hours: Sunday-Thursday 9:00-18:00
3.3 Interactive Menu Bot (Buttons and Lists)
WhatsApp supports interactive message types that work well for menu-driven bots:
Interactive Button Message:
{
"messaging_product": "whatsapp",
"to": "{{sender_number}}",
"type": "interactive",
"interactive": {
"type": "button",
"body": {
"text": "שלום! איך אוכל לעזור?"
},
"action": {
"buttons": [
{ "type": "reply", "reply": { "id": "services", "title": "שירותים" }},
{ "type": "reply", "reply": { "id": "pricing", "title": "מחירון" }},
{ "type": "reply", "reply": { "id": "meeting", "title": "קביעת פגישה" }}
]
}
}
}
Interactive List Message:
{
"messaging_product": "whatsapp",
"type": "interactive",
"interactive": {
"type": "list",
"body": { "text": "בחר/י שירות:" },
"action": {
"button": "הצג שירותים",
"sections": [{
"title": "השירותים שלנו",
"rows": [
{ "id": "whatsapp-bot", "title": "בוט לוואטסאפ", "description": "החל מ-₪3,500" },
{ "id": "crm", "title": "הטמעת CRM", "description": "החל מ-₪5,000" },
{ "id": "ai-agent", "title": "סוכן AI", "description": "החל מ-₪8,000" },
{ "id": "automation", "title": "אוטומציה עסקית", "description": "החל מ-₪5,000" }
]
}]
}
}
}
Step 4: Connect to CRM (Week 2)
4.1 Zoho CRM Integration via N8N
Add CRM nodes to your N8N workflow to automatically manage leads:
Lead Capture Flow:
- After AI agent qualifies the lead, extract: name, phone, interest, budget
- Use N8N's Zoho CRM Node → Create Lead:
- Lead Source: "WhatsApp Bot"
- Phone: Customer's WhatsApp number
- Description: AI agent's conversation summary
- Custom fields: Budget range, timeline, specific interest
- Set up Zoho CRM assignment rules to route leads to the right sales person
4.2 Conversation Logging
Log every WhatsApp conversation in CRM for sales team reference:
- After each conversation turn, use N8N's Zoho CRM Node → Create Note
- Attach note to the lead/contact record
- Include: timestamp, customer message, bot response, any actions taken
This gives sales representatives full context when they follow up with qualified leads.
4.3 Automated Follow-Up Sequences
Build N8N scheduled workflows that:
- Day 1: Send WhatsApp thank-you message after conversation
- Day 3: Follow up if no response from qualified leads
- Day 7: Send relevant content (blog post, case study) via WhatsApp template
- Day 14: Final follow-up with special offer
Step 5: Test Your Bot (Days 10-14)
Testing Checklist
| Test Category | What to Verify | Method |
|---|---|---|
| Basic flow | Messages received and responses sent | Send test messages from 3 different numbers |
| Hebrew handling | Hebrew text displays correctly | Test with Hebrew-only, English-only, and mixed messages |
| Edge cases | Empty messages, emojis, voice messages | Send unusual inputs |
| CRM integration | Leads created with correct data | Check Zoho CRM after test conversations |
| Template messages | Templates send successfully | Trigger each template via N8N |
| Error handling | Graceful failures when API is down | Temporarily disable BSP connection |
| Concurrent users | Bot handles multiple conversations | Send messages from 5 numbers simultaneously |
| 24-hour rule | Templates required outside window | Wait 24+ hours and try sending free-form message |
Common Issues and Fixes
| Issue | Cause | Fix |
|---|---|---|
| Messages not received in N8N | Webhook URL mismatch | Verify BSP webhook configuration matches N8N URL |
| Hebrew text garbled | Encoding issue | Ensure UTF-8 encoding in all API calls |
| Template rejected by Meta | Policy violation | Review Meta's template guidelines, remove promotional language from utility templates |
| Bot responds slowly | N8N server performance | Upgrade VPS or switch to N8N Cloud |
| AI responses inaccurate | Poor system prompt | Refine prompt with more specific business rules |
| CRM records not created | Node configuration error | Test Zoho CRM node independently with sample data |
Step 6: Launch and Monitor (Week 3+)
Soft Launch Strategy
- Week 1: Route 25% of incoming WhatsApp messages to bot, rest to human agents
- Week 2: Increase to 50% if quality metrics are acceptable
- Week 3: Full rollout (100%) with human escalation for complex queries
Monitoring Dashboard
Track these metrics daily using N8N's built-in logging or a dashboard tool:
| Metric | Target | Alert Threshold |
|---|---|---|
| Response time | <30 seconds | >60 seconds |
| Error rate | <2% | >5% |
| Escalation rate | <30% | >50% |
| Customer satisfaction | >4.0/5.0 | <3.5 |
| Messages processed/day | Track trend | 50% drop from baseline |
Cost Summary: Building a WhatsApp Bot
Option 1: DIY with N8N (Technical Team Available)
| Component | One-Time Cost | Monthly Cost |
|---|---|---|
| N8N setup and configuration | 0 (DIY) | ILS 80-200 (self-hosted) |
| WhatsApp API (BSP) | 0 | ILS 350-800 |
| OpenAI API (if AI bot) | 0 | ILS 100-500 |
| Meta conversation fees | 0 | ILS 50-300 |
| Total | ILS 0 | ILS 580-1,800 |
Option 2: Professional Implementation
| Component | One-Time Cost | Monthly Cost |
|---|---|---|
| Bot development (Automaziot AI) | ILS 3,500-15,000 | — |
| N8N (self-hosted or cloud) | Included | ILS 80-200 |
| WhatsApp API (BSP) | Included in setup | ILS 350-800 |
| OpenAI/Claude API | — | ILS 100-500 |
| Ongoing maintenance | — | ILS 500-1,500 |
| Total | ILS 3,500-15,000 | ILS 1,030-3,000 |
Break-Even Analysis
If your business spends 3 hours/day on WhatsApp customer conversations:
- Manual cost: 3 hours × ILS 50/hour × 22 workdays = ILS 3,300/month
- Bot cost (professional): ILS 1,500/month average
- Monthly savings: ILS 1,800
- Break-even on implementation (ILS 10,000): ~5.5 months
According to Juniper Research (2025), businesses using conversational AI save an estimated average of $0.70 per customer interaction compared to human-only support.
Advanced: Adding AI Agent Capabilities
Once your basic WhatsApp bot works, upgrade it with AI agent features:
Feature 1: Conversation Memory
Store conversation context in a database so the bot remembers previous interactions:
- N8N stores conversation history keyed by phone number
- AI agent retrieves history before each response
- Enables: "Last time you asked about CRM pricing. Have you made a decision?"
Feature 2: Product/Service Lookup
Connect the bot to your product database:
- N8N queries your database based on customer questions
- AI agent formats relevant product information
- Enables: "We have 3 packages that fit your budget. Here is the comparison..."
Feature 3: Appointment Booking
Integrate with Google Calendar or Calendly:
- AI agent checks available time slots
- Customer selects preferred time via WhatsApp interactive list
- N8N books the appointment and sends confirmation
- Automated reminders at 24 hours and 2 hours before
Feature 4: Multi-Language Support
Configure the AI agent to detect and respond in the customer's language:
- System prompt instructs: "Detect the customer's language and respond in the same language"
- Supports Hebrew, English, Arabic, and Russian (common in Israeli market)
- Language detection is automatic with GPT-4o and Claude
Frequently Asked Questions
Can I build a WhatsApp bot with Zapier instead of N8N?
Zapier can send WhatsApp messages through some integrations, but it lacks webhook support for receiving messages in real-time. Zapier is not recommended for WhatsApp bot development. N8N and Make are better suited because they support webhooks, branching logic, and AI nodes needed for conversational bots.
What happens if WhatsApp blocks my number?
Meta blocks numbers with poor quality ratings (high spam reports, low opt-in compliance). Prevention: (1) only message contacts who opted in, (2) include opt-out options, (3) send relevant, valuable messages. If blocked, contact your BSP for appeal — the process takes 1-2 weeks.
Can the bot transfer conversations to a human agent?
Yes. Configure an escalation trigger in N8N: when the customer types "agent" or "representative," or when the AI agent detects it cannot handle the request, the workflow notifies a human agent (via Slack, email, or WhatsApp group) with the conversation context. The human takes over within the same WhatsApp thread.
How many concurrent conversations can the bot handle?
N8N and WhatsApp API can handle hundreds of concurrent conversations without performance issues. The bottleneck is usually the LLM API rate limit: GPT-4o supports 10,000+ requests/minute on paid plans. For most Israeli SMBs, concurrent capacity is never a practical concern.
Can I add the bot to a WhatsApp Group?
WhatsApp Business API does not support group messaging. The bot operates in individual (1-to-1) conversations only. For group communication needs, consider integrating with Slack or Microsoft Teams via N8N.
Summary
Building a WhatsApp bot for your business involves 6 steps: set up WhatsApp Business API through a BSP, install N8N as your automation platform, build bot logic (keyword-based or AI-powered), connect to your CRM for lead management, test thoroughly, and launch with monitoring.
The total cost ranges from ILS 580/month (DIY) to ILS 3,000/month (professional implementation with AI). For most Israeli businesses, the investment pays for itself within 3-6 months through reduced response times, 24/7 availability, and automated lead capture.
Need help building your WhatsApp bot? Automaziot AI specializes in WhatsApp bot development with AI capabilities, CRM integration, and Hebrew language support. Book a free consultation to discuss your project.
Last updated: February 2026

