Skip to content

Troubleshooting and monitoring

Find your problem in the tables below. Each row says what to check, and links to the full explanation.

Start in nps.today

The nps.today user can tell in a minute on which side a problem is. Open the campaign in nps.today and look for the customer among its campaign members:

What you see in nps.today What it means Next step
The customer isn't a campaign member Salesforce didn't send the survey request, or nps.today refused it. The most common reason is that the customer already got a survey on this campaign, and the campaign doesn't allow duplicates. The Salesforce admin checks the NPS Error records, see Monitor the integration and Sending surveys.
The customer is a campaign member, but didn't get the survey Salesforce did its part. Check the campaign in nps.today: is it active, is Block send outs on, is the customer in a throttling period, and does the customer have an email address or phone number for the campaign's channel?
The customer answered, but the response isn't in Salesforce The sync hasn't run yet, or isn't scheduled. See Seeing responses in Salesforce.

Monitor the integration

Check these now and then, e.g. once a month, and always when something seems wrong:

What Where What you expect
The sync nps.today Admin tab → Sync job executions and Sync schedule The latest jobs have completed, and an hourly job is scheduled.
Background jobs Setup → Apex Jobs No failed jobs from the npstoday namespace.
NPS Error records A report or list view on NPS Error, or in the Developer Console → Query Editor:
SELECT Id, CreatedDate FROM npstoday__Error__c ORDER BY CreatedDate DESC
No new records. Each record holds the reason why a survey wasn't sent, and the Salesforce IDs of the respondents.

Where errors are logged

  • Send Surveys (nps.today) logs skipped records and failed requests as NPS Error records, and says how many in its Message output.
  • The deprecated Request NPS Ratings doesn't. A failed request only shows as a failed job under Apex Jobs.

Installing and connecting

Problem What to check
An error when you click Save on the nps.today Admin tab Your user has the System Administrator profile and the nps.today admin permission set.
The nps.today components aren't in Lightning App Builder My Domain is deployed. See Show feedback in Salesforce.
The charts are empty or don't render Lightning Web Security is on (Setup → Session Settings).
The sync fails, or syncs 0 responses The API key is in the Password of the nps.today Named Credential, all three Callout Options are ticked, and Endpoint Credentials is Production. See Connect to nps.today. Check that the API key still exists in nps.today.

Sending surveys

Problem What to check
Send Surveys (nps.today) isn't in the list of actions Update the package to the latest version, see Packages & versions.
Only admins can send surveys Your org has Restrict access to custom settings on. See the fix.
Too many SOQL queries: 101 The action is called inside a Loop element. Give it the whole collection instead. See Stay within Salesforce's limits.
Too many query rows: 50001 The list is too long for one transaction. Use a scheduled flow.
A contact didn't get a survey 1. The contact already got a survey on this campaign: allow duplicates on the campaign.
2. The contact has no email address or phone number.
3. Look for an NPS Error record with the contact's ID.
No survey when a case is closed The flow is active, its entry condition matches, and the case has a contact. The user who saved the case can read the contact. See Send from a record-triggered flow.
A scheduled flow sends nothing The Default Workflow User (Setup → Process Automation Settings) can read the records. The flow's conditions leave out records that were already surveyed, but not new ones.
The survey comes from the wrong sender The campaign's sender has Always use this sender ticked in nps.today, or the sender user has no email address. See Sender.
The survey has no responsible employee The record is owned by a queue. See Responsible employee.
Embedded email surveys aren't sent, or are sent twice See Embedded email surveys.
The list view button isn't shown See List view button.

Seeing responses in Salesforce

Problem What to check
A response is in nps.today, but not in Salesforce The sync runs every hour, so wait for the next run. Check that an hourly job is in Sync schedule, and that Sync From Date on the nps.today Admin tab isn't later than the response.
Responses aren't linked to contacts Sync Contacts is on, on the nps.today Admin tab. For B2C Person Accounts, see Person Accounts.
Responses aren't on the account Responses are linked to the contact. See Show responses on other records.
Users can't see the charts or responses The users have the nps.today viewer permission set.
The Messaging survey isn't shown See Trusted URLs in the Messaging guide.

Contact support

Still stuck? Contact [email protected] and include:

  • the version of the nps.today package (Setup → Installed Packages)
  • the campaign ID
  • the name of the flow, button or feature you use
  • the text of the error, or of the NPS Error record, and when it happened