Skip to content

Send surveys from a list view (button)

Add a Send NPS Requests button to the contact list views, so users can tick contacts in a list and send them a survey in one go. The button opens a page from the nps.today package, where the user enters the campaign ID, checks the recipients and confirms.

The button on the contact list view

For other ways to send to many contacts, e.g. all members of a Salesforce campaign or a nightly list, see Choose how to send surveys.

Before you start

  • The nps.today package is installed and connected, see Install the package.
  • A campaign in nps.today and its campaign ID.
  • You can edit the Contact object in Object Manager.

Step 1: Give users access

Assign the permission sets nps.today requester and nps.today mass requester to the users who send surveys, see Assign permission sets.

Step 2: Create the list button

  1. Go to Setup → Object Manager → Contact → Buttons, Links, and Actions.
  2. Click New Button or Link and fill it in:

    Label: Send NPS Requests
    Name: Send_NPS_Requests
    Display Type: List Button, with Display Checkboxes (for Multi-Record Selection) ticked
    Content Source: Visualforce Page
    Content: npstoday__RequestRatingsFromContactsList

  3. Click Save.

List button setup

Step 3: Add the button to the list view

  1. In Object Manager → Contact, click List View Button Layout.
  2. Click the arrow next to List View and choose Edit.
  3. Under Custom Buttons, move Send NPS Requests to Selected Buttons.
  4. Click Save.

The button on the list view layout

Step 4: Test it

  1. Open the Contacts tab and a list view, e.g. My Contacts, with a test contact that has your own email address.
  2. Tick the test contact and click Send NPS Requests.
  3. Enter the campaign ID from nps.today. The campaign decides the survey's design, language and settings.
  4. Check that the table at the bottom of the page shows the contact with its email address, and click Confirm.

    Ready to send Surveys sent

  5. Check that the survey arrives.

Your users send surveys the same way.

Troubleshooting

Problem What to check
The button isn't shown Buttons aren't shown on the Recently Viewed list. Switch to another list view, e.g. All Contacts or My Contacts.
The recipient table is empty Tick the contacts before clicking the button.
The surveys aren't sent The campaign ID is right and the campaign is active in nps.today. The user has both permission sets.
A contact didn't get a survey The contact has an email address or phone number. By default, nps.today sends one survey per contact per campaign: allow duplicates to send again.

More is in Troubleshooting.