Skip to main content

Overview

Transfer agent nodes hand off the conversation to a different Hamsa AI agent within your workspace. Unlike transfer call nodes that connect to external phone numbers, transfer agent nodes keep the conversation within your AI ecosystem with optional context preservation. Key characteristic: Transfer agent nodes maintain the call connection while switching which AI agent is handling the conversation—no phone system transfer needed.

When to Use

Use transfer agent nodes to:
  • Specialist routing - Technical support, billing, sales specialists
  • Language switching - English → Spanish → Mandarin agents
  • Skill-based routing - Route to agents with specific capabilities
  • Complexity escalation - Simple → advanced agent for complex issues
  • Department handoff - Different agents for different departments
  • Workflow stages - Lead qualification → sales closing agents
  • Regional expertise - Route to agents familiar with specific regions
  • Product-specific agents - Different agents for different product lines
Use Transfer Agent Node when:
  • Destination is another Hamsa AI agent
  • Want the option to preserve conversation history and variables
  • Need faster, more reliable transfers than phone transfers
  • Staying within your AI agent ecosystem
  • Want seamless transitions without hold music or ringing
Use Transfer Call Node instead when:
  • Transferring to human agents at phone numbers
  • Connecting to external phone systems
  • Regulatory requirements for human interaction
  • Need to connect to traditional phone lines
→ Compare: Transfer Call Node

Core Configuration


Agent Selection

Selecting the Target Agent

  1. Click on the Transfer Agent Node
  2. In configuration panel, click Select Agent
  3. Choose from available agents in your workspace
  4. Agent details auto-populate (name, ID)
Available agents:
  • All Flow Agents in your workspace
  • All Single Prompt Agents in your workspace
  • Agents from same project
You can only transfer to agents within your workspace. Agents in other workspaces are not accessible.

Agent ID

Each agent has a unique ID used for transfers.

Using Variables for Dynamic Routing


Transfer Message

Static Message (Default)

Exact message spoken before transfer.
Use static when:
  • Professional, consistent messaging
  • Short, simple transfer announcement
  • No personalization needed

Prompt-Based Message

AI generates contextual transfer message.
AI might say:
  • “Let me connect you with our billing team who specializes in invoice questions.”
  • “I’m getting you to someone in billing who can review your invoices.”
Use prompt when:
  • Want natural, conversational transfer
  • Personalization based on context
  • Flexible, adaptive messaging

Message with Variables

Reference conversation data in transfer message.

Silent Transfer (No Message)

Omit transfer message for instant, seamless transition.

Timeout Configuration

Set maximum wait time for transfer to complete.
Default: 30000ms (30 seconds) Range: 1000ms - 60000ms (1-60 seconds) Recommendations:
  • Agent transfers: 15-30 seconds (faster than phone transfers)
  • Critical transfers: 10-15 seconds
  • Non-critical: 30 seconds
Agent transfers are typically much faster than phone transfers since there’s no phone system involved. Most complete in under 1 second.

Handoff Options

Transfer agent nodes can optionally pass context to the receiving agent. Both options are off by default — enable them when the new agent needs prior context.

Handoff Conversation

When enabled, the full conversation history (user inputs and agent responses) is transferred to the new agent. The receiving agent can reference what was discussed without asking the user to repeat themselves.

Handoff Variables

When enabled, all extracted variables from the current flow are passed to the new agent and available in its prompts.

Both Enabled (Full Context Transfer)

For a seamless handoff where the new agent has complete context:
The receiving agent can immediately reference previous conversation and extracted data — no repeated questions.
Both handoffConversation and handoffVariables default to false. If you need the new agent to have context, you must explicitly enable them.

Use Cases & Examples

Example 1: Language Switching

Scenario: Transfer English speaker to Spanish-speaking agent.

Example 2: Technical Support Escalation

Scenario: Basic support agent transfers complex technical issues.

Example 3: Department Routing

Scenario: Route to specialized department agents.

Example 4: VIP Customer Routing

Scenario: High-value customers get specialized agent.

Example 5: Product Specialist Routing

Scenario: Route to agents specialized in specific products.

Example 6: Sales Pipeline Handoff

Scenario: Qualification agent hands off to closing agent.

Example 7: After-Hours Language Support

Scenario: Route to 24/7 multilingual support after hours.

Example 8: Global Transfer (Anytime Access)

Scenario: Press 9 anytime to speak with a supervisor agent.

Advantages Over Phone Transfers


Global Agent Transfers

Make transfer agent nodes accessible from anywhere in the flow.

Global via DTMF

Press 9 from any node to transfer to supervisor.

Global via Natural Language

Say “I need a specialist” from any node to trigger transfer. → Learn More: Global Nodes

Troubleshooting

Issue: Transfer fails

Possible causes:
  • Target agent doesn’t exist
  • Target agent is inactive
  • Invalid agent ID
  • Agent in different workspace
Solution:
  1. Verify agent exists and is active
  2. Check agent ID is correct
  3. Ensure agent is in same workspace
  4. Test with different agent

Issue: Context not available in new agent

Possible causes:
  • Variables not extracted before transfer
  • Variable scope issue
  • Agent configuration error
Solution:
  1. Verify variables are extracted before transfer
  2. Check variable names are correct
  3. Ensure variables are properly scoped
  4. Test variable availability

Issue: Transfer message not playing

Possible causes:
  • Message field is empty
  • Message type misconfigured
  • Silent transfer configured
Solution:
  1. Add transfer message content
  2. Verify messageType setting
  3. Check if silent transfer is intended

Issue: Timeout occurring

Possible causes:
  • Target agent has issues
  • Network problems
  • Timeout set too short
Solution:
  1. Check target agent configuration
  2. Increase timeout value
  3. Test agent directly
  4. Review agent logs

Flow Examples

Example Flow 1: Department Routing

Example Flow 2: Complexity-Based Routing

Example Flow 3: VIP Routing


Schema Reference


Next Steps

Transfer Call Node

Transfer to external phone numbers

Router Node

Route to appropriate agent

Global Nodes

Make transfers accessible anytime

Variables

Pass context to new agent

Agent Management

Create and manage agents

Best Practices

Build better flows