Loading...

Surveys are tools that help gather feedback and information from your users or customers. They’re made using an easy editor. Your organization’s system saves the data you gather from people who take the survey. With Salesforce, you can look at this survey data, make reports and visual dashboards, and share important findings with your company.

In this blog today, we will how to create a Salesforce survey and send surveys from Salesforce when an opportunity is Closed won. But before that, let’s take a look at the prerequisites and limitations to send surveys from Salesforce.

Prerequisite of Salesforce Survey:

  • Create a Community site in your Salesforce org.
  • Enable Salesforce Survey.
  • Select domain creation in the first step.

Limitations:

  • Each Salesforce org includes features upto 300 surveys.

How to create a Salesforce survey

Step 1: Create a Community site

First, create a Community site if you haven’t already already. Search All sites in the Quick Find box and then Create a new community site. For reference check the below screenshot.

create a Community site

Step 2: Enable Survey

In the Quick Find box, search Survey settings and then enable Survey under Survey Add Experience Cloud site, which we created in Step 1.

Step 3: Create a new Salesforce survey

Now, Click on App launcher, search Surveys, and then click on New to Create a new Survey.

Step 4: Customize the Salesforce survey

Click on “New” to create a Salesforce survey. Then, add a new page and customize it according to your requirements. if you add a rating to your Survey first click on add page then Click on Add Question and add a rating.

add Question and add rating

You can add multiple Questions to different Pages. Also, add logic to your Salesforce survey template. ex: Date, like or dislike, picklist Long text, etc.

Step 5: Activate the Survey

After Creating a Survey click on the top right corner to activate it.

Note: Assign permission to the guest user profile to see the Survey to the community user and customer to access the survey. a.) Open the guest user profile and check the checkbox for surveys, survey invitations, and survey responses.

After completing this step customer can access the survey and give feedback.

Create a flow to automate Survey upon opportunity closed won:

  1. In the Quick Find box, search Flow and click on new and then create a new record trigger flow.

new record trigger flow

2. Select object as “Opportunity” and All condition meet(AND) Opportunity stage as Closed won.

3. Create a new resource , select type variable give API name as select data type as text. In default value enter {!$Record.id}. Create a another resource for owner select variable and give API name and data type as text. in default value enter {!$Record.owner.id}. for reference check below screenshot.

type variable give API name

4. Add “Action” as survey. Survey action name same as survey which you have created in step 3.

Add “Action” as survey

5. Now, add an action to provide the survey subject, referencing the resource created above using {!$Record.id}. Also, specify the recipient type as ‘User’ or ‘Contact’

(Note: ‘User’ has already been added in the org, you may also consider adding ‘Contact’).

After that, select the checkbox for ‘Unique Link’ and ensure ‘Don’t Require Authentication‘ is checked

(Note: if you add contact then enable the “Don’t Require Authentication” checkbox).for reference check the below screenshot. If you click on the ‘Don’t Require Authentication’ checkbox, there is no need to authenticate to give feedback to the Salesforce Survey.)

Don't Require Authentication

Now, save and activate the flow.

Step 6: Add Survey Invitations and Responses

Now, go to Object Manager and search for ‘Opportunity.’ Under the Opportunity layout, click on ‘Related Lists’ and add ‘Survey Invitations’ and ‘Responses’.

search for 'Opportunity

Step 7: Create or update Opportunity and stage set as closed won. Survey send automatically to the recipient.

Create or update Opportunity
stage set as closed won

Step 8: Check if the survey has been successfully sent to the recipient’s email.

survey has been successfully sent

Step 9: Open this email and click on the link and redirect to the survey. For reference check the below Screenshot.

Step 10: Now, Open the Survey and complete it step by step.

Open the Survey
Open the Survey 2
Open the Survey 3

Step 11: After providing feedback successfully, the survey response status will be automatically marked as ‘Complete’.

survey response status

Salesforce Experts

Conclusion:

Salesforce Survey is a powerful tool that enables businesses to gather valuable feedback and insights from their customers. By leveraging customizable survey templates and intuitive design features, organizations can create and send surveys from Salesforce tailored to their specific needs and objectives. Through seamless integration with Salesforce CRM, surveys can be automatically triggered at key touchpoints in the customer journey, such as after an Opportunity is won or a support case is closed.

Hope you liked the blog. Stay tuned for more such Salesforce solutions and get in touch if you need help implementing these solutions in your business.

Related Articles

Sticky notes aren’t just for your desk anymore! In this tutorial, we’ll create a Lightning Web Component (LWC) in Salesforce that allows you to pin notes on your app page or record page. With a clean, interactive UI, these digital sticky notes ensure you never forget important tasks or details. What Will You Learn? By […]

Read More
How to Create Dynamic, Animated Charts in Salesforce LWC using Chart.js

Bring Salesforce data to life with dynamic charts inside Lightning pages! While Salesforce dashboards are powerful, sometimes business users want visual insights without leaving their current page. That’s where Chart.js with Lightning Web Components (LWC) becomes a game-changer. In this step-by-step guide, you’ll learn how to: Upload Chart.js as a static resource in Salesforce. Build […]

Read More
How to Encrypt and Decrypt Data in Salesforce Using Apex Crypto Class

Data security is more important than ever. Whether you’re storing customer information, sensitive business data, or private communication, ensuring that your data stays safe is critical. Salesforce provides built-in tools to help with this, and one of the most powerful yet easy-to-use approaches is encryption and decryption using the Apex Crypto class. In this blog, […]

Read More
Benefits & Step-by-Step Setup Guide for Salesforce Code Analyzer

When building on the Salesforce platform, code quality and security are non-negotiable, especially before submitting your app for a Salesforce Security Review. Catching bugs and vulnerabilities early not only saves time but also ensures compliance with Salesforce’s best practices. That’s where the Salesforce Code Analyzer comes in. This open-source tool scans your Apex classes, triggers, […]

Read More
A Step-by-Step Guide to Integrate Zoho CRM with Salesforce (Without Coding)

Managing data across multiple CRMs can be a real challenge for businesses that want a single source of truth. If your teams use Zoho CRM but want to move or sync all records seamlessly into Salesforce, you don’t need to write a single line of code. Thanks to MultiSync Made Easy, the integration process is […]

Read More
How to Integrate Salesforce with Copilot

Integrating Salesforce with Copilot is becoming an essential step for organizations aiming to streamline workflows, automate client data management, and unlock the power of AI-driven CRM. By connecting these two platforms, businesses can centralize customer information, reduce manual tasks, and accelerate growth. This guide walks you through the Salesforce–Copilot integration process with clear steps, Apex […]

Read More