Skip to content

CallerAgent

An AI voice agent makes the first call, and the operator only talks to people who want to talk.

  • Next.js
  • TypeScript
  • PostgreSQL
  • ElevenLabs
  • Zadarma
  • n8n

Problem

The operator dialled by hand, number after number. Voicemail, no answer and uninterested calls took time that should have gone to people ready to talk.

Solution

The voice agent handles the first contact. When the person is interested, the call goes to the operator, and the system records the result of every attempt.

Result

A person talks to the people who want to talk. Judgement and help stay on the human side.

How one call flows

  1. An approved contact and campaign data enter the app.
  2. CallerAgent creates a call job and tracks its state.
  3. The ElevenLabs voice agent holds the conversation.
  4. Zadarma connects the phone call.
  5. The result is saved, and an interested person goes to the operator.
  6. The provider event comes back by webhook to the right record.
  7. n8n and Telegram notify the operator of a confirmed handover.

What I built

  • A Next.js and PostgreSQL app that runs the whole flow.
  • Data and state for contacts, campaigns, call jobs, attempts, results and provider events.
  • The connection between the ElevenLabs voice agent and Zadarma telephony.
  • Webhook handling, event matching and handover confirmation.
  • Reports and operator notifications through n8n and Telegram.

What it's made of

  • Next.js and TypeScriptThe app, API and integration layer
  • PostgreSQLContacts, campaigns, jobs, attempts and events
  • ElevenLabsThe AI voice agent for the first call
  • ZadarmaTelephony and SIP for outbound calls
  • WebhooksProvider events matched to the right records
  • n8n and TelegramNotifications after a confirmed handover

What I learned

Start with the smallest flow that works

At first I added too much at once: gates, checks and safeguards before the basic call even worked. It made building and testing harder.

Now I start with one contact, one call, one result and one handover to a person. I add the rest only once that works. I run client projects the same way.

Let's talk about your business

Let's talk

Tell me which task takes most of your time. I will tell you whether it can be automated and what it costs.

Book a free call