Selected work
CASE STUDYn8nCustomer ServiceAI AgentsSAMPLE CLIENT

AI WhatsApp Customer Support Agent

A WhatsApp support agent for an online outdoor gear store that answers from the store policies, looks up orders and stock, accepts photos of damaged items, sends refunds to a person in Slack for approval, and turns a handover into a live chat between the customer on WhatsApp and the team in a Slack thread. Built with n8n, the WhatsApp Business Cloud API, OpenAI and Airtable.

ORGANISATION
Online Outdoor Store
ROLE
AI Automation Specialist
PLATFORM
n8n
Video walkthroughWatch on YouTube

Key outcomes & impact

Customers get an answer at any hour, taken from the store's own records rather than guessed.

Refunds, replacements and discounts are never promised by the bot: a person approves each one in Slack, and the customer is emailed the decision.

24/7

Customers answered

Order status, returns, shipping and product questions are answered straight away, nights and weekends included.

30

Test questions

A fixed set of 30 customer messages is re-run after every change. After the first fixes, all 30 passed in four of five runs and 29 in the other (on the earlier GPT-5.4 models).

0

Refunds promised by the bot

Every refund, replacement or discount is sent to a person in Slack, who approves or rejects it before the customer hears back.

The problem

A small online store answered every support message by hand: where is my order, can I return this, does this boot run small. The same few questions took most of the day, replies slowed down when the team was busy, and nothing came back at night or at weekends.

What I built

Built an n8n support agent on WhatsApp, using OpenAI, that answers only from the store policies document and the real order and stock records in Airtable. A new chat starts with a greeting that asks for the customer name, email and order number, and routine questions go to a smaller, cheaper model while refunds, complaints and anything risky go to the full model. It asks for the order number and email before sharing anything about an order. Anything involving money, and any upset or unusual case, goes to a person in Slack instead of being promised in the chat. A handed-over customer keeps chatting on WhatsApp while the team replies from a Slack thread.

Tools used

n8nWhatsAppOpenAIAirtableSlackGmailGoogle Drive

When something goes wrong

Answers only what it can check

The agent answers from the policies document and the store records, asks for proof before sharing order details, and hands anything it cannot settle to a person.

Order number and emailOrder details are only shared when the order number and email match. If they do not, it says so without hinting which one was wrong.
Money goes to a personRefunds, replacements, exchanges, cancellations and discounts are checked against the order and sent to Slack for a yes or no.
Hands over when it shouldUpset customers, safety problems, legal threats and questions the policies do not cover go to the team, who take over the chat from a Slack thread while the bot stays quiet.
Animated explainer

Try it live

The demo above replays a run on sample data. Here you message the real agent, as a customer would on WhatsApp. It answers from the store policies and the sample orders.

Fernhill Outdoor Supply

WhatsApp sandbox · live agent on n8n

Ask anything a customer might, or start with one of these:

The full story

The problem

Fernhill Outdoor Supply is a small online store selling tents, packs, boots and camp gear. Support was one inbox, answered by hand.

  • The same questions all day. Where is my order, can I still return this, does this boot run small.
  • Slow replies. Answers waited until someone was free, and nothing came back at night or at weekends.
  • Refunds handled loosely. Whoever answered decided, and there was no single record of what had been promised.

What I built

A support agent that customers message on WhatsApp, built in n8n with the WhatsApp Business Cloud API and an OpenAI model, reading the store's own data. The same agent also runs as the chat on this page.

  1. Customer messages on WhatsApp. Each phone number gets its own conversation, so the bot remembers the last few messages. Photos, such as a picture of a damaged item, are saved to Google Drive and the link goes into the case for the team. Voice notes and stickers get a short note asking the customer to type. A message WhatsApp delivers twice is answered once, and several quick messages in a row get one reply. A new chat (the first message, a message after 12 hours of quiet, or the first after a closed case) gets a greeting that answers the question and asks for the customer's name, email and order number, if they have one. The bot also forgets earlier chats, so it can't repeat an old answer. What they give is saved on their case, and the email only if it matches the order.
  2. The agent answers from store data. It searches the store policies document for anything about shipping, returns or products, and looks up orders and stock in Airtable. Replies are kept to a few sentences. Each message is matched against a fixed list of words first: routine questions are answered by the low-cost GPT-6 Luna, and anything about refunds, returns, damage, safety, legal action, an angry customer or asking for a person goes to the stronger GPT-6.1 Terra.
  3. Refunds and handovers. When a customer asks for money back, a replacement or a discount, the agent starts a team request instead of promising it. The workflow checks the order is real, then routes it: money requests go to Slack for approval, and upset customers or unusual questions go to the team as a handover, posted in Slack with the name the customer gave.
  4. A person decides or takes over. For a refund, the team picks Approve or Reject in a Slack form, can add a note, and the customer is emailed the decision. A handover becomes a live chat: the customer's WhatsApp messages appear in the case's Slack thread, each reply typed there goes back to WhatsApp and gets a ✅ once delivered, and typing close tells the customer on WhatsApp that their case is closed and hands them back to the bot. If the order wasn't verified, the bot asks once for the order email, and it's saved on the case only when it matches the order.
  5. Logs and a daily summary. Every conversation is saved in Airtable, errors alert the team in Slack, and a summary of the day's cases is posted at 5 PM.

Safeguards

  • Order number and email together. The bot shares nothing about an order until both match the records.
  • No promises about money. The agent is told never to say a refund is approved. A person decides, in Slack.
  • Only what the policies say. Questions the policies document does not cover are handed to a person rather than answered from general knowledge.
  • The stronger model for the hard messages. A fixed word check, not the AI, decides which model answers, so a refund request or an angry message always gets the full model.
  • The bot steps back during a handover. While a person has the case, the bot does not answer, so the customer never gets two replies.
  • Tested before every change. A set of 30 customer messages, from simple order checks to messages in French and Spanish, a prompt injection and an angry customer, is run after each change and scored automatically.

Outcomes

  • Customers get answers on order status, returns, shipping and products at any hour.
  • Refunds and other money decisions stay with the team, with a record of who approved what.
  • A customer handed to a person keeps chatting on WhatsApp, and the team answers from Slack without switching apps.
  • The team starts each day knowing what the bot handled and what is waiting for them.

What are you still
doing by hand?

Tell me the process that eats your week. I will tell you whether it is worth automating, and on which platform.