Voice Agents
Voice Agents
AI-powered voice agents for automated outbound and inbound calls.
Voice Agents
Voice agents are AI-powered phone agents that conduct conversations with leads. They handle outbound calls (initiated by the auto-dialer or manually) and inbound calls (routed to campaigns).
How Voice Agents Work
- A voice agent is created and linked to an external provider (e.g., ElevenLabs)
- The agent is assigned to a campaign's AI Agents configuration
- A voice prompt template defines the conversation script
- When a call is initiated, the prompt is rendered with lead data and sent to the provider
- The provider conducts the call and returns the transcript via a post-call webhook
- The interaction record is updated with the outcome, and the lead status changes accordingly
Agent Types
Each campaign can have two voice agents:
- Production Agent — Used for real leads
- Test Agent — Used when the lead has the
isTestflag. Falls back to the production agent if no test agent is configured.
Assigning to Campaigns
Navigate to a campaign's AI Agents tab to configure:
- Voice Agent — Select from your list of voice agents
- Voice Prompt Template — Select the prompt that guides the AI conversation
- Phone Number — Optionally assign a campaign-specific phone number (overrides the agent's default)
Phone Number Resolution
When a call is initiated, the system resolves the outbound phone number in this order:
- Campaign phone number — If a phone number is assigned at the campaign level
- Agent phone number — The phone number configured on the voice agent
- If neither is set, the call fails with a
MISSING_PHONE_NUMBERerror
Key Concepts
- Interaction — Each call creates an interaction record (type
call) with transcript, duration, and outcome - Contact Type — Tracks whether this is a
new,first, orreturningcontact (used in prompt conditionals) - Post-Call Pipeline — Optional AI processing that runs after a call completes (analysis, data extraction, scoring)
- Auto-Dialer — Automated system that schedules and retries calls based on configurable rules