Return to Feed
Tutorials2026-07-29

How to Build a WhatsApp AI Agent for Your UK Service Business

Meta launched Business Agent globally in June 2026. WhatsApp has 35 million active UK users and a 98% open rate. Here's how to build a WhatsApp AI agent using n8n and Claude in under a week.

<p class="lead">WhatsApp has over 35 million active users in the UK. Meta launched its Business Agent globally on 3 June 2026 — meaning businesses can now deploy AI agents natively inside WhatsApp without piecing together a custom stack. For UK service businesses, this is the shift that makes WhatsApp a serious operational channel, not just another messaging app. Here's exactly how to build a WhatsApp AI agent using n8n, the WhatsApp Business API, and Claude — one that qualifies leads, answers client questions, books calls, and hands off to a human when needed.</p> <h2>Why WhatsApp Is Now the Right Channel for UK Service Business AI</h2> <figure> <img src="https://images.unsplash.com/photo-1512941937669-90a1b58e7e9c?w=1200&q=80" alt="Smartphone displaying a messaging conversation — WhatsApp has 35 million UK users and a 98% message open rate, making it the highest-engagement channel for UK service business AI agents" width="1200" height="800" loading="lazy" /> </figure> <p>Email open rates for UK businesses sit around 21%. WhatsApp open rates sit around 98%. That gap alone explains why your clients are more responsive on WhatsApp than on email — and why an AI agent handling communication there operates in a fundamentally different environment than one answering emails.</p> <p>The practical shift in 2026 is that access to the WhatsApp Business API — the programmatic layer that makes agents possible — is now straightforward. Meta opened direct API access in late 2025, and Business Solution Providers (BSPs) like 360dialog, Twilio, and Infobip offer managed access that takes a few hours to configure rather than weeks. The waiting list and verification process that made the API impractical for small firms have shortened significantly.</p> <p>Meta's Business Agent adds a further layer: a pre-built AI agent you can configure directly inside the WhatsApp Business Manager interface, trained on your FAQ content. For simple use cases — answering standard questions, collecting contact details — you can have something running in a day. For more capable agents that connect to your CRM, your calendar, and your knowledge base, you need to build on the API directly. That is what this tutorial covers.</p> <blockquote><p>WhatsApp is where your clients already are. An AI agent there doesn't feel like a new channel — it feels like a faster version of the conversation they were already having with you.</p></blockquote> <h2>What Your WhatsApp AI Agent Should Handle</h2> <figure> <img src="https://images.unsplash.com/photo-1611532736597-de2d4265fba3?w=1200&q=80" alt="Four WhatsApp AI agent capabilities for UK service businesses: inbound lead qualification, FAQ answering from a knowledge base, appointment booking, and client status updates — the four functions that eliminate the highest-volume repetitive communication" width="1200" height="800" loading="lazy" /> </figure> <p>Before you build, define scope. The most common failure in WhatsApp agent deployments is trying to make the agent do too much on day one. Start with tasks that are high volume, structured, and currently consuming your time. Most UK service businesses find the same four functions deliver the most immediate value:</p> <ul> <li><strong>Inbound lead qualification.</strong> Someone sees your LinkedIn post or Google ad, clicks the WhatsApp link, and messages you. The agent gathers their name, business type, challenge, budget range, and timeline — then routes them to your calendar for a call or flags them for manual follow-up if they don't meet your criteria. Replaces 15–20 minutes of back-and-forth per enquiry.</li> <li><strong>FAQ answering from your knowledge base.</strong> What do you charge? What's the process? Do you work with my type of business? These questions arrive on every channel. A knowledge-base-connected agent answers them accurately and consistently without pulling you away from billable work at 8pm.</li> <li><strong>Appointment booking.</strong> Once the agent has qualified a lead or identified a returning client need, it presents available slots from your calendar and books directly. The n8n workflow writes back to Calendly or Google Calendar — no manual scheduling step required.</li> <li><strong>Client status updates.</strong> Existing clients asking where their project stands, whether an invoice has been received, or when the next deliverable arrives. A CRM-connected agent can answer these directly without the client waiting for your next availability window.</li> </ul> <p>The fifth function — and the most important one to configure correctly — is the human handoff. Define the exact conditions under which the agent escalates to you: complaints, legal or financial questions, requests outside its knowledge base, or any message containing specific trigger phrases. An agent that never escalates is not safe. The <a href="/blog/human-in-the-loop-ai-agents-uk">human-in-the-loop guide</a> covers the four escalation patterns in detail — the same principles apply whether your agent runs in email, Slack, or WhatsApp.</p> <h2>The Five Components You Need Before You Build</h2> <figure> <img src="https://images.unsplash.com/photo-1531482615713-2afd69097998?w=1200&q=80" alt="Five-component tech stack for a WhatsApp AI agent for UK service businesses: WhatsApp Business API via 360dialog, n8n workflow engine, Claude LLM, a structured knowledge base document, and CRM write-back — total running cost around £50–60 per month" width="1200" height="800" loading="lazy" /> </figure> <p>The stack for a production WhatsApp agent is straightforward. You do not need custom code for any of it.</p> <p><strong>1. WhatsApp Business API access.</strong> The cleanest route for a UK service business is via a BSP (Business Solution Provider). 360dialog is currently the most cost-effective option at around £15/month for a managed number, including a free tier for testing. You'll need a Meta Business Manager account and a phone number dedicated to the WhatsApp Business account — a new SIM or a number you're not using for personal WhatsApp. Verification typically takes 24–48 hours.</p> <p><strong>2. n8n for workflow orchestration.</strong> n8n handles the routing logic: receiving the incoming WhatsApp message via webhook, passing it to Claude, receiving the response, and sending it back via the WhatsApp API. It also handles the side effects — creating a CRM record, booking a calendar slot, sending a Slack alert when the agent escalates. Self-hosted n8n on a VPS costs around £12/month.</p> <p><strong>3. Claude as the intelligence layer.</strong> You need an LLM that holds conversation context, follows your instructions reliably, and produces natural responses in your brand voice. Claude's API costs pennies per conversation at typical service business message volumes — at 500 conversations a month, your API cost will sit around £15–25/month depending on conversation length. The <a href="/blog/ai-agent-cost-optimisation-uk">cost optimisation guide</a> covers model routing strategies if you want to drive that lower.</p> <p><strong>4. A knowledge base document.</strong> Start with a structured Google Doc: your services and pricing, your process, your typical client profile, your FAQs, and standard objection responses. Fifty well-written paragraphs are more useful than five hundred bullet points. You don't need a vector database for a first deployment — for a service business with a focused offering, a well-structured system prompt that includes your knowledge base content handles most conversations. For larger knowledge bases, the <a href="/blog/rag-architecture-guide-uk-businesses">RAG architecture guide</a> covers when to add a retrieval layer.</p> <p><strong>5. A CRM or calendar to write back to.</strong> At minimum, a Google Sheet that logs every conversation with contact details, qualification status, and any booked appointment. If you're already using HubSpot, Pipedrive, or a similar CRM, n8n connects via API or webhook — new contact records and conversation notes write automatically without manual data entry.</p> <h2>How to Build It: The Step-by-Step Process</h2> <figure> <img src="https://images.unsplash.com/photo-1461749280684-dccba630e2f6?w=1200&q=80" alt="Code and workflow diagram representing the n8n build process for a WhatsApp AI agent: five steps from webhook configuration to live escalation testing, completing a full agent deployment in four to six hours" width="1200" height="800" loading="lazy" /> </figure> <p>With your stack in place, here is the build sequence. Expect four to six hours of focused work across two days for a first functional deployment.</p> <p><strong>Step 1: Configure your WhatsApp Business API connection in n8n.</strong> In n8n, add a Webhook node with a POST trigger. Copy the webhook URL and register it as your 360dialog webhook endpoint — every incoming WhatsApp message will POST to this URL. Add a second node to send messages back via the BSP's outbound API. Test with a manual message to your WhatsApp number to confirm the round-trip works before adding any AI logic.</p> <p><strong>Step 2: Build the conversation state handler.</strong> WhatsApp conversations are stateful — the same contact will send multiple messages across a session. You need a mechanism to retrieve conversation history for a given phone number before each Claude call. The simplest approach: use an n8n Code node to read and write conversation state to a Google Sheet (one row per contact, one column per message). For higher-volume deployments, a Redis instance or n8n's built-in execution data is more robust.</p> <p><strong>Step 3: Construct your Claude system prompt.</strong> This is the most important part of the build. Your system prompt should define: who the agent represents (your business name and persona), what it can and cannot help with, the conversation flow for a new lead (what information to gather and in what order), your knowledge base content, and the exact trigger phrases that cause it to escalate to you. Keep it structured — use headings inside the system prompt to separate each section. This makes it straightforward to update when your services change.</p> <p><strong>Step 4: Add the CRM and calendar write-back nodes.</strong> Once a lead is qualified, add an n8n branch that creates a CRM record and sends you a Slack message with a summary. For appointment booking, use n8n's Calendly or Google Calendar node to retrieve available slots and present them as a numbered list — "Reply 1, 2, or 3 to book" is more WhatsApp-native than asking someone to click a link.</p> <p><strong>Step 5: Configure escalation logic and test.</strong> Add an n8n IF node after each Claude response that scans the output for your escalation trigger phrases. When triggered, the workflow pauses autonomous replies and alerts you via Slack or email. Test with real scenarios: a complaint, an unusual request, a question outside your knowledge base. Don't go live until the escalation path works reliably. The <a href="/blog/ai-agent-evaluation-framework">evaluation framework post</a> covers the test scenarios most likely to expose gaps before clients find them.</p> <h2>What Not to Do</h2> <p>Four mistakes that consistently extend build time or create problems post-launch:</p> <ul> <li><strong>Skipping the escalation path.</strong> An agent with no handoff rule will eventually produce a response that embarrasses your business. Define the escalation conditions before you write a single prompt.</li> <li><strong>Conflating Meta's Business Agent with API access.</strong> Meta's Business Agent is quick to set up but limited — it can't write to your CRM, can't book appointments in your calendar, and doesn't hold persistent conversation context across sessions. Use it to understand the basics; build on the API for anything production-ready.</li> <li><strong>A knowledge base that's too thin.</strong> If your knowledge base doesn't include your pricing, typical timeline, onboarding process, and most common objections, the agent will either guess answers or escalate constantly. Spend two hours on the knowledge base before spending two hours on the build.</li> <li><strong>Testing only with your own phone number.</strong> Your clients phrase things differently than you do. Before going live, have five people send the agent a variety of real enquiry messages. What you discover in those tests is worth more than any amount of solo testing.</li> </ul> <p>The whole system — WhatsApp Business API, n8n, Claude, knowledge base, CRM write-back — runs for around £50–60/month at small business volumes. That is a full inbound communications layer that works outside your working hours, handles volume spikes without adding headcount, and never forgets to follow up. For the broader picture of where this agent fits inside an AI operating system for your business, the <a href="/blog/ai-adoption-vs-ai-strategy-uk">AI adoption vs strategy post</a> covers how individual agents compound when they share data and trigger each other.</p> <p>If you want to build a WhatsApp AI agent for your service business and would rather not do it alone, <a href="/contact">book a free 30-minute call</a>. We'll review your current enquiry and client communication flow, identify whether WhatsApp is the right first channel, and give you a clear picture of what the build would cost and how long it would take. The call is free. The build typically completes in four weeks or under.</p>
BOOK CALL