# Transfer a voice call from your AI agent to a phone number > Hand a live phone call from your QwryAI agent to a person by transferring the caller to a phone number you choose The **Transfer to phone number** Action lets your QwryAI agent pass a live phone call to a person at a number you choose, such as your sales or support line. When the agent decides a transfer is needed, QwryAI plays a short hand-off message and transfers the caller to that number. It works only on the **Phone** channel. **Best for:** getting a caller to the right person (sales, billing or support) when the agent can't resolve the call itself. **Common use cases:** * "Can I speak to a real person?" * "Put me through to billing" * "I need to talk to someone about my account" > [!WARNING] > > This Action only runs on the **Phone** channel. Connect a phone number to your agent first, through [Twilio](/docs/user-guides/integrations/twilio) or a [SIP trunk](/docs/user-guides/integrations/sip-trunk). ![The Configuration section of a Transfer to phone number Action with the Phone number field, Message to caller and Message if the transfer fails.](annotated/05-continue--open.webp "Configuration: the number and what the caller hears.") ## How it works **1. The agent decides a transfer is needed** Based on your **When to use** instructions, the agent decides a person should take the call, for example because the caller asked for one. **2. The caller hears the hand-off message** QwryAI speaks your **Message to caller** before it starts the transfer. **3. The call is transferred** The live call is passed to your configured number. This is a cold transfer: the person who answers gets no summary of the call, so the caller may need to explain their issue again. **4. The agent leaves the call** Once the transfer goes through, the agent's part of the call ends and it can't take the call back. If the transfer is refused, the caller hears your **Message if the transfer fails** instead and the agent stays on the call. See [When the transfer fails](#when-the-transfer-fails). ## How to create the Action **1. Open Create Action** Open your agent and go to **Build › Actions**. Select the **Create Action** tab, then the **Transfer to phone number** card. ![The Create Action gallery with the pointer on the Transfer to phone number card, which passes a live phone call to a person's phone number.](annotated/01-gallery.webp "Create Action › Transfer to phone number.") **2. Start customizing** The dialog explains what the Action does. Select **Start customizing**. ![The Transfer to phone number dialog with a sample call on the left and the description and Start customizing button on the right.](annotated/01-gallery--open.webp "Select Start customizing.") **3. Name the Action** Under **General**, give the Action a descriptive **Action name**, such as `Transfer_To_Support`. If you transfer to several departments, create one Action per number: `Transfer_To_Sales`, `Transfer_To_Support`, `Transfer_To_Billing`. The name helps the agent pick the right one. ![The General section of a new Transfer to phone number Action with Transfer_To_Support in Action name and the default When to use instructions below.](annotated/03-name.webp "Name the Action after the line it transfers to.") **4. Review When to use** **When to use** comes filled in with instructions to transfer only when the caller asks for a real person or the agent can't resolve the issue, and not to announce the transfer itself. Adjust it to your call flow. See [Examples](#examples). To run the Action only from a [Procedure](/docs/user-guides/chatbot/procedures/procedures-overview) step, turn on [**Only use in Procedures**](/docs/user-guides/chatbot/actions/actions-overview#only-use-in-procedures). **When to use** is then hidden, because the agent no longer decides when to call the Action. ![The When to use box with the default instructions to transfer only when the caller asks for a real person or the issue can't be resolved, and the Only use in Procedures switch.](annotated/04-when-to-use.webp "When to use comes prefilled.") **5. Continue to Configuration** Select **Continue** to save **General** and open **Configuration**. ![The General section with the pointer on Continue.](annotated/05-continue.webp "Continue opens Configuration.") **6. Set up the transfer** Enter the **Phone number** to transfer to, and the messages the caller hears. See [Settings](#settings). ![The Phone number field with +12125550147 entered, its help text E.164 format (e.g. +12125551234), and the Message to caller and Message if the transfer fails boxes below.](annotated/06-phone.webp "Enter the number in E.164 format.") ![The Message to caller box with a custom hand-off message, between Phone number and Message if the transfer fails.](annotated/07-message.webp "Message to caller plays just before the transfer.") **7. Continue to Channels** Select **Continue** to save **Configuration** and open **Channels**. ![The Configuration section with the pointer on Continue.](annotated/08-config-continue.webp "Continue opens Channels.") **8. Choose channels** The Action is compatible with **Phone** only. Every other channel is incompatible and can't be selected. If Phone isn't set up yet, it appears under **Unconfigured channels** with a **Setup** button. See [Channels](/docs/user-guides/chatbot/actions/actions-overview#channels). ![The Channels section with Configured channels empty, the Unconfigured channels list collapsed, and the note Some channels are incompatible with this action.](annotated/08-config-continue--open.webp "Channels: Phone only.") ![The Channels section with the pointer on the channels link in Some channels are incompatible with this action, above the Save button.](annotated/09-incompatible.webp "The channels link explains which channels are incompatible.") > [!WARNING] > > Without a configured Phone channel, this Action never runs. **9. Save and test** Select **Save**. The header switch reads **Enabled**, and the Action reaches callers when you select **Publish** in the top-right corner. Then place a test call to your agent's number and ask to speak to a person. ![The bottom of the Channels section with the pointer on Save.](annotated/10-enable.webp "Save turns the Action on.") ## Settings **Phone number:** the number that receives transferred calls, in **E.164 format**: a `+`, the country code and the number, for example `+12125551234`. QwryAI checks the format when you save and shows *Enter a valid phone number in E.164 format (e.g. +12125551234)* if it's wrong. Mobile, landline and international numbers are all accepted. You can save the Action without a number, but it can't transfer until you add one. > [!NOTE] > > The transfer is handed to your phone provider as a SIP transfer, so your provider or SIP trunk must allow call transfers (SIP REFER) to outside numbers. **Message to caller:** what the caller hears right before the transfer starts. If you leave it empty, the caller hears the default: *Sure, connecting you to someone now.* **Message if the transfer fails:** what the agent says if the transfer is refused. The agent then carries on with the call. If you leave it empty, the default is used: > *Ah, it looks like I'm having a little trouble routing your call directly through our system right now. But don't worry, I can still help you out. What's the issue you're running into today?* > [!NOTE] > > Both messages are spoken exactly as you type them, so write them in the language your callers use. > [!TIP] > > Test by calling your agent and asking for a person. You should hear your hand-off message, and the call should ring at the configured number. ## Examples A **When to use** that sets the trigger and tells the agent not to narrate the transfer: ```text Use when the caller asks to speak to a real person on the phone. Call this tool to transfer the ongoing phone call to the configured phone number only when the caller explicitly requests to talk to a real person, or when you cannot resolve their issue. This transfers the live call to the configured phone number and ends your part of the call. Do not announce the transfer yourself. The system speaks the configured hand-off message to the caller and then performs the transfer. Only call this tool on phone calls. ``` > [!TIP] > > Be specific. With several transfer Actions, say in each **When to use** which requests belong to that department. ## When the transfer fails The **Message if the transfer fails** plays only when the transfer request itself is refused, for example when your phone provider rejects it. QwryAI sets no ring timeout of its own: how long the destination rings, and what happens when it's busy or unanswered, depends on your phone provider. If the provider accepts the transfer and nobody answers, the caller won't hear the failure message. ## Transfers in Inbox Each transfer appears in the call's transcript in **Inbox** as a card named after the Action. Select the card to open its details, with two tabs: * **Parameters:** what the agent sent with the call * **Result:** what came back from the transfer ## Limitations * **The agent can't come back** once the transfer has gone through. * **Phone only.** The Action never runs on chat, messaging or email channels. * **Your provider must allow transfers** to outside numbers. * **No ring timeout from QwryAI.** Ringing and no-answer handling are up to your phone provider. * **It can't be tested in the Preview or the Playground**, because neither is a phone call. Test with a real call. ## Best practices > [card] Be explicit | /docs/user-guides/chatbot/actions/actions-overview | Spell out when the agent should transfer instead of trying to solve the issue itself. > [card] Use descriptive names | /docs/user-guides/chatbot/actions/actions-overview | With several transfer Actions, give each a clear name like `Transfer_To_Sales` or `Transfer_To_Billing`. > [card] Keep the hand-off short | /docs/user-guides/chatbot/voice | A short, natural **Message to caller** tells callers they're being connected. > [card] Write a friendly fallback | /docs/user-guides/chatbot/voice | Set a **Message if the transfer fails** that keeps the conversation going when the line can't be reached. ## Frequently asked questions > [accordion] Can I transfer calls to a mobile or international number? > > Yes. Any valid number in E.164 format works, including mobile, landline and international numbers, as long as your phone provider allows the transfer. > [accordion] Does the person who answers get a summary of the call? > > No. It's a cold transfer. The call transcript stays in **Inbox**, but nothing is passed to the person who answers. > [accordion] What happens if nobody answers? > > The failure message plays only when the transfer is refused. QwryAI sets no ring timeout, so a busy or unanswered line is handled by your phone provider. > [accordion] Can the agent take the call back after a transfer? > > No. Once the transfer goes through, the agent leaves the call. It stays only when the transfer is refused. > [accordion] Can I transfer to different departments? > > Yes. Create one Transfer to phone number Action per destination and describe in each **When to use** when it applies. > [accordion] Why can't I test the transfer in the Preview? > > The Action runs only on phone calls, and the Preview and Playground are chats. Call the number connected to your agent instead. ## Next steps > [card] Twilio (Phone) | /docs/user-guides/integrations/twilio | Connect a Twilio number your agent answers calls on. > [card] SIP trunk (Phone) | /docs/user-guides/integrations/sip-trunk | Bring your own phone system to your agent. > [card] Escalations | /docs/user-guides/chatbot/actions/escalate-to-human | Hand chats to your team with a ticket. > [card] Actions overview | /docs/user-guides/chatbot/actions/actions-overview | Every Action your agent can use, and how channels work.