Skip to main content
Loading...
Skip to article
  • Qualtrics Platform
    Qualtrics Platform
  • Customer Journey Optimizer
    Customer Journey Optimizer
  • XM Discover
    XM Discover
  • Qualtrics Social Connect
    Qualtrics Social Connect

Twilio Segment Task


Was this helpful?


This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

The feedback you submit here is used only to help improve this page.

That’s great! Thank you for your feedback!

Thank you for your feedback!


About the Twilio Segment Task

The Twilio Segment task allows you to send Qualtrics data to the Twilio Segment customer data platform, enabling you to keep your customer information up to data in a singular place.

Finding Your Twilio Segment Token

To use the Twilio Segment task, you must connect your Twilio Segment workspace to Qualtrics. You will need to create a Token within Twilio Segment to connect your account.

Attention: Qualtrics support cannot assist with the setup within Twilio Segment. For help with setup with Twilio Segment, please contact Twilio Segment Support.
  1. In Twilio Segment, go to Workspace Settings.
  2. Click the Access Management tab.
  3. Go to the Tokens section.
  4. Click Create Token.
  5. Give your token a name so you know what it’s used for.
  6. Choose Workspace Owner for the access level.
  7. Click Create.
  8. A pop-up will appear with your token. Make sure to copy your token. You cannot view the token again once you exit out of this pop-up

Setting Up a Twilio Segment Task

  1. Follow the linked instructions to create a new workflow. Usually you will update customer information with data from a survey, so your workflow will most likely begin with a survey response event.
  2. Click the plus sign ( + ) and select Task.clicking the plus sign and then task
  3. Choose the Twilio Segment task.choosing the Twilio Segment task
  4. Choose the Twilio Segment account you want to send data to. You can choose any accounts you’ve previously connected along with any accounts set up by your Brand Administrator.choosing a twilio segment account, or adding a new one
  5. To add a new account, click Add a user account. When adding a new account, give your account a name, and enter your Twilio Segment Token.
    Qtip: If you’re a Brand Administrator, you can add the account in the Extensions tab to give access to other users in your brand.
  6. Click Next.
  7. Select the workspace in Twilio Segment you want to send data to.choosing a workspace, source, and event
  8. Select the source that should receive the data. You also have the option to create a new source.
    Qtip: When creating a new source, the name can only contain: lower case letters, numbers, periods ( . ), dashes ( – ), and underscores ( _ ). Once you’ve added your new source, click Create.creating a new source
  9. Choose the type of event that describes the data being sent to Twilio Segment. Your options include:
    • Identify: Use this option to add details and information about a user.
    • Track: Use this option to record actions and the properties of those actions.
  10. Twilio Segment allows you to choose where your data resides. By default, this task processes data in the Oregon data region. If you use the Oregon region, then you can skip this step. If you are a Twilio Segment user who uses the Dublin region, enable the Select an alternative region option. Then, select Dublin in the dropdown menu that appears.
  11. Map fields from Qualtrics to the fields in Twilio Segment. Use the piped text menu, {a}, to choose values from your survey. For the values, we recommend using the following mappings:
    mapping fields

    • Enter the anonymous ID: This should map to some sort of pseudo-identifier for the user. This field is used in situations where you don’t know exactly who your user is. One common source for anonymous ID is the session ID used for visitors to your website.
    • Enter the user ID: This should map to a unique identifier for the user, usually email address or a unique ID.
  12. If desired, enable the Generate random anonymous ID if the anonymous and user IDs are empty option. When enabled, this option will assign a randomized ID for the “anonymous ID” field if both fields are empty when the workflow runs. Note that the user ID will still remain empty.
  13. To add additional fields, click Add a field.mapping additional fields
  14. In the Key column, add the field’s name.
  15. In the Value column, add the field’s value. Use the piped text menu, {a}, to choose values from your survey.
  16. Click Preview Field Mapping to see the data being passed to Twilio Segment. Note that this mapping only contains the additional fields you are adding.
    Qtip: Twilio Segment supports complex data objects. You can create a new object by using a period ( . ) as a delimiter.creating a complex data object
  17. When finished, click Save.