Overview
Release Notes
Telephony Events
Telephony Actions
Conversation Events
Next Best Action
Lightning Data Service
Sample Code
Connect API
Previous Versions
Give your reps recommendations in real time with Next Best Action.
To incorporate Next Best Action into your Salesforce Voice solution, follow these instructions.
Next Best Action isn’t supported in Salesforce Voice (Native Telephony).
Next Best Action has usage-based entitlements. Invoking recommendations in Salesforce Voice counts towards that usage.
Note
The following filter element expression shows recommendations that contain a particular keyword in the recommendation name. To learn more, see Write an Expression.
1$Request.key != '' && CONTAINS(Name, $Request.key)The following code invokes the next best action function.
1cmp.find('voiceToolkitApi').updateNextBestActions(recordId, params);Sample function call:
1cmp.find('voiceToolkitApi')
2 .updateNextBestActions('0LQxx0000004GcSGAU', { intent: 'refund' });See Also