WhatsApp AI agents
Claude-based conversational agents that run LabNomade's sales channel. They qualify leads, answer questions and hand the team a structured summary of each opportunity.
- Before each reply, the workflow fetches the lead's data and history from our own API (Next.js + PostgreSQL) and passes it to the model as context.
- Structured JSON outputs, per-user message limits, repeated-message detection and automatic cut-off when a conversation stalls.
- Measured cost per message (~USD 0.027) to size pricing and optimizations.
- Automatic email alert to the team when a lead qualifies.
- Claude API
- WhatsApp Cloud API
- n8n
- PostgreSQL
- Next.js
How it works
- 1WhatsAppThe customer messages the business.
- 2n8nReceives the message and orchestrates the flow.
- 3Own REST APIReturns the lead's data and history.
- 4ClaudeReplies and returns a JSON with the lead's data.
- 5PostgreSQLLead and conversation are stored.
- 6WhatsApp + emailReply to the customer, team alert if the lead qualifies.