Newer Version Available
Integrate Open CTI with Lightning Flow for Service
Open CTI provides a set of APIs that enables third-party telephony services to
integrate with Salesforce. Lightning Flow for Service takes advantage of three Open CTI
methods: getSoftphoneLayout(), screenPop(), and searchAndScreenPop().
To integrate Open CTI with Lightning Flow for Service, complete the following tasks.
-
Update your Open CTI implementation to allow incoming calls to screen-pop to
flows.
You can also pass call data, such as the phone number or customer name, directly into the flow when it’s screen-popped.Use Open CTI API version 42.0 and later with the following methods.
-
Create flows.
For example, create an Unknown Caller screen flow for when there’s an incoming call and there’s no match in Salesforce for the caller. In the Cloud Flow Designer, create a screen flow with fields to verify the caller.
- Add a screen with the fields First Name, Last Name, Phone Number, and Address.
- Add the Record Create data element to create a contact and assign input fields from the screen to the contact fields.
- Set the Unknown Caller screen as your Start Element.
In addition to the Unknown Caller flow, create other flows that you want your users to work with when talking to customers on the phone.
-
Configure screen-pop settings in the softphone layout.
From Setup, go to the Softphone Layouts page.
For No matching records, select Pop to flow. Then select the flow you created for Unknown Callers.
For Single-matching records, select Pop detail page. This setting allows the contact record page, for example, to be popped.

-
Customize the record
page.
Add the Guided Action List component to a record page, such as the contact page. Use the component’s channel settings to configure default flows for the phone channel. That way, when calls match a Salesforce record and users get popped to that page, they can see which flows to complete for the call.