Overview
Release Notes
Telephony Events
Telephony Actions
Next Best Action
Lightning Data Service
Sample Code
Connect API
Previous Versions
The Salesforce Voice Toolkit API allows you to build Lightning web components that have access to Salesforce Voice features.
This component is supported in Lightning Experience. It requires API version 52.0 or later.
To use the Salesforce Voice Toolkit API in your component:
Add the lightning__ServiceCloudVoiceToolkitApi component to your component’s HTML template file.
1// yourComponent.html
2
3<template>
4 <lightning-service-cloud-voice-toolkit-api>
5 </lightning-service-cloud-voice-toolkit-api>
6 ...
7</template>Include the lightning__ServiceCloudVoiceToolkitApi target in your component’s configuration file.
1// yourComponent.js-meta.xml
2
3<?xml version="1.0" encoding="UTF-8"?>
4<LightningComponentBundle xmlns="http://soap.sforce.com/2006/04/metadata">
5 <apiVersion>52.0</apiVersion>
6 <isExposed>true</isExposed>
7 <capabilities>
8 <capability>lightning__ServiceCloudVoiceToolkitApi</capability>
9 </capabilities>
10</LightningComponentBundle>For more information about configuration files, see XML Configuration File Elements.
Salesforce Voice LWC Toolkit API Telephony Events
Make your LWC components context-aware by listening to events that take place during phone calls.
Salesforce Voice LWC Toolkit API Telephony Actions
Make your components context-aware by listening to and raising events during phone calls.
Salesforce Voice LWC Toolkit Next Best Action
Give your reps recommendations in real time with Next Best Action.