Skip to content

Get started with nps.today for Salesforce

This page is the map for setting up nps.today for Salesforce. It lists what to do, in which order, and who usually does it: the nps.today user, who runs your surveys in nps.today, or the Salesforce admin.

When you are done, Salesforce sends surveys through nps.today, and the responses show up on your contacts, accounts and cases.

How it works

flowchart LR
    SF["<b>Salesforce</b><br/>flow, button or screen flow"]
    NPS["<b>nps.today</b><br/>campaign"]
    C(["<b>Customer</b>"])
    SF -- "1. survey request" --> NPS
    NPS -- "2. survey by email or SMS" --> C
    C -- "3. response" --> NPS
    NPS -. "4. synced every hour as<br/>NPS Response records" .-> SF
  • Salesforce decides who gets a survey and when. A flow, a button or a screen flow sends a survey request to a campaign in nps.today.
  • nps.today sends the survey with the design, language, channel and sender of the campaign, and collects the response.
  • The responses come back to Salesforce as NPS Response records, which a scheduled job syncs every hour. Charts, related lists, reports and flows use them from there.
Words used in these guides
Word Meaning
Campaign (nps.today) Where a survey is set up in nps.today: design, language, channel and sender. Identified by its campaign ID.
Campaign member (nps.today) One person who is sent a survey on an nps.today campaign.
Salesforce Campaign A marketing campaign in Salesforce, with Campaign Members. Not the same as an nps.today campaign. Some guides use it to pick who gets a survey.
Public ID Another ID of an nps.today campaign, used only by Salesforce Messaging.
Respondent The contact, lead or person account who gets the survey.
Responsible employee The Salesforce user who owns the follow-up of the response, e.g. the case owner.
Sender The person the survey email comes from.
What-Id The ID of the Salesforce record the survey is about, e.g. the case.
NPS Response A Salesforce record with one response, synced from nps.today.
NPS Error A Salesforce record that says why a survey wasn't sent.
Flow A Salesforce automation, built by the admin in Flow Builder.

Before you start

You need Who Where to find it
An nps.today subscription that includes the Salesforce integration nps.today user Ask your nps.today contact
A user in nps.today who can create API keys and campaigns nps.today user How to create an API key
A Salesforce user with the System Administrator profile Salesforce admin Setup → Users
Lightning Experience, a deployed My Domain and Lightning Web Security Salesforce admin See Install the package

Set it up, step by step

1. Agree how surveys are sent

Decided together.

Read Choose how to send surveys and agree on:

  • when a survey is sent, e.g. after every closed case, or to a list of customers once a year
  • who gets it: contacts, leads or person accounts
  • how many campaigns you need, e.g. one per country or language
  • who the survey comes from, and who follows up on the response
  • what Salesforce data you need on each respondent for further analysis in nps.today, Power BI or your own BI tool, e.g. segment, region or account owner, see Send Salesforce data with each survey

2. Prepare nps.today

Done by the nps.today user.

  1. Create the campaigns and note their campaign IDs. See Find your campaign ID.
  2. Create an API key for Salesforce. See How to create an API key.
  3. Decide how often one customer can get a survey:
    • More than once from the same campaign, e.g. after every closed case? Then allow duplicates on the campaign.
    • But not too often, e.g. at most one survey every 7 days? Then also switch on throttling. It applies across all campaigns that have throttling on. To throttle some campaigns separately, e.g. service and sales, put them in different throttling groups.
  4. Do the extra steps for the features you chose:

    If you use Also do this in nps.today
    Surveys sent on behalf of a Salesforce user, e.g. the account's CSM On the campaign's sender, leave Always use this sender unticked, or the campaign's sender is always used. See Sender.
    Embedded email surveys Switch on Block send outs on the campaign, or customers get two surveys.
    Salesforce Messaging Find the campaign's public ID, and design the survey texts, see Design your Messaging survey.
    P-GAP Create a P-GAP training session for the employees and the campaign. See Train your employees with P-GAP.
    The list view button Tell the users who send surveys which campaign ID to enter.
    Custom data Agree on the key names, e.g. segment, because each key becomes a column in exports and reports.
  5. Hand over to the Salesforce admin:

    • the API key, in a safe way, e.g. a password manager, not email
    • the campaign IDs, and which survey each is for
    • the public ID, for Messaging
    • the custom data keys and the Salesforce fields they come from
    • the email address you test with

3. Install and connect the package

Done by the Salesforce admin.

  1. Check which packages your org needs in Packages & versions.
  2. Follow Install the package: install, assign permission sets, add the API key and run the first sync.
  3. Using B2C Person Accounts? Also follow Person Accounts.

Sandbox first

Install and build in a Salesforce sandbox first, and test there. Then install in production, see step 7.

4. Build the way surveys are sent

Done by the Salesforce admin.

Follow the guide for each way you agreed in step 1, from Choose how to send surveys.

5. Show the feedback in Salesforce

Done by the Salesforce admin.

6. Test it end to end

Done together.

Test on a test campaign in nps.today, a copy of the real one, so test responses don't count in your real NPS score. To test more than once with the same contact, allow duplicates on the test campaign.

  1. The admin points the flow or button to the test campaign's ID, and sends a survey to a test contact with the nps.today user's email address.
  2. The nps.today user checks that the test contact is a campaign member on the test campaign in nps.today. If not, Salesforce didn't reach nps.today: the admin checks Troubleshooting.
  3. The nps.today user checks that the survey arrives, with the right design and sender, and answers it.
  4. After the next hourly sync, the admin checks that the response is in the NPS Responses related list on the test contact. To fetch it right away, click Full re-sync on the nps.today Admin tab.

7. Go live

  1. The admin installs the package in production and repeats the setup, or deploys the flows from the sandbox.
  2. The admin changes the campaign IDs from the test campaign to the real ones.
  3. The nps.today user watches the first surveys arrive in the real campaign.

Something not working? See Troubleshooting.

Optional features

Feature What it does Guide
Custom data Sends Salesforce data, e.g. segment or account owner, with each survey, so you can filter and report on it in nps.today Custom data
Embedded email surveys Puts the survey question inside an email that Salesforce sends Embedded email surveys
Salesforce Messaging Shows a survey when a Messaging session ends Salesforce Messaging
P-GAP Lets agents guess the customer's rating, to train how well they read customers P-GAP

Need help? Contact us at [email protected].