Call2Fly AI Docs
Build

Agents

Create and configure AI voice and chat agents to handle conversations.

Agents

Create and configure AI agents to handle phone calls and chat conversations.

Agent Types

Voice Agents

TypeDescriptionBest For
Conversation FlowRigid, highly formatted conversations with defined pathsStructured interactions like surveys, screening
Single PromptSimple, freeform conversations guided by a single promptGeneral customer service
Multi-PromptFlexible conversations with structured prompt flowsComplex scenarios with multiple paths
Custom LLMAttach your own LLM endpointCustom AI models

Chat Agents

TypeDescription
Conversation FlowStructured text conversations with defined paths
Single PromptSimple chatbot interactions
Multi-PromptComplex text-based flows with multiple prompts

Creating an Agent

  1. Navigate to Agents in the sidebar
  2. Click Create Agent
  3. Select agent channel: Voice or Chat
  4. Choose agent type (Conversation Flow, Single Prompt, etc.)
  5. Either start from scratch or select a template

Using Templates

Call2Fly AI includes 30+ pre-built templates:

Healthcare

  • Patient Screening
  • Medical Receptionist

Real Estate

  • Lead Qualification
  • Appointment Setting

E-commerce

  • Customer Support
  • Refund Handling

Dental & Retail

  • Outbound Sales
  • Receptionist

Aviation (20+ templates)

  • Flight Status
  • Booking Management
  • Check-in
  • Boarding Pass Delivery
  • Baggage Support
  • Loyalty & Upgrades
  • And more...

Agent Editor

The agent editor provides comprehensive configuration options:

Conversation Flow Editor

For Conversation Flow agents, use the visual flow builder:

  • Drag and drop nodes
  • Connect nodes with transitions
  • Configure each node's behavior
  • Preview the conversation flow

For a visual, screenshot-based walkthrough of every section and node type, see:

Prompt Editor

For Single/Multi-Prompt agents:

  • Write system prompts
  • Define agent personality
  • Set response guidelines
  • Configure prompt chains (Multi-Prompt)

Configuration Tabs

TabPurpose
Flow/PromptsMain conversation logic
Knowledge BaseConnect to knowledge sources
FunctionsAdd callable functions
WebhooksConfigure event notifications
VariablesDefine conversation variables
Speech SettingsVoice and language options
Agent SettingsGeneral configuration

Functions

Agents can execute functions during conversations:

Pre-built Functions

  • Check Calendar Availability (Cal.com) - Check available time slots
  • Book on Calendar (Cal.com) - Book appointments
  • Check Order - Look up order status
  • Refund Order - Process refunds

Custom Functions

Create custom API integrations:

  1. Click Add Function in the Functions tab
  2. Select Custom Function
  3. Configure:
    • Function name and description
    • Parameters (name, type, required)
    • API endpoint and method
    • Headers and authentication
    • Request body template

Function Configuration

Each function can be configured with:

  • API Key - Authentication credentials
  • Endpoint URL - API URL to call
  • Headers - Custom HTTP headers
  • Parameters - Function inputs
  • Response Mapping - How to use the API response

Knowledge Base Integration

Connect your agent to knowledge bases:

  1. Go to the Knowledge Base tab in the agent editor
  2. Select one or more knowledge bases
  3. Configure how the agent should use the knowledge

The agent will search the knowledge base during conversations to provide accurate, contextual responses.

Webhooks

Configure webhooks to receive real-time events:

  1. Go to the Webhooks tab
  2. Enter your webhook URL
  3. Select events to receive:
    • Conversation started
    • Conversation ended
    • Message received
    • Function called
  4. Set timeout (1-30 seconds)
  5. Test the webhook

Agent Management

View All Agents

The Agents page shows a table with:

  • Agent name
  • Voice/Chat type
  • Last updated timestamp
  • Linked phone numbers

Agent Actions

  • Edit - Open the agent editor
  • Duplicate - Create a copy of the agent
  • Delete - Remove the agent
  • Export - Download agent as JSON
  • Import - Upload agent from JSON

Linking to Phone Numbers

Agents can be linked to phone numbers for:

  • Inbound calls - Agent handles incoming calls
  • Outbound calls - Agent makes outgoing calls

Best Practices

Design

  1. Start with a template - Modify existing templates rather than starting from scratch
  2. Keep flows simple - Complex flows are harder to maintain and test
  3. Use clear node names - Makes the flow easier to understand

Testing

  1. Test in browser - Use the Test Panel before deploying
  2. Test edge cases - What happens with unexpected inputs?
  3. Listen to recordings - Review test call recordings

Production

  1. Monitor performance - Check analytics regularly
  2. Iterate based on data - Use call history to identify issues
  3. Version control - Export agents before major changes

Import/Export

Exporting an Agent

  1. Open the agent in the editor
  2. Click the Export button
  3. Download the JSON file

Importing an Agent

  1. Click Import Agent on the Agents page
  2. Select the JSON file
  3. Review and confirm the import

This allows you to:

  • Backup agents before changes
  • Share agents between workspaces
  • Version control your agent configurations

Next Steps

On this page