SurveyMonkey

Using SurveyMonkey for Salesforce

Salesforce

Paid feature
Log in to see if this feature is included in your plan.

Get the integration! SurveyMonkey for Salesforce is an Enterprise add-on (English only). Contact Sales or your Customer Success Manager (CSM).

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.

Create your survey and set up your Salesforce object before you create your mappings. Learn more in our Getting Started guide.

  • If your SurveyMonkey plan has Power and Casual seats, you need an Enterprise Power seat to access the integration. Learn more about seats and permissions.
  • To avoid permission issues, it’s best to use a Salesforce account with a “system admin” profile. Learn more about recommended Salesforce permissions.

To access the integration:

  1. Sign in to the Salesforce account you want to connect to SurveyMonkey.
  2. In SurveyMonkey, select the Products icon and select Apps & Integrations.
  3. Select Salesforce.
  4. Select Connect or Connect Sandbox to connect your Salesforce account. If you’ve signed in to Salesforce, we’ll automatically connect to your signed-in account.

To connect the survey you want to map to Salesforce:

  1. After adding your connection, select your username.
  2. On the My Mappings page, click Connect Survey.
  3. Select a survey title from the dropdown. You can connect any survey you own or that has been shared with you with full access. Surveys are listed by title, not by nickname.
  4. Click Next.

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:

  • Managed package: This convenient, out of the box option sets up object mapping for you, so you don’t need to build a custom object or fields in Salesforce to hold your response data. The mapping creates a separate SurveyMonkey Response record for each question answered – so if your survey has 5 questions, it creates 5 SurveyMonkey Response records. Learn more about our managed package.
  • Custom object mapping: If you need more custom mapping, you can choose to map responses to a custom or standard object. You can use three different mapping actions: Create a new record, Update an existing record, or Update or create a record.

For each mapping type, you can also select the following options:

  • Sync partial responses to Salesforce: Each time a survey taker clicks Next to move on in the survey, each answered question on that page will sync, rather than syncing upon survey completion
  • Disable active assignment rules on creating or updating Salesforce records: Active assignment rules aren't re-applied when Accounts, Cases, or Leads records are created or updated.

The table below describes the mapping actions you can use in your custom Object Mappings.

Mapping actionWhat it does
Create a newCreate 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 existingUse 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 createUse 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 typeWhat it doesAvailable for
Query mappingsQuery 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
Field mappingsField mapping lets the integration map your SurveyMonkey response and 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
Hidden mappingsHidden mappings 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:

  1. Connect your survey to the Salesforce integration.
  2. Click Add Object Mapping or the Edit icon to review your mapping selections.
  3. Click Select an Action, then select Create a new.
  4. Click Select an object to choose the object you want to map your responses to.
  5. Add survey field mappings. Map any survey questions and data to your object in Salesforce. You can select an existing or new Custom Variable to pass known info about a survey taker through your survey (for example, Account ID or Case ID).
    • Certain Salesforce fields can only hold certain data types. Use our field mapping guide to make sure you map to compatible fields in Salesforce.
    • If you see an exclamation mark icon, there may be an error with your mapping. Hover over the icon to review the error.
  6. (Optional) Add hidden field mappings. You can map any static value back to Salesforce. This value will be mapped every time someone takes your survey.
  7. Click Save Object.
  8. (Optional) Once back on the Object Mappings page, click Disable active assignment rules on creating or updating Salesforce records.
  9. Click Next.

Update an existing standard or custom object when someone submits a survey. You have two options:

  • Update an existing: Find an existing record to update. If we can’t find an existing record, an error displays in the Audit Log.
  • Update or create: Find an existing record to update. If we can’t find an existing record, we’ll create a new one.

To update existing records:

  1. Connect your survey to the Salesforce integration.
  2. Click Add Object Mapping or the Edit icon to review your mapping selections.
  3. Click Select an Action. You can Update an existing record or Update or create.
  4. Click Select an object to choose the object you want to map your responses to.
  5. Add a query mapping. Query mappings, like a matching rule in Salesforce, tell Salesforce which record to update. It’s best to map a * New custom variable to the appropriate record ID in Salesforce.
    • If you can't use a record ID, you can use a field from your survey to find the matching record. For example, you can use an email address to find a matching contact record. However, the response will fail to sync if duplicate records are found.
  6. Add survey field mappings. Map any survey questions and data to your object in Salesforce. You can select an existing or new Custom Variable to pass known info about a survey taker through your survey (for example, Account ID or Case ID).
    • Certain Salesforce fields can only hold certain data types. Use our field mapping guide to make sure you map to compatible fields in Salesforce.
    • If you see an exclamation mark icon, there may be an error with your mapping. Hover over the icon to review the error.
  7. (Optional) Add hidden field mappings. You can map any static value back to Salesforce. This value will be mapped every time someone takes your survey.
  8. Click Save Object.
  9. (Optional) Once back on the Object Mappings page, click Disable active assignment rules on creating or updating Salesforce records.
  10. Click Next.

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:

  1. Connect your survey to the Salesforce integration.
  2. Click Sync all responses to SurveyMonkey’s Response object. The first time you do this, you’re prompted to install the package in your Salesforce instance and provided with an installation link. When installing, we recommend selecting For All Users.
  3. (Optional) Click Disable active assignment rules on creating or updating Salesforce records. This only applies if your mapping is updating fields directly on the case 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. 

  1. Click Add Object Mapping or Edit to review your mapping selections.
  2. Click Select an Action, then select Update an Existing.
  3. Select Account, Case, Contact, Lead, or Opportunity. To associate your responses to a different object, you can add additional lookup fields to the SurveyMonkey Response object in your Salesforce setup.
  4. Add Query Mappings to tell Salesforce how to find the related records. Use a Custom Variable to pass the Record ID from Salesforce.
  5. (Optional) Add any survey field mappings to map survey fields to fields on this object.
  6. Click Save Object.
  7. (Optional) If you want to associate your survey responses to multiple objects, repeat steps 4 – 7.
  8. Once back on the Object Mappings page, click Next.

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.

  • Web Link: Create a Web Link to send in an email from Salesforce or another provider. Web Links are easy to set up and allow you to use Advanced Logic and Piping to customize your survey questions with Salesforce data. However, you’ll need to build your own email template in Salesforce or your other email provider.
  • Email Invitation: Trigger a SurveyMonkey email invitation using a Salesforce flow. For example, you can send a survey invitation after closing a case in Salesforce. You'll need to create your own Outbound Message and flow in Salesforce.

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:

  1. Select an existing web link collector or select New Web Link.
  2. Copy the URL. It includes the custom variables you chose to map to the object.
  3. Go to your email client and paste in the URL. You may need to update the custom variables in your web link with your {Merge fields}. Salesforce merge fields usually look like this: {!Contact.Id} or {!Case.Id}
    • If you’re sending your email from Salesforce, make sure to verify the merge fields in your survey link. The placeholders may not use the correct Salesforce syntax. In Salesforce, search for the merge fields in your email template, then add them to the custom variables in your web link.
  4. (Optional) Send the email template to yourself as a test. Take the survey and view the Audit Log to confirm your responses sync to Salesforce.

To use an Email Invitation:

  1. If you haven’t already, create your custom email message in SurveyMonkey. Then, come back to the integration.
  2. In the deployment step of your mapping, select your collector from the dropdown. It will be labeled as a Draft, not Open.
  3. Click Customize Message to select your survey, existing email invitation, and message. Or, select Default to use our default email message.
    If you don't select a draft message, we'll use the SurveyMonkey default email message.
  4. If the preview looks good, click Confirm.
  5. Select an object to monitor (the object that triggers your survey) and the email field to pull the email address from. These Salesforce fields will be sent with the Outbound Message, so they must be available fields on the object you are monitoring.
  6. If you selected custom variables in your object mappings, map these to their corresponding Salesforce fields. The Salesforce fields will be sent with the Outbound Message, so they must be available fields on the object you are monitoring.
  7. Click Save Mapping.
  8. Copy the URL.
  9. In Salesforce, create a new Outbound Message or pull up an existing one.
    • Paste the URL from SurveyMonkey as the Endpoint URL.
    • In Fields to Send, add the Email and any other fields you used in your object mappings. These fields will be sent in your Outbound Message.

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.

  1. In Salesforce, create a flow to send your Outbound Message. Include the object you chose to monitor in your email invitation. For example, if you monitored the Case object, create a flow for the Case object.
  2. Save and test your flow. You can immediately check your collector in SurveyMonkey to confirm an email invitation is pending.

To change your email message after your collector has received responses:

  1. In SurveyMonkey, go back to your Email Invitation collector and click Invite more.
  2. Edit your email message, then click Resume later.
  3. Go back to the deployment step of your mapping.
  4. Select Customize Message.
  5. Select your survey, collector, and then the new template.
  6. Click Confirm if the preview looks good.

There are a few common errors with email invitations. Here are a few things to try to fix email invitation issues.

  • Make sure your Salesforce account has permissions to send Outbound Messages.
  • Check your Outbound Message in Salesforce. If you see an error, confirm that your endpoint URL is correct. This should be the link you got in the last distribution step in SurveyMonkey.
  • Make sure the right fields were added to the Outbound Message. Some fields have similar names. Including the wrong field can cause the flow to fail.

Take a test version of your survey to make sure your mappings work correctly. You can review mapping errors in the Audit Log.

Click Mappings near the top of the page to see a survey's audit logs or errors. You can click the iAudit log icon to view your successful syncs or click 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:

  1. From SurveyMonkey, share your mapped survey with your team members. Make sure you give Full Access permissions to the Design Survey section.
  2. From the SurveyMonkey for Salesforce integration, go to My Mappings and click the Shared toggle for surveys you want to make available.

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.

There's a down arrow next to My 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:

  1. If you haven't already, add a connection for your other Salesforce account.
  2. On the My Mappings page, check the box for the survey you want to copy.
  3. Select Copy to Account.
  4. Select the account to copy your mapping to.
  5. Select OK.
  • How do I tie my responses to a specific record in Salesforce?
  • Will survey responses collected before I connected the integration populate in Salesforce?
  • How do we keep the responses sync active if the user that set up the mappings leaves the company?