We’re Heading to CNX ’25. Let's Meet in Chicago! Join HIC at Salesforce Connections'25 for conversations, collaboration, and co-creation.

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
Expert Guide On Utilizing Agentforce for Seamless Quote & Case Creation

When it comes to managing customer journeys in Salesforce, speed and accuracy matter. That’s where Agentforce, a powerful extension layer, comes into play. Whether spinning up a new quote from an opportunity or logging a support case from a contact, Agentforce can help streamline these actions with minimal clicks and maximum context. In this blog, […]

Read More
How to Use Platform Events in Salesforce Flow for Real Time Updates

Platform events in Salesforce Flow are a great tool for creating real-time, event-driven apps that automate business operations with precision and speed. By integrating Platform Events’ publish-subscribe approach with Salesforce Flow‘s low-code features, you can automate processes, allow real-time system interaction, and optimize how your organization manages dynamic data changes. This guide will demonstrate how […]

Read More
Build a Dynamic Salesforce Data Viewer with hange kardo bas LWC

Lightning Web Components (LWC) is a modern JavaScript framework that is used for building responsive, dynamic applications on the Salesforce platform. In LWC, data flows from parent-to-child component. Variables marked as @api in the child component are open for a parent to pass values directly into the child’s HTML template, making the component interactable. To […]

Read More
Expert Guide On Nominal XIRR Calculation Using LWC in Salesforce

When building financial tools within Salesforce, handling irregular cash flows with precision is a must. Whether you’re developing investment trackers, portfolio performance dashboards, or funding monitors, calculating Nominal XIRR (Extended Internal Rate of Return) becomes essential. In this blog, you’ll learn how to build a Lightning Web Component (LWC) in Salesforce that calculates Nominal XIRR […]

Read More
Beginners Guide to Making Your LWC Component Multilingual

If you’re wondering how to make your LWC component multilingual, you’re already ahead of the curve. Global users expect content in their native language, and Salesforce gives you the tools to deliver exactly that. With Custom Labels and the Translation Workbench, you can easily localize your Lightning Web Components without touching a single line of […]

Read More
Hands-On Guide Building a Drag-and-Drop Form Builder Using Lightning Web Components

Drag-and-drop interfaces are a user experience staple, and when paired with the power of Lightning Web Components (LWC), they unlock dynamic, highly interactive Salesforce components. In this blog post, we’ll walk you through how to build a custom drag-and-drop form builder in LWC. Users can drag form fields like text inputs and dropdowns into a […]

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
6D - 7398 Yonge St #1124 Thornhill, ON L4J 8J2 Canada +1(262) 310-7818