Profiles in Flex
Legal notice and public beta
Profiles in Flex is currently available as a public beta release and the information contained in this document is subject to change. Some features are not yet implemented and others may be changed before the product is declared as generally available. Public beta products are not covered by the Twilio Support Terms or Twilio Service Level Agreement.
Profiles in Flex is not PCI compliant or a HIPAA Eligible Service and should not be used in workflows that are subject to HIPAA or PCI.
Conversation Memory and profiles are only available in the new Twilio Console. If your account hasn't been migrated, you'll be redirected to the legacy Console where these products won't appear.
Profiles in Flex
The customer profile traits that agents see in Flex come from profiles in Conversation Memory, letting you bring the profile data they keep in Conversation Memory into Flex.
This page covers profile information that's Flex-specific. For a comprehensive guide to profiles, memory stores, traits, and identity resolution, see Conversation Memory. To use Segment profiles and traits in Flex, see Segment integration with Conversation Memory.
If you use both Conversation Memory profiles and Unified Profiles, Conversation Memory profiles take precedence over Unified Profiles.
Profiles in Flex supports the following channels:
- Voice
- These Flex Conversations channels:
- SMS
- Webchat
Profiles in Flex is available on the Flex UI (2.19 or later) or the Flex SDK (4.3.0 or later). Flex UI uses the Flex SDK, so if you build your own agent experience , for example by embedding Flex in your own application, you can retrieve the same profile with the Flex SDK.
For each task, Flex fetches one specific customer profile from your memory store. It doesn't search by phone number or email address. Instead, Flex looks for a profile ID and memory store ID that Studio has already attached to the task's interaction context, then retrieves that profile's traits.
Studio is the only way to attach those IDs. Your Studio flow does so before the task reaches an agent in Flex:
- When a customer contacts you, the Resolve Profile widget in your Studio flow looks up the customer's profile in your memory store, using an identifier such as the customer's phone number or email address.
- If the widget finds exactly one profile, it attaches that profile's ID and memory store ID to the task's interaction context.
- When an agent is assigned the task, Flex fetches the profile using those IDs.
Fetching the profile and using the result are separate steps. Once Flex fetches the profile, your custom code can retrieve it independently by executing the Flex SDK's GetMemoryProfile action. You might use this to surface traits in a custom component or workflow. In Flex UI, the profile's traits appear on the Details tab of the profiles component.
- No profile found, or an error occurs: Flex doesn't fetch a profile, so no traits are available for that task in the UI or the SDK. The error can be an internal API error, a timeout, or a rate limit.
- Multiple profiles found: Flex doesn't choose between them, so it fetches no profile. The Resolve Profile widget attaches IDs only when it finds a single profile, and a multiple-match result doesn't take that path.