Use this guide to save the answers of a survey into Salesforce fields, for example a score on a Case or a Contact. For admins.
Before you start
- Publish the survey and send it. See Send a survey and Automated survey invitations with flows.
- Create the Salesforce fields that will receive the answers, for example a number field on Case for a rating. InPoll does not create objects or fields for you.
- You need the InPoll Admin Permissions permission set. Without it, the Save button and the On/Off switch are greyed out.
How it works
When someone submits the survey, InPoll can create or update one Salesforce record with their answers. You choose which record and which fields. Write-back is Off until you switch it On.
InPoll writes in the background, within a short time after the answer arrives. It does not use the respondent's access, so the respondent needs no permissions on the record.
Open Response Mapping
- Open InPoll and go to the Surveys tab.
- Click the survey.
- Click Response Mapping in the top bar.
The screen has two cards. Write answers to Salesforce is where you set things up. Sync log shows what InPoll wrote. See Check the sync log and retry.

Set up write-back
- Under 1. What should happen with each response?, choose one option. The next section explains them.
- Under 2. Which object?, choose the object that gets the answers, for example Case.
- Under 3. Put answers into fields, choose a field for each question you want to save. Leave Not written for the others.
- Optional: under 4. Also fill these fields, click Add a field to link the record to the person or Case, or to store the score.

- Click Save. InPoll confirms, for example "Saved. New responses will be written to Case."
- Switch Write answers to Salesforce to On.
You can also switch it On before the first Save. InPoll then reminds you to choose fields and click Save, and keeps the switch with the mapping. After the first Save, the switch takes effect at once and InPoll says "Writing to Salesforce is on." or "Writing to Salesforce is off."
Choose what happens with each response
Option | What InPoll does | Works for |
|---|---|---|
Create a new record | Creates a new record of the chosen object for each response, for example a Feedback record or a follow-up Task. | Every response, including answers from the public link. |
Update the record the survey was about | Updates the record the invitation was about, for example the Case that was closed. | Only answers from an invitation that was sent for a record. A Flow with Send InPoll Survey does this when you give it a Related Record Id. |
Update the person who answered | Updates the Contact or Lead the invitation was sent to. | Only answers from an invitation sent to a Contact or Lead. Not for the public link, a User or a pasted email address. |
If an answer cannot be written because it does not fit the choice, for example a public-link answer with Update the record the survey was about, the sync log shows Failed and says why.
The respondent can never choose the record
InPoll takes the record to update from the invitation it created, never from an answer or from the survey link. A respondent cannot point InPoll at someone else's record.
- Answers from the public link can only create new records.
- Answers never go into lookup, Id, formula, address or other read-only fields.
- The values in part 4 are filled by InPoll. Respondents cannot change them.
- Earlier versions of InPoll could find a record by matching an answer. That option is gone.
Choose the object
The list shows only objects InPoll may write to and where you can create records: Account, Asset, Campaign, Case, Contact, Contract, Lead, Opportunity, Task, and your own custom objects. InPoll's own objects and custom settings are not listed.
- Objects are shown by label. For a custom object, the API name is added in brackets when it differs from the label.
- With Update the person who answered, only Contact and Lead are listed.
- With Create a new record, InPoll lists the required fields of the object under the list, for example "To create a record, fill the required fields: ...". Put an answer, a fixed value or a value from part 4 into each one, or Salesforce rejects the new record.
Put answers into fields
Each question of the survey is listed in order, with its number. Hidden questions are marked (hidden). Page breaks are not listed.
A field list shows only fields that can hold the answer of that question type. Each entry looks like "CSAT · Number": the field label, a dot and the field type. Read-only, formula and auto-number fields are never listed. See Field types for write-back.
- Not written means the answer is not saved.
- An empty answer is skipped. It does not erase what is already in the field.
Add a missing field
- Under the field lists, click Create it in Object Manager. The Fields & Relationships page of the object opens in a new tab.
- Create the field there. Make sure you can edit it.
- Go back to Response Mapping and click refresh the field list. InPoll keeps the choices you already made and shows "Field list refreshed."
Fill more fields (optional)
Part 4 lets InPoll fill fields with its own values. This is how a new record gets linked to the Contact, Case or Account, or how you store the score.
- Click Add a field.
- In Value, choose what InPoll should put in the field.
- In Field, choose the field. Only fields that fit the value are listed.
- To remove a row, click the remove button at its end.
Value | What InPoll writes | Fits fields of type |
|---|---|---|
Contact who answered | The Contact the invitation was sent to. | Lookup to Contact |
Lead who answered | The Lead the invitation was sent to. | Lookup to Lead |
Case the survey was about | The Case of the invitation. | Lookup to Case |
Account | The Account of the invitation, for example the Account of the Case. | Lookup to Account |
Record the survey was about | The record the invitation was about, whatever its object. | Any lookup |
This survey response | The InPoll response record. | Lookup to Survey Response |
This survey | The survey. | Lookup to Survey |
Respondent email | The email address the invitation went to. Empty for the public link. | Text, Long text, Email, Picklist |
Date submitted | When the response was submitted. | Date, Date/time, Text |
CSAT score | The CSAT score of the response. | Number, Percent, Text |
NPS score | The NPS score of the response. | Number, Percent, Text |
NPS category | Promoter, Passive or Detractor. | Text, Long text, Email, Picklist |
If the invitation has no value for the choice, for example no Case, InPoll leaves that field alone.
Write a fixed value
To put the same text into a field for every response, use Fixed value at the bottom of part 4. This is useful for a required field that no question fills, for example a Subject.
- In Fixed value: field, choose the field.
- In Value, type the text. It can be up to 255 characters.
Good to know
- A survey has one mapping. Saving again replaces the previous one.
- A new record is owned by the owner of the survey, when the object has an owner.
- Validation rules and required fields of your org still apply. If Salesforce rejects a record, the sync log shows Failed and the reason.
- InPoll needs at least one question or value mapped. Otherwise Save says "Map at least one question or value to a field."
- Test your setup with one answer before you send the survey to customers. See Check the answers written to Salesforce.
