The Search for a Profile Widget is currently available as a Public Beta product and the information contained in this document is subject to change. This means that 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 a Twilio SLA.
Search for Profile Widget is not a HIPAA Eligible Service and should not be used in Flex or Segment workflows that are subject to HIPAA.
Studio uses Widgets to represent various parts of Twilio's functionality that can then be stitched together in your Studio Flow to build out robust applications that require no coding on your part.
New to Twilio Studio? Check out our Getting Started Guide!
To use the Search for a Profile Widget, you must have access to Unified Profiles in Flex.
The Search for a Profile Widget enables you to look up customer profiles in Twilio Segment by identifier attribute, such as phone number or email address. If a profile is found, the Widget returns the profile SID and all of the data about that profile, including custom traits and computed traits. If no profile is found, the Widget creates a blank profile using the identifier attribute in Segment and returns the new profile SID.
With this Widget, you can use individual traits and real-time customer activity on web properties to provide a personalized self-service experience that reduces escalation to human agents:
{{contact.channel.address}}
would return the customer's phone number. You can use {{contact.channel.address}}
for all channels, including voice, SMS, and Conversations.{{contact.channel.address}}
Name | Description |
---|---|
Profile found | An existing matching profile was found in Segment. |
No profile found | There was no profile match in Segment for this value, so the Widget created a new profile. |
Failed | The profile search could not be completed. |
Name | Description |
---|---|
widget.<Search for a Profile Widget name>.additional_attributes.<attribute name> | Use this variable format for any Segment traits that were not mapped during Segment connection setup. |
widgets.<Search for a Profile Widget name>.<custom attribute name> | Use this variable format for any Segment traits that were mapped during Segment connection setup. |
This example shows how to use the Search for a Profile Widget to greet existing customers by name and use a default greeting for new customers.
In this example, the Search for a Profile Widget looks up callers by their phone number. Then, the Studio Flow branches based on whether a profile was found.