Skip to content

Conversation

@dremin
Copy link
Contributor

@dremin dremin commented Aug 5, 2025

Overview

This feature provides an enhanced Salesforce integration which replaces the out-of-box Salesforce integration plugin. It can be used as a starting point for customizing Salesforce integration functionality, which is not possible when using the out-of-box integration.

Functionality included within this implementation:

  • Activity logging
    • Creates activity upon task completion or cancellation
    • Includes agent copilot disposition and summary
    • Relates the activity to the dialed or screen-popped record, or the agent-selected record
  • Click-to-dial
  • Screen pop
  • UI enhancements
    • Disables the pop-out and pop-in buttons while on a call, to prevent accidental call hangups
    • Hides the CRM container when embedded
    • Hides the Flex logo in the header to make room for additional buttons
    • Opens the Flex panel automatically when click-to-dial is used or an inbound task is received
    • Updates the utility bar item icon and label with the worker's current activity (if no tasks), incoming tasks, or the number of active tasks
    • When screen pop returns multiple records, a dropdown is added to the interface for the agent to select the appropriate record for activity logging

Context

Flex includes a Salesforce integration out-of-the-box, however, it is not fully customizable. If the out-of-box integration does not fully meet your needs, you may end up needing to build your own enhanced integration, re-creating the functionality included in the out-of-box integration.

Objective

This salesforce-integration feature aims to be used as a starting point for your own customized Salesforce integration. The feature offers largely the same baseline functionality of the out-of-box integration, as well as some critical usability enhancements:

  • Disables the pop-out and pop-in buttons while on a call, to prevent accidental call hangups
  • Interface enhancements that streamline the agent workflow
  • When screen pop returns multiple records, a dropdown is added to the interface for the agent to select the appropriate record for activity logging

Checklist

  • Tested changes end to end
  • Updated documentation
  • Requested one or more reviewers

@dremin dremin requested a review from trogers-twilio August 5, 2025 01:02
@github-actions
Copy link

github-actions bot commented Aug 5, 2025

0 ESLint error(s) and 0 ESLint warning(s) found in pull request changed files.
✅ No issues found!

@dremin
Copy link
Contributor Author

dremin commented Aug 5, 2025

A few things to ponder:

  1. There are some additional utility bar customizations we could apply that are explored here. It may make sense to add them as optional items so we could retire that repo.
  2. For multiple match screen pop results, we display a dropdown in the agent UI. However, customers may want to use LMS to offer a more direct UI within the Salesforce record itself. Since the template does not deploy managed objects in Salesforce, we cannot include a working out-of-box example of this. Maybe it would be worth adding a mention in the docs.

@dremin
Copy link
Contributor Author

dremin commented Aug 11, 2025

Both items in the previous comment have now been addressed.

@dremin dremin marked this pull request as draft August 15, 2025 19:21
@dremin
Copy link
Contributor Author

dremin commented Aug 15, 2025

Realized one more thing to add--a notification when attempting click-to-dial in the Offline activity.

@dremin dremin marked this pull request as ready for review August 19, 2025 16:04
@dremin
Copy link
Contributor Author

dremin commented Aug 19, 2025

The above comment has now been addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants