← all cases

case 04 · Travel agency · Brazil → Portugalin production

AI SDR for a travel agency

A pre-sales agent that qualifies international flight leads on WhatsApp and hands a ready brief to the sales rep, inside the CRM the team already uses.

Context

Travel agencies lose sales at first contact: replies are slow and trip details arrive scattered across several messages. By the time a rep picks up the conversation, they still have to ask everything again.

I built an AI SDR that serves leads on WhatsApp in Portuguese, English or Spanish, collects origin, destination, dates, passengers, baggage and flight preference one question at a time, moves the lead through the pipeline and hands off to the rep with a ready summary. It all runs inside the CRM the team already uses.

Architecture

  1. meta webhookcloud api
  2. hubn8n
  3. debounceredis
  4. agentgemini + tools
  5. replyvia crm
Replies go out through the CRM, so the rep sees the whole conversation, including what the AI said.

Decisions and challenges

Flight quotes without leaving WhatsApp

The agent pulls real Google Flights fares (via SearchApi) and returns the quote as an image card, rendered by a self-hosted browserless container and stored in Supabase Storage. A 12-hour cache avoids paying for the same search twice, and rendering costs nothing.

A human can take over any time

Handoff has a timed pause (5 minutes) and a permanent off switch, both controlled by CRM labels. Before, whatever the rep said while the AI was paused got lost; with memory rebuilt from the CRM’s database, the AI comes back knowing everything.

Follow-ups that respect the lead

Up to three automatic nudges (20, 30 and 60 minutes), only inside WhatsApp’s 24-hour window and during business hours. A SQL function picks the candidates and claims each one, so two processes never send the same follow-up.

A “hallucination” that was a broken tool

The agent started making up answers. The cause wasn’t the prompt: the tools pointed at dead services and returned empty strings. The lesson became a rule: audit the tools before touching the prompt.

Results

Available for projects

Ready to put an agent into production?

Tell me about your operation. I reply within one business day.