Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Salesforce Enforces New Security Requirements in Summer 2026Read More
Agentforce and Einstein Generative AI
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Configure Inbound Call Transfers Using PSTN

          Configure Inbound Call Transfers Using PSTN

          To illustrate how to configure inbound call transfers that happen via PSTN, this page describes how to accomplish these tasks using Amazon Connect.

          Tip
          Tip If Salesforce Voice with Telephony Providers or Bring Your Own Channel for CCaaS is completely set up, use the createVoiceCall method in the Amazon Connect Lambda function or the createVoiceCall REST API to create a VoiceCall record.
          1. In Amazon Connect, create an Amazon Connect inbound flow. To quickly create an inbound flow, make a copy of the Sample SCV Inbound Flow.
            An inbound flow handles incoming calls to your organization’s Amazon Connect instance and routes the calls to their correct destination, such as a rep, a queue, or even an Agentforce agent. For information about how Voice with Telephony Providers uses these flows and to see sample flows, see Amazon Connect Flows and Sample Flows.
          2. To create a VoiceCall record in Salesforce, add an AWS Lambda Function block to the flow and call the createVoiceCall method.
            The Sample SCV Inbound Flow contains the AWS Lambda Function block already.
            The settings show how to call the method to create voice call records.
          3. Click Save.
          4. To transfer inbound calls to the procured phone number, add a Transfer to Phone Number block to the flow.
            Add the Transfer to Phone Number block after you create the VoiceCall record and set the VoiceCall ID for the record.
          5. In the Transfer To field, enter the procured phone number.
            The settings show the country code and phone number to which calls are transferred.
          6. Click Save.
          7. Before the Transfer to Phone Number block, add a Play Prompt block to notify the customer that they are being transferred to an agent.
            The settings show what the agent will say at this point in the flow.
          8. Click Save.
          9. Connect the inputs and outputs of the new blocks that you added to the flow.
            The diagram shows the new blocks added to the flow.
          10. Save and publish the Amazon Connect flow.
          11. To test that the call is transferred to the voice-enabled agent, call the inbound call phone number.
            You can find the phone number in the Phone Numbers page in Amazon Connect.
            This page shows all claimed phone numbers for your Amazon Connect instance.

          Next, it’s time to configure the telephony system to handle call escalations from the agent to a rep.

           
          Loading
          Salesforce Help | Article