f
Hello everyone, has anyone succeeded in making a transfer between 2 numbers. If I'm already a customer transfer to the 1st number if not to the second? Thanks @Support.Voice-Agent @Vapi
v
@Flo C Hello! Yes, you can definitely set up a transfer between two numbers based on whether the caller is an existing customer or not. To assist you with this, I would need to know how you determine if a caller is an existing customer. Do you have a system in place to check the customer's status, or would you like to ask the caller directly during the call?
f
i want ask the caller direclty in the call
i want ask the caller direclty in the call
v
@Flo C Great! You can set up an interactive voice response (IVR) system to ask the caller if they are an existing customer. When the call starts, you can play a message asking them to press a certain key if they are an existing customer or a different key if they are not. Based on their response, you can then route the call to the appropriate number. Would you like to proceed with setting up this IVR system, and do you have specific key presses you'd like to use for existing and new customers?
f
how ? in the general prompt i write ?
v
@Flo C To set up the IVR system using a general prompt in your voice application, you would write a script that outlines the flow of the call. Here's an example of what you might include in your prompt: "Welcome to [Your Company Name]. If you are an existing customer, please press 1. If you are a new customer, please press 2." Once the caller presses the appropriate key, your system will need to handle the input and route the call accordingly. For example: - If the caller presses 1, you might transfer the call to your customer service team. - If the caller presses 2, you could route the call to a welcome message or a sales representative. Would you like to implement this IVR script, and do you need assistance with the technical setup for handling the key presses and routing the calls?
f
yes
v
@Flo C Fantastic! To implement the IVR script and handle the key presses for call routing, you'll need to set up your voice application with the following steps: 1. Create a welcome prompt with options for the caller. 2. Capture the key press event from the caller. 3. Route the call based on the key pressed. Here's a simplified example of how you might set this up in your voice application code:
Copy code
python
from your_voice_api_library import VoiceAPI

def handle_incoming_call():
    # Play the welcome message
    VoiceAPI.play_message("Welcome to [Your Company Name]. If you are an existing customer, please press 1. If you are a new customer, please press 2.")

    # Get the caller's response
    key_pressed = VoiceAPI.get_key_press()

    # Route the call based on the key pressed
    if key_pressed == '1':
        # Transfer to customer service
        VoiceAPI.transfer_call('customer_service_number')
    elif key_pressed == '2':
        # Transfer to sales team
        VoiceAPI.transfer_call('sales_team_number')
    else:
        # Handle invalid input
        VoiceAPI.play_message("Sorry, that is not a valid option. Please try again.")
        handle_incoming_call()  # Restart the process

# Start the call handling process
handle_incoming_call()
Please replace
your_voice_api_library
with the actual library you're using, and
VoiceAPI
with the actual API class or module name. Also, replace
'customer_service_number'
and
'sales_team_number'
with the actual phone numbers or extensions you want to transfer the calls to. Would you like to proceed with this setup, or do you need further assistance with the code or any other part of the process?
f
I dont use the API i use the SAAS
v
@Flo C Understood! If you're using the SaaS platform provided by VAPI, you can set up the IVR system through their web interface without directly interacting with the API. Here's a general approach to how you might do this: 1. Log in to your VAPI dashboard. 2. Navigate to the IVR or call flow section. 3. Create a new IVR menu. 4. Add a welcome prompt with your message: "Welcome to [Your Company Name]. If you are an existing customer, please press 1. If you are a new customer, please press 2." 5. Configure the key press options: - For key press '1', route the call to your customer service team's number or queue. - For key press '2', route the call to your sales team's number or queue. 6. Save your IVR menu. 7. Assign the IVR menu to the phone number that receives incoming calls. The exact steps may vary depending on the specific SaaS platform's interface and features. If you need detailed instructions or if you encounter any issues while setting up the IVR system through the SaaS platform, please reach out to their customer support for assistance. They can provide you with step-by-step guidance tailored to their system. Would you like to try setting this up yourself, or do you need further help with the process?
f
like this ? : Transfert d’appel vers un humain Si l'appelant souhaite parler à quelqu’un demande lui si : c’est un élève, alors qu'il appuies sur la touche 1 transfère l'appel au 0412053255 Sinon, qu'il appuies sur la touche 2 et transfère l'appel au 0412053241
v
@Flo C Yes, that's correct! Your description outlines the basic call flow for transferring calls based on the caller's input. Here's how you might phrase it in English for the IVR system: "Transfer call to a human agent: If the caller wishes to speak to someone, ask them if: - They are a student, then have them press key 1 to transfer the call to 0412053255. - Otherwise, have them press key 2 to transfer the call to 0412053241." Make sure to set up the IVR system with these instructions so that when a caller presses the corresponding key, the call is automatically transferred to the correct number. If you're using a SaaS platform, you would configure this in the call flow or IVR section of the platform's dashboard. Would you like to proceed with this setup, or is there anything else I can assist you with?
4 Views