Affinity Design
User Guide

Agents & Call Handling

Configuring your AI agent, reviewing calls, and managing your phone presence

How Your AI Agent Works

Your AI agent handles inbound and outbound phone calls on your behalf. Unlike the agency-managed plan, you configure your own agent directly — there's no one else setting up prompts, voices, or routing for you.

What Your Agent Can Do

  • Answer common questions about your business
  • Schedule appointments in real-time by checking your calendar
  • Take messages and route urgent calls to you
  • Provide after-hours coverage when your office is closed
  • Send follow-up SMS messages after calls
  • Transfer calls to the right person or department

Agent Assignment

Your account starts with one primary agent, created automatically during onboarding. Depending on your plan, you can configure it for different scenarios:

ScenarioAgent Behavior
Business hoursAnswers calls with your standard greeting
After hoursProvides after-hours message and takes voicemail
Specific campaignsUses custom scripts for marketing campaigns

Creating & Configuring Your Agent

Adding an Agent

If your plan supports more than one agent:

  1. Open Agents from the sidebar
  2. Click Add Agent
  3. Fill in the configuration:
FieldRequiredDescription
Agent IDYesUnique identifier (e.g., sales-agent)
Phone NumberYesE.164 number for this agent
Agent NameNoFriendly label shown in the dashboard (e.g., "Sales Agent")
Agent TypeYesinbound, outbound, or both
Inbound EnabledYesCan this agent answer incoming calls?
Outbound EnabledYesCan this agent make outgoing calls?
  1. Click Save

The User plan starts with one primary agent by default. Additional agents may require a plan upgrade — check Billing.

Agent Persona (System Prompt)

Your agent's personality and behavior are controlled by a system prompt — a set of instructions that tell the AI how to act during calls.

Edit the system prompt from Agents → Configuration. The prompt supports variable injection:

VariableSourceExample
${caller_phone}Caller ID+16475551234
${current_date}System2026-07-06
${business_name}Your account variables"Downtown Dental"
${business_phone}Your account variables"+16473706559"
${caller_name}GHL contact (if found)"Sarah Chen"
${caller_email}GHL contact (if found)"[email protected]"
${city}Your account variables"Toronto"

You can add any custom variable in Settings → Variables, then reference it as ${variable_name} in the prompt.

Key Prompt Principles

  1. Lead with role and constraints — the model weights early tokens more heavily
  2. Use XML tags to separate sections (role, constraints, tools, examples)
  3. Be direct — "Answer in one sentence" beats "Please try to be concise"
  4. Include few-shot examples — show the model what good tool call sequences look like
  5. Describe what tools do, not how they work internally

Enabling / Disabling Your Agent

Toggle an agent on or off from Agents:

  • Enabled — Agent actively handles calls on its assigned number
  • Disabled — Calls to the agent's number go to voicemail or the fallback behavior

This is useful for temporarily taking an agent offline for configuration changes without deleting it.

Editing an Agent

Update any agent property (name, type, enabled states) from Agents. Changes take effect on the next call — active calls continue with their original configuration.

Removing an Agent

Additional agents can be removed. Your primary agent cannot be removed — only disabled.

Removing an agent doesn't release its phone number automatically. Check your telephony provider account if you need to release or reassign the number separately.

Viewing Your Agents

The Agents section shows:

DetailDescription
Agent nameIdentifier for the agent
StatusActive, idle, or disabled
Phone numberThe number callers reach this agent on
VoiceThe AI voice used for calls

Call History

The Call History section shows every call handled by your AI agent:

ColumnDescription
Date/TimeWhen the call occurred
DirectionInbound or outbound
DurationLength of the call
From/ToPhone number of the other party
OutcomeWhat happened (booked, voicemail, no-answer, etc.)
AgentWhich AI agent handled the call

Filtering Calls

Filter your call history by:

  • Direction — Inbound, outbound, or all
  • Outcome — Booked, voicemail, no-answer, failed
  • Date range — From/to date pickers
  • Export — Download as CSV for your records

Conversation Summaries

After each call, the AI generates a summary including:

  • Key topics — What the caller wanted
  • Actions taken — Appointments booked, messages captured
  • Follow-up items — Anything that needs your attention
  • Caller sentiment — Positive, neutral, or negative tone

Click on any call to view its full summary.

Call Stats

The call statistics view shows aggregated metrics:

MetricDescription
Total callsAll calls in the selected period
Average durationMean talk time per call
Booking ratePercentage of calls that resulted in an appointment
Missed ratePercentage of calls that went unanswered
Peak hoursWhen you receive the most calls

SMS Messages

If SMS is enabled for your agent, the portal shows message history alongside call records:

  • Inbound and outbound texts
  • Timestamps and delivery status
  • Context from the originating call (if applicable)

Outbound SMS sent through Command require your confirmation. One-off messages won't be sent without your approval.

Making Calls

If outbound calling is enabled on your plan, you can initiate calls from the portal:

  1. Go to Call History
  2. Click Make a Call
  3. Enter the phone number
  4. Select which agent should make the call
  5. The agent calls on your behalf and reports back

Using Command for Call Info

Ask Command about your call data:

  • "How many calls did we get this week?"
  • "Show me missed calls from today"
  • "What was the outcome of the last call from 555-0123?"

Command can look up call records and stats directly.

Privacy & Compliance

  • All calls are recorded and processed securely
  • Configure data retention for your account from Settings → Privacy
  • You can download specific call recordings directly from Call History
  • Data handling complies with applicable privacy regulations

On this page