Salesforce
Get the integration! SurveyMonkey for Salesforce is an Enterprise add-on. Contact Sales or your Customer Success Manager (CSM). Limitation: The integration setup is only available in English.
With SurveyMonkey for Salesforce, you can build automations to trigger surveys and push data back to Salesforce records for in-context analysis. Create reports, dashboards, and automate flows to take action on feedback.
When you integrate survey data with Salesforce, you can better understand, measure, and react to various customer interactions to improve the overall health of your business relationships.
Salesforce blocked the creation of new workflow rules in February 2023. You’ll need to build new automations using Flows or use the Migrate to Flow tool. You can still activate, edit, and deactivate existing process builder and workflow rules.
Create your survey and set up your Salesforce object before you create your mappings. Learn more in our Getting Started guide.
All your mappings are saved to the Salesforce account you connect to. If the logged-in Salesforce account is deactivated, their mappings will stop working. Make sure to use an integration Salesforce account if possible.
You can connect multiple accounts, including sandbox environments. This process leverages OAuth 2.0 for a secure integration. This process leverages OAuth 2.0 for a secure integration.
To access the integration:
Refreshing Sandbox environments: Your Salesforce connection will break when you refresh your sandbox environment. To keep your mappings, reconnect to your sandbox environment, then copy the mappings from your old connection to the new one.
To connect the survey you want to map to Salesforce:
Mappings send your survey data back to Salesforce. You'll create mappings to send specific data, such as a response or survey metadata, to a Salesforce object. You can choose from two mapping types:
For each mapping type, you can also select the following options:
The table below describes the mapping actions you can use in your custom Object Mappings.
Mapping action | What it does |
Create a new | Create a new record in the Salesforce object you choose for each survey response. This option doesn't check to see if the record already exists—it just creates a new record each time. |
Update an existing | Use a query mapping to find existing object records. If an object exists, it's updated. If the record doesn't exist, an entry is added to your Error Log. When you select this option, you can choose to Overwrite record fields that have existing values. This will replace existing data on your object. This can help you keep data current. However, if you need to revert these changes, you may need to manually update data later. |
Update or create | Use a query mapping to find existing object records. If an object exists, it's updated. If it doesn't exist, a new record is created. |
After choosing your mapping action, you can set up your mapping. There are 3 mapping types you can use to map data to Salesforce.
Mapping type | What it does | Available for |
Query mappings | Query mappings tell the integration how to find existing records. You can use a custom variable to map to a specific Salesforce Record ID. | ❌ Create a new record ✅ Update existing records ✅ Update or create records |
Survey content or data | Map your SurveyMonkey response and other metadata to the appropriate Salesforce object fields. You can map any response field to one or more objects in Salesforce. If data fails to map, an entry is added to your Error Log. | ✅ Create a new record ✅ Update existing records ✅ Update or create records |
More data | Add more data to pass static values through to an object field each time a survey response comes in. For example, you can send a record type ID to designate which record type a survey should sync to if multiple exist for your object. Or, you can send a "survey taken" value, such as text or a checkbox, to track people who have taken your survey. | ✅ Create a new record ✅ Update existing records ✅ Update or create records |
Build mappings for your survey.
If you create mappings on a shared survey, the owner won’t be able to see your mappings.
Create a new standard or custom object record every time someone submits a survey. To create new object records:
Update an existing standard or custom object when someone submits a survey. You have two options:
To update existing records:
Create a new SurveyMonkey Response object every time someone submits a survey. You’ll install our managed package to do this. The managed package makes it easy to send data to Salesforce and build Salesforce reports for survey responses. You can also customize Salesforce page layouts to better review survey data.
You’ll download the managed package while in SurveyMonkey. You don’t need to download anything from the Salesforce App Exchange.
To map to the SurveyMonkey Response object:
To relate the SurveyMonkey Response records to other records, add an object mapping. You’ll need to map to lookup fields on the SurveyMonkey Response object.
Choose how to send your survey. You can use a Web Link pasted into your own email, or use a custom SurveyMonkey Email Invitation. There are 2 options you can use to send your survey.
You can’t use a collector owned by someone else. If you want to use an existing collector, make sure to choose one that you created.
If you’re using Piping or Advanced Branching with custom variables, use the Web Link deployment option. A Web Link will let your Salesforce data inform your survey logic or customize your survey questions.
To use a Web Link:
If you’re sending your survey from Salesforce, create an email template and flow. You may need to contact your Salesforce admin for help.
To set up your email in Salesforce:
Example: You want to trigger a survey when someone closes a case. When you build your flow, choose Case as the object to trigger your survey. Select the Case object for your email alert. In Salesforce, create a flow that sends your email when a Case status changes to Closed. When the email is sent, the custom variables in the survey link will populate with data for the person receiving the email.
To send an Email Invitation from SurveyMonkey:
Example: Let's say you monitored the Case object, selected Contact Email [for email], and mapped custom variables for Case ID and Contact ID. In your Outbound Message, add Contact Email, (Case) ID, and Contact ID.
To change your email message after your collector has received responses:
There are a few common errors with email invitations. Here are a few things to try to fix email invitation issues.
Take a test version of your survey to make sure your mappings work correctly. You can review mapping errors in the Audit Log.
Select Mappings near the top of the page to see a survey's audit logs or errors. You can select the iAudit log icon to view your successful syncs or select the !Error icon to view an error description.
Shared Mappings give your team visibility into your survey mappings for better collaboration.
To let your team access your survey and mappings:
Don't see the Shared column in My Mappings? Contact your CSM to activate the feature for your team.
To view the team's shared mappings, hover over the down arrow next to Connected Accounts or My Mappings and select Shared Mappings.
Team members can Edit Shared Mappings but can't view the deployment options page. To get the invitation URL, team members can contact the survey owner.
If you build mappings in a Sandbox account, you can copy them over to a production account. To copy mappings: