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.

enable Survey

Step 3: Create a new Salesforce survey

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

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.

activate

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.

checkbox for surveys survey invitations and survey response

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.

Opportunity

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.

click on link and redirect to survey

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

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
Please Make Blog Banner How to Create an Agentforce Enabled Scratch Org in Salesforce 100 1

Setting up an Agentforce-enabled scratch org is the most important step for developers who want to experiment with AI features such as Prompt Builder and Einstein GPT. Whether you’re developing the next generation CRM software or experimenting with how generative AI may improve user experience, a scratch org equipped with Agentforce is your playground. Follow […]

Read More
Step-by-Step Guide to Enhance Your LWC Development Workflow with the Logger API

Are you looking to streamline your LWC development workflow but confused about how to do it? Then you are in the right place. The Salesforce Logger API is a powerful tool that helps you monitor, debug, and improve code quality in real time.  This step-by-step guide walks you through how to set it up and […]

Read More
Enhancing Your Salesforce Experience with a Custom Activity Component

In today’s fast-paced business landscape, productivity hinges on streamlined workflows and intuitive interfaces. While Salesforce offers robust activity tracking capabilities, sometimes the standard components fall short of specific organizational needs.  That’s where a Custom Activity Component comes in—designed to tailor your activity management experience, boost user efficiency, and provide deeper insights into customer interactions. In […]

Read More
Step-by-Step Guide to Integrating Salesforce Doc-Gen with eSigning Tools

In today’s fast-paced digital landscape, streamlining document workflows is no longer a luxury—it’s a necessity.  Integrating a document generation app, like Docs Made Easy, with an eSigning tool, helps businesses automate the entire document lifecycle—from creation to signature—saving time, reducing errors, and boosting productivity. In this guide, we’ll walk you through the key steps, tools, […]

Read More
How to Build a Real Time Chat Application Using LWC and Models API

The Models API plays a significant role in providing access to and facilitating interaction with large language models (LLMs) from various Salesforce partners such as Anthropic, Google, and OpenAI. It enables applications to leverage these models for various tasks, including text generation and other AI-powered capabilities. As a user, you can configure any Salesforce-enabled model […]

Read More
How to Integrate Salesforce Data Cloud with Amazon Redshift

Companies can finally connect Amazon Redshift to Salesforce Data Cloud without using the ordinary username & password authentication systems ever since its collaboration with AWS has happened. Business owners no longer have to be concerned about managing static credentials or breaching data security. By leveraging Salesforce IDP, companies can easily access their data lakehouse in […]

Read More
Our Location worldwide
Indian Flag India
3rd Floor, A-10, Pegasus Tower, Sector 68, Noida, Uttar Pradesh 201301 +91-1203117884
United States of America Flag USA
333 West Brown Deer Road Unit G – 366 Milwaukee WI, USA 53217 +1(262) 310-7818
United Kingdom Flag UK
7 Bell Yard, London, WC2A 2JR +44 20 3239 9428
Canada Canada
HIC Global Solutions INC
43 Lafferty Lane, Richmond Hill, L4C 3N8, CA +1(262) 310-7818