Skip to contentSkip to navigationSkip to topbar
Page tools
Useful for sharing or LLM
Accelerate development with AI

On this page
Looking for more inspiration?Visit the

Set up profiles in Flex


(new)

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(link takes you to an external page). If your account hasn't been migrated, you'll be redirected to the legacy Console where these products won't appear.

Learn how to build customer profiles, turn on profiles in Flex, and resolve customer profiles in your Studio flow.


Prerequisites

prerequisites page anchor
  • A Flex account on the Flex UI (2.19 or later) or the Flex SDK (4.3.0 or later).
  • A memory store. See Getting started with Conversation Memory.
  • Identifiers configured in the store for the lookup you plan to use, such as phone or email. See Identity Resolution. Load customer profiles before customers contact you, with all of their identifiers on the same profile, so that the same customer resolves to one profile across channels.
  • Access to the new Twilio Console(link takes you to an external page). Conversation Memory and the Resolve Profile widget are available only in the new Console.

Build profiles and set traits

build-profiles-and-set-traits page anchor

When profiles in Flex is enabled, agents can see profile traits for each customer, such as contact details, account tier, language preference, or any custom trait you define. Agents can view this information before they accept a task and while they are interacting with the customer.

The traits come from profiles in your memory store; Flex doesn't create or store them itself. To build profiles and set traits, do one of the following:

(information)

Only profile traits are shown

Flex only shows profile traits, not customer history or timeline.

Twilio Conversations or Conversation Orchestrator isn't required to fetch profile traits in Flex.


Turn on profiles in Flex

turn-on-profiles-in-flex page anchor
  1. In the Twilio Console, go to Orchestration > Flex > Contact center settings(link takes you to an external page).
  2. On the Opt-in features tab, select the Beta tab.
  3. Turn on Twilio Profiles in Flex.

By default, the feature is off. Enabled features apply to all Flex users the next time they load Flex.


Resolve the profile in your Studio flow

resolve-the-profile-in-your-studio-flow page anchor
  1. Open the Studio flow that sends inbound interactions to Flex.
  2. Add a Resolve Profile widget before the Send to Flex widget.
  3. Connect every transition of the Resolve Profile widget to the Send to Flex widget, so the interaction reaches Flex regardless of the result. Flex fetches a profile only on the Profile found transition, which fires when the widget finds exactly one profile.

The widget matches the identifier exactly, after any normalization configured for that identifier type. Phone numbers can change ownership over time, so verify the customer before using profile traits to expose sensitive information.