About Linking Qualtrics & Salesforce
Before using any features of the Salesforce Extension, you need to connect your Qualtrics account to your Salesforce instance.
Your Salesforce instance will be connected to your Qualtrics account in the Actions tab.
Setting Up a Link Through the Actions Tab
In the Actions tab, you can link each Salesforce task to your Salesforce instance. This allows the flexibility to have some surveys linked to your sandbox, while others are linked to production.
- In your survey, navigate to the Actions tab.
- Click Create an action.
- Choose Event-based.
- Select the event that starts your desired workflow. If you want to set up Response Mapping, this will be a Survey Response, and you will connect your Salesforce instance in the task step of the Action. If you are triggering a survey distribution from Salesforce, this will be a Salesforce Workflow Rule.
- Click the plus sign ( + ) and then Task.
- Select your desired task. If you are setting up Salesforce Response Mapping, choose Salesforce. If you are triggering a survey distribution from Salesforce, this will be an XM Directory task.
- If you are adding a Salesforce sandbox instance, check the box marked Sandbox Environment. If you are using a production account, leave this box unchecked.
- Select Sign into Salesforce. This will take you to a Salesforce login screen to authenticate your account.
Requirements of the Salesforce Account / Environment
The user type you link does not necessarily need to be a System Admin, but there are specific requirements of the user profile you use when linking.
User Profile settings:
- Salesforce API enabled
- If Login IP range(s) specified, include Qualtrics IP ranges: 220.127.116.11/22, 18.104.22.168/22
- Ensure that the Salesforce user has access to all necessary Record Types
- Object/field access:
- “View All” for any objects that are related to objects the user may be updating/inserting
- “Modify All” for any objects the user may be updating in Salesforce from Qualtrics
- “Create” for any objects the user may be inserting in Salesforce from Qualtrics
- “Read Access” for any fields the user may need to pull into Qualtrics from Salesforce
- “Edit Access” for any fields the user may need to update/insert
- Setup > Security > Session Settings
- Deselect both options for locking IP addresses
- Setup > Apps > Manage Apps > Qualtrics Surveys > OAuth Policies
- Refresh Token Policy should be set to “Refresh token valid until revoked”
- Permitted Users should be set to “All users may self-authorize”
Salesforce credentials are stored in Qualtrics at the account level. That means that Qualtrics always checks the Salesforce credentials of the project owner. If you are setting up the Salesforce Extension and the project was shared with you, either have the project ownership transferred to you or have the project owner link their Qualtrics account to your Salesforce instance. Only the creator of the Salesforce action should make any additional edits to the action, since any collaborators will be asked to re-authenticate into the Salesforce instance in that action.
If you run into issues when testing response mapping or triggering and emailing surveys, check to see if the project has been shared at all, and make sure the project owner has linked to the correct Salesforce account.