← Back to projects

WhatsApp AI agents in production

Since February 2024 · Software & AI Projects Director, Xetro

~17,000

conversations per month

35

clients in production

~80%

closed without handoff

−15%

API cost per conversation

Context

I work forward deployed at Xetro: together with each client I map the process (healthcare, tourism, logistics, food service and retail), define the solution and implement it integrated with their CRMs, management system databases and payment providers, through to production. This is the portfolio of 35 clients in Argentina and Spain.

What I built

Conversational agents on the WhatsApp Business API with tool calling, conversational memory and confidence- and risk-based human handoff. Volatile data (prices, stock, appointments) is always queried from the database, with abstention rules.

  • Model selection: I select and combine models (Claude, OpenAI, Gemini) based on cost, latency and accuracy.
  • RAG: context migrated to Pinecone and pgvector, for about 15% lower API (token) cost per conversation, measured month over month.
  • Integrations: CRMs, management system databases, Mercado Pago, Chatwoot and Meta Conversions API.
  • Observability: CloudWatch (logs, metrics and alarms), Sentry and Grafana, plus automated daily audits of agent responses.

Architecture

WhatsAppBusiness APIAI agentRAGTools: CRM, DBand paymentsHuman handoffObservability

AI agent

Conversational agent with tool calling and conversational memory. Models (Claude, OpenAI, Gemini) are selected and combined by cost, latency and accuracy.

All components
  • WhatsApp Business API. Where customers talk to the agent. Conversations are measured in Chatwoot and our in-house CRM: about 17,000 per month across 35 clients (500 to 1,000 per client).
  • AI agent. Conversational agent with tool calling and conversational memory. Models (Claude, OpenAI, Gemini) are selected and combined by cost, latency and accuracy.
  • RAG. Context migrated to RAG on Pinecone and pgvector: about 15% lower API (token) cost per conversation, measured month over month.
  • Tools: CRM, DB and payments. Integrated with each client's CRM, management system databases and payment providers. Volatile data (prices, stock, appointments) is always queried from the database, with abstention rules. Agents reach internal tools and data through MCP and function calling.
  • Human handoff. Confidence- and risk-based handoff to a human: about 80% of conversations are closed by the agent without handoff, measured in Chatwoot and our in-house CRM.
  • Observability. Monitoring with CloudWatch (logs, metrics and alarms), Sentry and Grafana, plus automated daily audits of agent responses.

Results

About 17,000 conversations per month across 35 clients (500 to 1,000 per client, measured in Chatwoot and our in-house CRM), with about 80% closed by the agent without handoff to a human.

Stack

WhatsApp Business API, tool calling, RAG, Pinecone, pgvector, MCP, Chatwoot, CloudWatch, Sentry and Grafana.

WhatsApp Business APITool callingRAGPineconepgvectorMCPChatwootCloudWatchSentryGrafana

TL;DR for recruiters

Role
Senior Full Stack Engineer · Generative AI & AWS
Experience
7+ years · generative AI in production since February 2024
Today
Director of Software & AI Projects at Xetro · 50/50 development and leadership · team of about 10 people
Main stack
TypeScript · Node.js · React / Next.js · React Native · PostgreSQL · AWS · Terraform · LLMs · RAG · AI Agents
Impact
  • About 17,000 conversations per month across 35 clients, about 80% closed without handoff
  • About 15% lower API (token) cost per conversation after migrating to RAG
  • TaDa, 10M+ downloads, as Team Lead of one of two 5-developer teams
Availability
Open to remote work and relocation
Time zone

GMT-3

Languages
Spanish (native) · English (B1) · French (B1, DELF)
CV in EnglishCV in Spanishlth.nano@gmail.comLinkedIn