Salesforce Integration

Responsly allows you to enrich your Salesforce CRM with actionable survey insights by seamlessly syncing survey responses to your Salesforce objects. With this integration, you can:

  • Map survey responses to any field in Salesforce Standard Objects (Lead, Contact, Account, Opportunity, Case, etc.) and Custom Objects
  • Trigger surveys automatically based on Salesforce events (e.g., Case Closed, Opportunity Won)
  • Generate new leads or contacts directly from Responsly surveys on your website
  • View customer sentiment data within Salesforce dashboards
  • Set up automated workflows triggered by survey responses for personalized follow-ups

Note: The Salesforce integration works with Salesforce CRM (Sales Cloud). Salesforce Marketing Cloud uses a different data structure and is not compatible.

Prerequisites

Before setting up the integration, ensure you have:

  • A Responsly account
  • A Salesforce CRM account (Sales Cloud — Enterprise Edition or higher recommended for API access)
  • Administrator access in both platforms

Step 1: Create Your Survey

  1. Log in to your Responsly dashboard.
  2. Click Create new survey and choose a creation method — you can use a template, the AI survey generator, or build from scratch.
  3. Select your preferred survey type (NPS, CSAT, CES, or a custom questionnaire).
  4. Add your questions using any of the 20+ available question types.
  5. Configure Skip Logic if you want to show different questions based on responses.
  6. Optionally, add contact questions (for example: Email, Text for first/last name, Phone number, Company name) to collect respondent details — this is especially useful if you want to create new leads or contacts in Salesforce.

Tip: Place these contact questions before any questions you plan to map to Salesforce fields, so the respondent is identified before their answers are synced.


Step 2: Connect Responsly to Salesforce

Choose Salesforce integration from Integrations list

Start by connecting your Salesforce account:

Responsly provides a native Salesforce integration that supports automated survey sending and response mapping to Salesforce objects.

  1. Open your survey in Responsly.
  2. Navigate to the Connect tab.
  3. Find Salesforce in the list of available integrations.
  4. Click the Connect button to begin the authorization flow.
  5. A pop-up window will appear — log in to your Salesforce account and authorize Responsly.

    If you don’t see the pop-up, allow pop-ups in your browser (check your URL bar for a blocked pop-up notification).

  6. Once authorized, the integration is active and ready to configure.

Sandbox vs. Production: You can connect to either your Salesforce Sandbox or Production environment. Use Sandbox for testing, then switch to Production before launching your survey to a live audience.

Step 3: Configuration

There are 4 configuration options:

  1. Survey Link
  2. Update Salesforce Records with Survey Response Data
  3. Set Static Values
  4. Configure Object Relationships

Configuring Salesforce survey link with merge tags in Responsly

In Salesforce integration settings, click the Survey link tab:

  1. At the top you see the public survey URL with all currently configured Salesforce parameters already appended. Use the Copy button to copy this URL into your Salesforce templates or journeys.
  2. Below the link, for each row:
    • Select a Salesforce object (e.g. Account, Contact, Lead).
    • Select a Salesforce field (e.g. Account ID, Contact ID, Email).
  3. Each row automatically:
    • Adds a hidden variable to the form with the name based on the selected object and field (e.g. account_id, contact_email).
    • Updates the survey URL to include the corresponding query parameter and merge tag value.
  4. Click Add merge tag to add more object/field combinations and extend the URL with additional Salesforce-mapped parameters.

In the Survey link tab of the Salesforce integration you will see a ready-made URL, including the correct parameter names for the generated hidden variables. When distributing the survey, keep that structure and only replace or configure the merge tags on the Salesforce side.

Example structure (parameters are generated by Responsly):

https://yourcompany.responsly.com/s/abcd1234?contact_email={!Contact.Email}&contact_id={!Contact.Id}
  • The first parameter starts with ?
  • Additional parameters are separated with &

When sending from Salesforce, use merge tags to dynamically populate these values. Responsly generates merge tags in the classic format ({!Object.Field}); if you use Lightning templates you can adapt them to Lightning syntax if needed (see the merge tag table later in this guide).

Important: The integration will not work for anonymous responses. Make sure respondents are always identified via hidden variables (from the Salesforce configuration) or a Contact Form question.

2. Update Salesforce Records with Survey Response Data

Update object

  1. Select the Update objects tab.
  2. For each question you want to sync:
    • Choose the question from your survey.
    • Select the Salesforce Object (Contact, Lead, Account, Opportunity, Case, or Custom Object).
    • Select the Field you want to populate with the response.
  3. Click Connect another question to map additional questions.

Update object

3. Set Static Values

You can send static values to Salesforce for every respondent who completes a specific survey:

  1. In the Salesforce integration settings, select the Set static values on custom fields tab.
  2. Choose the Salesforce Object and Field.
  3. Enter the static value (e.g., the survey name, a campaign code, or a source tag).
  4. Click Add another field to set multiple static values.

Note: The static value must match the target field type in Salesforce. For dropdown fields, enter an exact value from the dropdown list. For reference fields, enter the correct Salesforce record ID.

4. Configure Object Relationships

To associate related Salesforce objects (e.g., link a Contact to an Account):

  1. In the integration settings, select Objects relationships.
  2. Select Object #1 (e.g., Contact).
  3. Select Object #2 (e.g., Account) and the Relationship field.
  4. Click Set up another relationship to add more associations.

Step 4: Testing

Before going live, always test the integration:

  1. Create a test Contact (or Lead) in Salesforce with a valid email address you control.
  2. Send a test survey email using the template you configured.
  3. Complete the survey from the test email.
  4. Return to Salesforce and open the test Contact/Lead profile.
  5. Check the Details tab — the mapped fields should now show the survey response data.
  6. If responses don’t appear:
    • Verify that hidden variables are correctly appended to the survey URL.
    • Ensure field types in Salesforce match the data being sent.
    • Reauthorize the integration if you recently added new custom fields in Salesforce.

Creating New Leads/Contacts in Salesforce from Contact Form

Responsly can automatically create new records in Salesforce when respondents fill out a Contact Form.

  1. Add a Contact Form question to your survey with the required fields (name, email, phone, company, etc.).
  2. In the Salesforce integration settings, under Update objects, select your Contact Form question.
  3. Choose the Salesforce object to create: Lead, Contact, or Account.
  4. Click Edit mapping to assign each form field to the corresponding Salesforce attribute.

When a new respondent completes the Contact Form, a new record will be automatically created in Salesforce.

Sharing Survey or Form via Salesforce

  1. In the Share tab of your survey, copy the survey link.
  2. Append hidden variables with Salesforce merge tags (Survey Link).
  3. Embed the link as a CTA button or hyperlink in your Salesforce email template.

Embed in Salesforce Email Templates

To display the first survey question directly in the email body:

  1. In the Share tab, click Get your code and copy the HTML embed code.
  2. In Salesforce, create or edit an email template:

Salesforce Classic:

  • Navigate to Setup → Email Templates → New Template
  • Choose Custom (without Classic Letterhead)
  • Switch to HTML formatting
  • Paste the Responsly HTML code into the body
  • Save the template

Salesforce Lightning:

  • Navigate to Setup → Classic Email Templates → New Template
  • Choose Custom (without Classic Letterhead)
  • Paste the Responsly embed code into the HTML body
  • Save the template
  1. Use this template when sending emails from Salesforce to your contacts, leads, or within campaigns.

Merge Tag Reference

Salesforce EditionContact EmailContact IDLead EmailLead ID
Classic{!Contact.Email}{!Contact.Id}{!Lead.Email}{!Lead.Id}
Lightning{{{Contact.Email}}}{{{Contact.Id}}}{{{Lead.Email}}}{{{Lead.Id}}}

Important: Match the merge tag object type to the Salesforce object you’re targeting. If sending to Leads, use Lead merge tags. If sending to Contacts, use Contact merge tags. You cannot pass Contact email values to Lead fields or vice versa.

Analyze Survey Results

In Responsly

After collecting responses, navigate to the Analyze tab in your survey:

  • Overall Results: View aggregated statistics, charts, and over-time trends.
  • Individual Responses: Review each submission in detail.
  • Data Export: Download raw data as XLSX or CSV, or save reports as PDF.
  • Custom Reports: Create dedicated reports with tailored visualizations.

In Salesforce

Survey data synced to Salesforce appears in real time on each respondent’s profile:

  • Open the Contact, Lead, or relevant object record.
  • Check the Details tab for updated fields (e.g., NPS score, satisfaction rating, feedback text).
  • Build Salesforce Reports and Dashboards to visualize sentiment trends across your customer base.

Automate Survey Follow-ups in Salesforce with Workflow Rules

Set up Salesforce Workflow Rules to trigger actions based on survey responses:

  1. Navigate to Setup → Process Automation → Workflow Rules.
  2. Click New Rule and select the relevant object (e.g., Contact).
  3. Set the evaluation criteria (e.g., “NPS Score equals Detractor”).
  4. Add a Workflow Action — for example:
    • New Task: Assign a follow-up task to a team member.
    • Email Alert: Send an automated email to the account manager.
    • Field Update: Change the lead status or priority level.
  5. Activate the rule.

Send Salesforce Post-Close Surveys Automatically

Trigger a CSAT or CES survey automatically when a case or deal is closed:

  1. Create a Salesforce email template with the Responsly survey embedded (see Embed in Salesforce Email Templates above).
  2. In Setup → Process Automation → Workflow Rules, create a new rule.
  3. Select the object type (e.g., Case or Opportunity).
  4. Set the criteria: Status equals Closed (or your equivalent).
  5. Add an Email Alert workflow action using your survey template.
  6. Activate the rule.

Supported Salesforce Field Types

Responsly enforces basic type compatibility between your survey questions and Salesforce fields. The table below summarizes how common Salesforce field types map to Responsly questions and how values are sent:

Salesforce field typeExample Responsly question typesHow the value is sent / notes
Text / Textarea / String / Email / URL / PhoneText, Email, Number, Rating, CSAT, NPS, Yes/No, Multiple choice, Picture choice, Dropdown, Matrix, Sliders, Constant sum, Semantic differential, File upload, SignatureMost question types can be mapped to text‑based fields. Responsly converts the answer to a string; for multi‑select questions selected labels are joined with ;, matrix/complex answers are flattened into readable text.
Number / Integer / Double / CurrencyNumber, Rating, Opinion scale, CSAT, NPS, Number scale, SliderOnly numeric question types are offered for these fields. Responsly sends the numeric score (e.g. 0–10 for NPS, 1–5 for CSAT/rating).
Date / DateTimeDateResponsly converts the answer to YYYY-MM-DD. For DateTime fields Salesforce will treat this as a date‑only value.
BooleanYes/No, Legal consenttrue for a positive/accepted answer, false otherwise.
PicklistSingle‑select questions: Multiple choice (single), Picture choice (single), Dropdown (single), Yes/NoResponsly sends the selected label as text. The value must match one of the allowed picklist options in Salesforce.
Multi-picklistMulti‑select questions: Multiple choice (multi), Picture choice (multi), Dropdown (multi)Responsly sends all selected option labels joined with ;, which Salesforce interprets as a multi‑picklist value.
ReferenceHidden variables (e.g. contact_id, account_id) and advanced text mappingsUsed primarily for IDs of related records. Hidden variables such as contact_id or account_id hold the Salesforce record IDs that are used when updating existing records or setting up object relationships.

Tip: When creating custom fields in Salesforce for survey data, use the Text data type — it accepts data from any question type.

How Responsly formats field values for Salesforce

By default, Responsly sends the response content as the field value. The exact format depends on the question type and is handled automatically by the integration:

  • Single‑value questions (e.g. text, number, email) are sent as a single value.
  • Choice questions (single or multiple) are sent as the selected labels (multiple choices are joined with ;).
  • Date questions are converted to the YYYY-MM-DD format.
  • Matrix and other composite questions are flattened into readable text (rows, columns and values).

You do not need to configure additional per‑field mappings inside Responsly; make sure your target Salesforce field type can store the text/number you expect.

FAQ

New Salesforce fields not showing in Responsly?

Responsly caches field information. After creating new fields in Salesforce, reauthorize the integration from the Connect tab to force a refresh.

Can I connect multiple Responsly workspaces to one Salesforce instance?

Yes. Each Responsly workspace can be connected to the same Salesforce instance independently.

Can I use both Sandbox and Production environments?

You can connect to one Salesforce environment at a time per workspace. Switch between Sandbox and Production by reauthorizing the integration. If you have two workspaces, connect one to Sandbox and the other to Production.

Will the integration work with anonymous responses?

No. Survey responses must be tied to an identified respondent via hidden variables or a Contact Form question. Anonymous responses cannot be mapped to Salesforce records.

Can I send surveys through other tools (e.g., HubSpot, Intercom) and still sync with Salesforce?

Yes. As long as the respondent's email address matches their profile in Salesforce, responses collected via any distribution channel will update the correct Salesforce record.

Does the integration support Custom Objects in Salesforce?

Yes. Responsly can map responses to any Standard or Custom Object in Salesforce. Create custom fields within your Custom Object, then map survey questions to those fields in the integration settings.

The authorization pop-up isn't appearing - what should I do?

Enable pop-ups in your browser. Check the URL bar for a blocked pop-up notification, or adjust settings in Chrome, Firefox, Opera, Edge, or Safari.

Can I distribute surveys via Salesforce Live Agent (Chat)?

Currently, the supported methods are embedding the first question in an email body or sharing a direct survey link. For chat distribution, use a direct link survey.

What if the user who set up the integration leaves the organization?

Reauthorize the integration with another Salesforce account from the Connect tab to ensure uninterrupted operation.

Need help or have more questions?

Responsly platform helps us to manage customer satisfaction and communication within our organization.

Alicja Zborowska, Administration Specialist

Red bull
Bayer

We automated the product experience management process.

KraftHeinz

Managing customer experience is made easy with Responsly.

Danone

Our suppliers are surveyed quickly and efficiently.

Feel the Responsly advantage over other products

Talk to us!