← All cases

AI agents on WhatsApp

Automated WhatsApp support for accounting offices: tax slips and invoices that support used to send by hand are now handled by AI agents.

Role
Full-stack
Stack
Chatwoot, n8n, DeepSeek, WhatsApp
Year
2026
Built at
JMV Technology

Context

JMV serves accounting offices, and much of that relationship happens on WhatsApp: sending tax slips (guias), invoices and answering the questions that come with them. Those conversations already went through Chatwoot, which brings several channels into one inbox.

The problem

Support did this by hand: find the right slip or invoice, send it, answer each office’s questions. It was repetitive work that took up a person for a large part of the day, and it grew with every new client.

The approach

I built a flow where Chatwoot’s own conversations feed an agent:

  • Chatwoot receives the office’s message and forwards it via webhook to n8n;
  • n8n interprets the message and identifies the kind of request;
  • each kind of request has its own prompt, with the rules and tone for that case;
  • DeepSeek writes the reply, which goes back through Chatwoot to the office’s WhatsApp.
Automated support flowThe accounting office sends a WhatsApp message; Chatwoot receives it and forwards it to n8n; n8n identifies the kind of request, picks the prompt for that kind and calls DeepSeek; the reply goes back through Chatwoot to WhatsApp.Office (WhatsApp)Chatwootwebhookn8nIdentify the kindPrompt for that kindDeepSeekreply
From the office's WhatsApp to the reply, through Chatwoot, n8n and one prompt per kind of request.

Why this stack

Chatwoot was already where support happened, so the agent joined the existing flow instead of opening a new channel. n8n makes it quick to build and adjust the flow, keeping each kind of request separate. And DeepSeek was chosen for its low cost per token: with many short messages, model cost directly decides whether the automation pays off.

Result

The agent took over most of a process that used to take up a person on the support team. Offices now get their slips, invoices and answers on WhatsApp without anyone sending them by hand.