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

Salesforce Extractor


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!


Qtip: This page describes functionality that we intend to release starting February 18, 2026. Qualtrics may, in its sole discretion and without liability, change the timing of any product feature rollout, change the functionality for any in preview or in development product feature, or choose not to release a product feature or functionality for any reason or for no reason.

About the Salesforce Extractor Task

The Salesforce Extractor task can be used to import data from Salesforce for use in Qualtrics. The following data can be imported from Salesforce:

  • Object records (such as Accounts, Contacts, and Opportunities).
  • Emails connected to closed Cases.

On the first run, the task will import all specified records. On subsequent runs, it will pull in new or updated records since the last run.

Extracting Objects from Salesforce

This section covers how to set up this task to import object records (such as Accounts, Contacts, and Opportunities) from Salesforce.

  1. Create a new ETL workflow.
  2. Select Data source (ETL extractor).adding an extractor task to the etl workflow
  3. Search for the Salesforce Extractor task.choosing the salesforce extractor task
  4. Select Objects.selecting Objects as the data type to import
  5. Click Next.
  6. Select the Salesforce account to import data from.selecting a Salesforce account to use, or connecting a new one
  7. If you’d like to add a new Salesforce account, click Add a user account. You can connect to a production or sandbox account directly, or set up a server-to-server connection. See Linking Qualtrics and Salesforce for more information about each authentication method.
    Qtip: Any Salesforce accounts you’ve previously connected as well as accounts set up by Brand Administrators will be available here.
    Attention: You may have up to 5 external connections to your Salesforce account for this task. If you add more than 5 connections, the oldest connection will be severed.
  8. Click Next.
  9. Click Add object and choose the object you’d like to import. You can import multiple objects in the same extractor task.choosing the object to import
    The following Salesforce objects available for import:

    • Account
    • Case
    • Contact
    • Lead
    • Opportunity
      Qtip: If you don’t have any objects here, then the connection between your Salesforce account and Qualtrics is invalid or expired. Return to the account selection screen by clicking “Back” and then add a new Salesforce account.
  10. If desired, use the Salesforce list dropdown menu to limit which objects are imported based on the list’s filter criteria in Salesforce (called List View). If no option is selected, then all associated objects will be imported.choosing the Salesforce list and selecting fields to import
  11. Click Add field, which will add a dropdown menu for you to choose a field.
  12. Use the Select Field dropdown menu to choose a field to import from Salesforce.choosing fields and repeating until all fields are imported
  13. Repeat the above steps to import additional fields for the selected Salesforce object.
    Qtip: Click the trash can icon next to a field or object to remove it from the task.
  14. Click Save once finished.
  15. Next, you’ll need to save your data to Qualtrics using a loader task. Typically, this is the “Add Contacts and Transactions to XM Directory” task.

Troubleshooting Salesforce Object Imports

If your workflow fails to complete, head over to the workflow run history to get more information about the failure. Below are common errors and their resolutions:

  • “Your credentials to Salesforce are invalid, please reconnect”
    • The credentials used with the task are invalid and need to be re-entered. To fix this issue, edit the task that failed and choose another valid credential or add a new one.
  • “ListView {{listviewId}} for sObject {{sObjectName}} does not exists”
    • The list used in the task is not accessible to the user or has been deleted. To fix this issue, edit the task that failed and select the object that has an invalid list. Then, choose a new list to use. The {{listviewId}} field in the error message contains the list’s ID in Salesforce and the {{sObjectName}} field is the object’s name in Salesforce.
  • sObject {{sObjectName}} does not exists
    • The object used with the task is not accessible to the user or has been deleted. To fix this issue, edit the task that failed, remove the invalid object, and save the task. The {{sObjectName}} field in the error message contains the object’s name in Salesforce.
  • Field {{fieldName}} in sObject {{sObjectId}} does not exists
    • The field used in the task is not accessible to the user or has been deleted. To fix this issue, edit the task that failed, remove the invalid field, and save the task. The {{fieldName}} field in the error message contains the field’s name in Salesforce and the {{sObjectId}} field is the object’s ID in Salesforce.
  • Could not determine data isolation
  • Unexpected error occurred
  • An error occurred with Sandbox
    • If there are any errors with Sandbox, it is recommended to use a non-Sandbox version in order to resolve the issue. Sandbox environments are intended for testing purposes, and won’t always perform the same as non-Sandbox environments.

Extracting Emails from Salesforce

This section covers how to extract emails from Salesforce to use in an email data project (as part of omnichannel listening management).

  1. From the Workflows tab of your OXM project, create a new ETL workflow.
  2. Select Data source (ETL extractor).adding an extractor task to the etl workflow
  3. Search for the Salesforce Extractor task.choosing the salesforce extractor task
  4. Select Emails.selecting Emails as the data type to import
  5. Click Next.
  6. Select the Salesforce account to import data from.selecting a Salesforce account to use, or connecting a new one
  7. If you’d like to add a new Salesforce account, click Add a user account.
    Qtip: Any Salesforce accounts you’ve previously connected as well as accounts set up by Brand Administrators will be available here.
    Attention: You may have up to 5 external connections to your Salesforce account for this task. If you add more than 5 connections, the oldest connection will be severed.
  8. Click Next.
  9. Select the Salesforce Case status you’d like to import. You can select more than 1 status.choosing the case statuses to import, and the import date
    Attention: You can only select case statuses that are considered “closed” in Salesforce. The default “Closed” status is one of these, and you may have additional custom statuses that are also “closed,” which is set by an Administrator in Salesforce.
  10. Choose the date to determine which emails are extracted. The first time this task runs, it will extract emails that have their case “Closed Date” between your selected date and first task execution date (which is set by the schedule when you build the ETL workflow).
    Qtip: On subsequent executions, it will only extract emails if the case’s “Closed Date” is between the previous execution and current execution (which are determined by your ETL schedule).
    Qtip: You can set a custom timeframe to extract data from a specific date range by clicking the Run Immediately button at the top of your workflow. This allows you to “override” the default data extraction behavior above. See Extracting Data From a Specific Date Range for step-by-step instructions. Please note that this option is only available when extracting emails from Salesforce.clicking "run immediately" to set a custom time frame
  11. Click Next.
  12. On the next page of the extractor, you will see the Salesforce fields connected to the EmailMessage object in Salesforce.
    Attention: Compound fields from Salesforce will not appear here since they cannot be imported to Qualtrics.
    Qtip: If you want to import only Case objects, use the Extract Data from Salesforce or Import Salesforce Report Data tasks instead.
  13. The left side of the table contains optional fields that can be imported, if you’d like. Some fields are marked as “Preferred” since they can be useful in an OXM project.reviewing the email fields that are available for import
  14. The right side of the table has fields that will be imported into Qualtrics.
    Qtip: Some attributes are required and will already be in this column. They cannot be removed.
  15. To move a field between the two sides of the table, click the field and then the arrow button. You can click on multiple fields to select them at the same time.Choosing the fields to import
  16. Click Next.
  17. The next page contains Case fields. Only Cases with emails will be imported into Qualtrics. You can adjust the fields that are imported into Qualtrics using the same method as before.adjusting the case fields to import
  18. Click Next.
  19. The last page contains fields connected to the Account object (which is connected to the Case object in Salesforce via AccountId). You can adjust the fields that are imported into Qualtrics using the same method as before.adjusting the account fields to import
  20. Click Next.
  21. After extracting data from Salesforce, you must tell Qualtrics where to save the data with a data loader task. When extracting emails from Salesforce, you’ll use the Load Data to Conversational Analytics Task to load the data to an Email Data Project.