The New Salesforce App Experience
About the New Salesforce App Experience
Qualtrics recently released a new version of the Salesforce App which comes with many improvements. This includes a streamlined installation process, an improved UI for sending surveys, additional support for SMS surveys, and an easier process for connecting your Qualtrics account. The app lets you send Qualtrics surveys and view survey responses from within Salesforce. Additionally, the app lets you view your CX Dashboards in Salesforce as well.
To use the new app experience search for Qualtrics XM in the Salesforce App Exchange and then click Get It Now.
Installing the App
After downloading the Qualtrics XM app in the Salesforce App Exchange, follow the below steps to set up the app.
- In Salesforce, open the App Launcher.
- Search for Qualtrics.
- Select Qualtrics.
- Choose the users who you’d like to have access to the app.
- Click Add Selected.
Qtip: Click Add Entire List if you want to give access to every user in your Salesforce instance.
- Click Next.
- Choose the pages where you’d like the survey widget to appear. The survey widget lets you send surveys from Salesforce.
The pages available to you are:- Contacts page
- Contact record page
- Campaigns page
- Campaign record page
- Leads page
- Leads record page
- Select the pages where you’d like the response widget to appear. The response widget lets you see survey responses in Salesforce. The pages available to you are
- Contact record page
- Leads record page
- Click Next.
- Choose if you’d like to connect and display your CX dashboards in Salesforce for all users, or if you’d like users to set up CX dashboards on their own.
- If you selected to Display to all users, then additional instructions will appear in the installation window. Follow those instructions before continuing. If you selected Let users decide if they want to connect, then continue to step 12.
- Click Next.
The installation setup is now complete! You can re-launch the installer at any time to change these settings.
Connecting Your Account
Before you can send surveys via Salesforce or view responses & CX dashboards, you need to connect your Qualtrics and Salesforce accounts.
- In the Qualtrics app, navigate to Qualtrics Settings.
- Go to the Connect tab.
- Click Connect to Qualtrics.
- Enter your username and password.
Qtip: If your license uses Single Sign On (SSO), click Sign in with SSO and enter your organization ID. More information about logging in with your organization ID can be found on this support page. - Click Sign In.
- Enable Allow this application to retain access for up to a year.
- Click Authorize.
- Click Finalize connection.
Sending Surveys via Salesforce
With this app, you can send both email surveys and SMS surveys to people via Salesforce. You can send your surveys from the Contacts, Campaigns, and Leads records and pages, provided they’ve been enabled in the installation process.
Sending Email Surveys
- In the app, go to the Contact, Leads, or Campaign to which you’d like to send your survey.
Example: You can send your survey from the page itself (i.e. the Contacts page), or from a specific Contact record (as pictured above). If distributing from a page, you need to select which records will receive the survey. In the below example, we’ve selected two different Campaigns to receive the survey from the Campaigns page.
- Select New in the distribution widget.
- Choose the survey you’d like to distribute.
Qtip: Click Edit survey to be brought to Qualtrics for editing your survey.
- Choose the directory you’ll be using from your Qualtrics survey distributions.
- Select Email as the Delivery Method.
- Click Map embedded data to save Salesforce field data as embedded data in Qualtrics.
Qtip: To map embedded data, use the dropdown menu to choose the Salesforce field and type the Qualtrics embedded data field name. Make sure to add these embedded data fields to your survey flow to save them with the survey response data!
- Choose an email template that will be the body of your email. If you do not already have an email template to use, then select Create New.
- Enter the From Name. This is the name that appears in your recipient’s inbox.
- Give your template a name so you can reuse it again in the future. If you selected an existing email template in step 5, you will not have this field.
- Enter the Reply Email. This email will receive any replies to your email invitation.
- Enter the Email Subject. This is the subject line of the email.
- Configure the body of your email in the Message box.
Qtip: Do not remove the Piped Text from the email body, as the Piped Text turns into your survey links when the email sends.
- To send your email at a future time, click Schedule for later. If you’d like to send your email immediately, skip to step 14.
- Use the Date and Time boxes to select when the email will send.
- Click Schedule to schedule the email. This button will say Send Now if you did not choose to schedule your email for later.
Sending SMS Surveys
- In the app, go to the Contact, Lead, or Campaign to which you’d like to send your survey.
Example: You can send your survey from the page itself (i.e. the Contacts page), or from a specific Contact record (as pictured above). If distributing from a page, you need to select which records will receive the survey. In the below example, we’ve selected two different Campaigns to receive the survey from the Campaigns page.
- Select New.
- Choose the survey you’d like to send.
Qtip: Not all surveys can be sent via 2-way SMS. See this support page for more information on designing your survey if you want your survey to be taken via 2-way SMS.
- Select Text message (SMS) as the Delivery Method.
Qtip: If this option is grayed-out, that means you don’t have access to SMS surveys. Reach out to your Brand Administrator and request they enable the Use SMS Distributions permission for your account.
- Click Map embedded data to save Salesforce field data as embedded data in Qualtrics.
Qtip: To map embedded data, use the dropdown menu to choose the Salesforce field and type the Qualtrics embedded data field name. Make sure to add these embedded data fields to your survey flow to save them with the survey response data!
- Choose the Phone Number that the survey should be sent to. Since records in Salesforce can have multiple phone numbers, you’ll need to select which phone number will receive the survey.
- Choose the Message Type. This determines how your respondents take the survey:
- Link to survey (1 way SMS): The respondent receives a text message that contains a link to your survey, which they complete in their mobile device’s web browser.
- Direct text replies (2 way SMS): The respondent takes the survey via text message by replying with their answers.
Qtip: If you select 2 way SMS, skip to step 10.
- If you selected 1 way SMS, select the SMS Template, which is the text message invitation your respondents will receive for taking the survey. If you have not created any templates, select Create New.
- If you’re creating a new template, give the template a name so you can reuse it in the future. If you selected an existing template in the previous step, continue on.
- Configure the body of your text message in the Message box.
Qtip: Do not remove the Piped Text from the text message body, as the Piped Text turns into your survey link when the text message sends.
- To send your text message at a future time, click Schedule for later. If you’d like to send your text message immediately, skip to step 12.
- Use the Date and Time boxes to select when the text message will send.
- Click Schedule to schedule the text message. This button will say Send Now if you did not choose to schedule your text message for later.
Viewing Sent Distributions
In addition to sending emails via Salesforce, you can view information about your past distributions, such as how many people received the survey, any records with missing contact information, and any responses that are associated with the distribution. To view your sent distributions, go to the Sent tab of the survey widget. To view information about a specific distribution, click View More next to the distribution you’re interested in.
After clicking View More, you’ll see a window that show more information about your distribution:
- On the right hand side, you can see all of the details of your distribution when setting it up, such as what survey was sent, the distribution method, the message that was sent, and more.
- # Selected is the number of records that were selected to receive the distribution. This number can include respondents who did not actually receive a survey invite, such as if their contact information is missing, or if they’ve opted out.
- # Opt Out is the number of records who did not receive an email since they fulfilled the survey exclusion criteria. See Additional Settings for more information about survey exclusion criteria.
- # Email Missing is the number of records who did not have a valid email address for receiving the distribution. If you sent an SMS survey, this number will be 0 for your distribution.
- # Phone Missing is the number of records who did not have a valid phone number for receiving the distribution. If you sent an email survey, this number will be 0 for your distribution.
- # in List is the number of records in the contact list that were actually sent the distribution.
- The Activity section will show you when the distribution sent, the associated panel name, what user created the distribution, and what use last modified the distribution.
- As responses come in, they’ll be visible in the Survey Responses section. See the below section about viewing responses for more information about mapping your responses for viewing in Salesforce.
Editing & Deleting Scheduled Distributions
After scheduling a distribution to send on a future date, you can edit the details of the distribution, or cancel it all together. To edit a scheduled distribution, select the Scheduled tab and then click Edit next to the distribution.
You can then edit any details of your distribution, such as what survey sends, when the distribution sends, the associated message, and more. Once you’re finished editing, you can click Save to save your changes. If you’d like to preview your changes, click Send Test and enter either your phone number or email address, depending on the distribution type. If you want to delete your distribution altogether, click Delete.
Viewing Responses in Salesforce
Before responses appear in Salesforce, you need to map your responses back to Salesforce. You will need to perform these steps for every survey you want to send via the Salesforce App.
- Navigate to the Survey flow of the survey you’d like to distribute.
- Click Add a New Element Here.
- Select Embedded Data.
- Type the name of one of your Salesforce fields.
Spelling and capitalization matter! You should add at least these three required fields:- sfAccountId
- sfContactId
- sfSurveyId
- Click Add a New Field to add additional fields. Repeat this until you have added all your desired fields.
Qtip: The three fields above are the ones required to make the response appear in Salesforce while linking it to the correct record. You can add any additional Salesforce fields you’d like to appear with the response. For example, if you’re linking the responses to a Lead, you’ll want to map the sfLeadId field.
Attention: You can only pull default Salesforce fields into Qualtrics using the Salesforce app.
Default Salesforce fields include:
- id
- name
- title
- birthdate
- accountid
- firstname
- lastname
- leadsource
- mailingstreet
- mailingcity
- mailingstate
- mailingpostalcode
- mailingcountry
- phone
- mobilephone
- otherstreet
- othercity
- otherstate
- otherpostalcode
- othercountry
- otherphone
- homephone
- donotcall
- hasoptedoutofemail
- At a minimum, your Embedded Data element should contain these three fields: sfAccountId, sfContactId, and sfSurveyId.
Qtip: If you plan on using these fields in logic, you should move the element to the top of your survey flow. - Click Save Flow.
- Navigate to the Workflows tab of the survey you’d like to distribute.
- Click Create a workflow.
- Select Started by an event.
- Choose the Survey Response Event.
- Select Newly created responses.
- Click Finish.
- If desired, click the plus sign ( + ) and then Conditions to add conditions to your workflow. Conditions determine when the workflow fires. For help building conditions, see Using Logic.
- Click the plus sign ( + ) and then Task.
- Select the Salesforce task.
Qtip: Most of the time, you’ll connect to a Production Account. Sandbox Accounts are usually used for testing purposes only. After selecting the type of account to add, you’ll be brought to the Salesforce login screen to login to your Salesforce account. Once you log in, you’ll be redirected back to the task to complete the setup. - Choose the option that corresponds to what you want to happen with your Qualtrics data on the Salesforce side.
- Select the salesforce account you would like to use for this task.
- If you are connecting to a new account click Add a user account. You will be redirected to Salesforce for authentication.
- Select the type of Salesforce object you’re using.
- Select the Salesforce field you would like information to upload to.
- Use {a} to pipe in the corresponding data from a survey question, embedded data, or survey metadata (response ID, recorded date etc).
- Select “Add a new field” to add more fields to map from the survey into Salesforce.
- Click Save.
Now, when a respondent takes your survey, this data will be sent to Salesforce, and you can review the response from your Salesforce Contacts or Lead record pages. Click a specific survey response to pull up more information about the response. The fields you mapped to Salesforce will be available in when viewing the response in full.
Viewing CX Dashboards in Salesforce
To view your CX dashboards in Salesforce, go to the CX Dashboard tab. If CX dashboards were already enabled during the installation process for all users, you will be automatically logged into your account and brought to your CX dashboards. If the dashboards were not enabled for all users during installation, you can still self-authorize yourself to view dashboards.
You can perform any action you normally would to your dashboard, such as viewing, editing, and exporting the dashboard. For more information about CX Dashboards in general, see our Getting Started with CX Dashboards resources.
Adding Widgets to Salesforce Record Pages
With the Salesforce App, you can embed widgets from your CX dashboard onto a record page within Salesforce. In order to see the widgets when viewing a record page, a Salesforce user must meet the following conditions:
- Their Salesforce and Qualtrics accounts are connected.
- The user has access to the dashboard containing the widget.
See Embedding Dashboard Widgets in Third Party Software for a step-by-step guide on embedding your dashboard widgets in Salesforce.
Additional App Settings
The Qualtrics App contains some additional settings for you to configure, such as survey exclusion rules and disconnecting your Qualtrics account.
Survey Invite Exclusions
The Survey invite exclusions tab lets you choose if certain records should be excluded from receiving Qualtrics surveys, based on contact-opt outs or other conditions set by your organization.
For contacts, you can base exclusions on the following fields:
- Fax Opt Out
- Do Not Call
- Is Email Bounced
- Informed Consent
For Leads, you can base exclusions on the following fields:
- Do Not Call
- Fax Opt Out
If a record has a value of “true” for a field that you’ve enabled here, then the record will not receive your survey invite.
Call Script Links
Call scripting is used in call centers to guide customer service representatives in their interactions. They act as a sort of dialogue tree to guide the conversation. The Qualtrics Salesforce App allows you to embed a call scripting survey in your Salesforce environment as a button or a link, allowing representatives to easily launch the call script. See the Setting Up Call Scripting section for details on how to set this up.
Disconnecting Your Qualtrics Account
To unlink your Qualtrics and Salesforce accounts, go to the Disconnect tab and then click Disconnect.
Setting Up Call Scripting
- In the app, navigate to the Qualtrics Settings tab.
- Select Call Script Links.
- Click Create New.
- Choose your call scripting survey.
- Select the page in Salesforce you want to add the link to and map fields from.
Example: To add the call script to a Contact record page and use data from the record in your survey, select Contact.
- Give your script a name.
- Click Add Fields to begin mapping Embedded Data fields from your survey to fields from Salesforce. This will save the field value from Salesforce as an Embedded Data field in your survey data.
- Use the dropdown menus to map your fields.
- To remove a field, click the trash can icon.
- Click Copy to copy the call script URL to your clipboard. Hold onto this URL for later.
- Click Done.
- Navigate to Setup.
- Go to the Object Manager.
- Select the object you want to add your call script to. This should be the same as the page you selected in step 5.
- Click Buttons, Links, and Actions.
- Click New Button or Link.
- Begin setting up your link or button by giving it a label, title, and description.
- Choose the Display Type which determines how your call script appears in the Salesforce UI.
Qtip: Click View Example next to a Display Type to see an example of what this type will look like.
- Paste your copied link into the link box.
- Click Save.
- Navigate to Page Layouts.
- Select the layout you want to add your button or link to.
- Choose Buttons if you’re adding a button, or Custom Links if adding a link.
- Drag and drop your button or link to the area of the layout where it should appear.
Qtip: Having trouble finding where to drag and drop the button/link to? The Salesforce UI will highlight in green where you can drop the button/link.
- Click Save.
Using Call Scripts
Once you’ve set up your call script link, open the Qualtrics app for Salesforce and navigate to the page where you added the link. To launch the call script, simply click the link.
Editing Call Scripts
To edit your call scripts, navigate to the Call Script Links section of App Settings, and click the pencil icon next to the script you’d like to edit.
You can then edit any details of your call script.
Using the App in Different Languages
To change the App’s language, adjust your Salesforce account’s language setting, and the app will update accordingly.
If the app’s language does not update after changing your account language, you’ll need to make sure your Translation Settings are set up correctly. To change your Translation Settings:
- In Salesforce, navigate to your Translation Language Settings.
- Click Enable.
- Clear your browser’s cookies & cache.
After enabling the Translation Language Settings and clearing your browser’s cookies & cache, the app language will update to your selected language.