Skip to content

Send a survey from a contact (button)

Add a button to the contact page, so users can send a survey to that contact with one click, e.g. after a meeting or a delivery. The button opens the flow Request NPS Rating for Contact, which comes with the nps.today package. The user picks the campaign and sends.

Manual send-out from a contact

Before you start

  • The nps.today package is installed and connected, see Install the package.
  • The users who send surveys have the nps.today requester permission set, see Assign permission sets.
  • Optional: set a Default NPS Campaign Id on the nps.today Admin tab. That campaign is preselected when the user clicks the button. See Configure the package.

Step 1: Create the action

  1. Go to Setup → Object Manager → Contact → Buttons, Links, and Actions.
  2. Click New Action.

    New action

  3. Fill in the action:

    Action Type: Flow
    Flow: Request NPS Rating for Contact
    Standard Label Type: --None--
    Label: e.g. Request NPS Rating
    Name: e.g. Request_NPS_Rating

    Button setup

  4. Click Save.

Step 2: Add the button to the contact page

  1. Go to Setup → Object Manager → Contact → Page Layouts, and open the layout your users use, e.g. Contact Layout.
  2. Click Mobile & Lightning Actions in the palette at the top.
  3. Drag Request NPS Rating into the Salesforce Mobile and Lightning Experience Actions section.

    Drag the button to the layout

  4. Click Save. Repeat for other contact layouts.

Lightning page with Dynamic Actions?

If the contact's Lightning page uses Dynamic Actions, add the action in Lightning App Builder instead: select the highlights panel, click Add Action, and choose Request NPS Rating.

Step 3: Test it

  1. Open a test contact with your own email address.
  2. Click Request NPS Rating.

    The button on the contact page

  3. Choose the campaign and send.

  4. Check that the survey arrives in your inbox.

No survey?

By default, nps.today sends one survey per contact per campaign. If you already sent to the test contact, allow duplicates on the campaign or use another contact. More causes are in Troubleshooting.