WhatsApp AI agents in production
~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
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.