Configuring the SurveySparrow Data Sync app inside Salesforce

Configuring the SurveySparrow Data Sync app inside Salesforce

Venkata

Venkata

September 15, 2025

Salesforce is one of the world’s leading CRM platforms, helping businesses manage customer relationships, sales, and support with ease. With the SurveySparrow Data Sync app, you can seamlessly connect the two platforms to make your feedback workflows more efficient. The app lets you set up survey triggers directly within Salesforce and map responses back into your Salesforce environment, so your teams always have the latest customer insights at their fingertips.

You might find this especially helpful when:

  • Sending automated post-purchase or post-interaction surveys to customers.
  • Collecting feedback after support tickets are closed and updating the customer’s Salesforce record instantly.
  • Capturing lead or contact insights directly from surveys to enrich your CRM data.

In this article, we’ll outline the steps to set up and utilize the Salesforce app, from start to finish. We’ll primarily cover:

Installing and setting up the SurveySparrow Data Sync App

1. Inside the Setup section in your Salesforce account, find the Apps section from the left-hand panel menu. Then click on AppExchange Marketplace from the drop-down options.Image
2. A pop-up appears to redirect you to the marketplace. Click on Go To AppExchange.Image

3. The marketplace opens up in a new tab. Use the search bar to find the SurveySparrow app, then open it when it appears in the results.Image

4. Inside the app listing page, click on Get It Now.Image

5. A pop-up appears, directing you to connect your Trailblazer account to complete the installation. Click Log In.Image

6. Inside the login screen, you can use your associated email or login with other accounts.Image
7. After logging in, you need to choose a Salesforce org to install the app. You can choose an org via a connected Salesforce account. Click on the drop-down to choose an account. Then click on Install in Production.Image

8. A final installation screen opens. If you’re satisfied, click on the terms and conditions checkbox, then click on Confirm and Install.Image

9. You are now taken to a Salesforce login screen. Type in your credentials and click Log In.Image
10. Now you must choose the installation configuration. The default option is Install for Admins, which provides access to Salesforce system administrators only. We recommend that you use it because the other two options have a limited success rate. Next, click Install.Image

11. A pop-up appears, asking for third-party access. Click on the check-box and then click Continue.Image

12. When the installation is complete, click Done.Image

13. Now, head back to the original tab. Click on the grid icon next to Setup to open the App Launcher.Image

14. Use the search box to find SurveySparrow, then click on it.Image

15. While the app is now present in your environment, you need to connect your SurveySparrow account. So click on Connect Now.Image

16. Type in your SurveySparrow account’s email address, then click Next.Image

Note: If you have multiple SurveySparrow accounts tied to the same email, you will need to select one.Image

17. Enter your password and click Log In.Image

18. An authorization screen appears. Click Authorize.Image

19. You are directed to another Salesforce login screen. Enter your credentials and click Log In.Image

20. Now your SurveySparrow app is ready to use.Image

Providing users access to the SurveySparrow app

The SurveySparrow app has two kinds of user permissions:

  • SurveySparrow Admins: These users can access the app, create/edit/delete triggers and mappings.
  • SurveySparrow Users: These users cannot access the app or create/modify triggers and mappings. However, they can perform trigger actions to deploy surveys. Users without this permission level will receive an error message if they attempt to perform the trigger action.

Let’s understand this with an example: an organization that uses Salesforce as their CRM. The revenue operations team gets SurveySparrow Admin permissions. They create a trigger to send surveys to new customers if the corresponding Opportunity in Salesforce is marked as a Deal. The field sales team gets SurveySparrow User permissions - whenever they close a deal and mark it on Salesforce, the customer receives a survey. 

When the app is installed as described earlier, only system administrators get SurveySparrow Admin permissions. But if you would like to give other users this permission (or SurveySparrow User permissions), follow the steps below:

1. From the Salesforce Setup Menu, search for Permission Sets under the Users section in the left hand panel.Image

2. The entire list of permission sets opens up. Click on S in the alphabet gallery.Image
3. From the list of S-lettered permissions, click on SurveySparrow Admin or SurveySparrow User. For this article, we’ll click on SurveySparrow Admin (however the next steps are identical for both permissions).Image

4. Click on Manage Assignments.Image

5. Next, click Add Assignment.Image

6. A full list of users appears. If you wish to select a user, click on the checkbox to the left of their name. Once you’ve selected all the users you want to provide permissions to, click Next.Image

7. Finally, click Assign.Image

Creating survey triggers in the SurveySparrow Data Sync app

Salesforce allows you to create automations in its Flow Builder. You can create different types of survey triggers. For the purpose of this article, we will only focus on record-triggered flows, which act when the records tied to an object undergo some type of modification (new, updated or deleted).

1. Head to the Triggers section inside the SurveySparrow app and click Create New.Image

Note: Previously users could also use the Survey Runners section to create triggers. However, this functionality is deprecated and will be removed soon. Currently, users can still use the existing survey runners, but cannot add new survey runners. Therefore, it is recommended that users migrate to the Triggers section.Image

2. Click on the tile for Record-Triggered Flow.Image

3. Salesforce’s Flow Builder opens up. You need to first define the trigger object. Use the search field under Object to choose one.Image

4. Next, choose the exact nature of the trigger under the Configure Trigger section.Image

5. After that, you need to set specific entry conditions for the trigger. Click on the drop-down menu under Condition Requirements and choose a setting.Image

6. Following this, you need to define the condition. The fields to fill will differ based on the setting chosen. In this case, we need to set the field, operator and value.Image

Note: If you’ve chosen to trigger surveys when a record is updated, there is an additional setting to clarify the flow. You can choose to trigger surveys every time a record meeting the requirements is updated, or only when the record is updated to meet the requirements.

7. If you are satisfied with the trigger conditions, click on the plus icon in the visual layout to define the action.Image

8. Here, you must search and select the SurveySparrow Trigger Setup element.Image

9. Now, you need to configure the element. Start with the Label and API names, and then proceed to the survey share setup.Image

Note: The default share mode in the app is Instant Share. If you wish to try the TriggerHub Share mode, reach out to customer support.

10. First select the survey that you want to share from the drop-down menu under Choose Survey.Image

11. Then set an object - it should be the same object that was used to define the trigger conditions. Click on the drop-down menu under Choose Source Object to select it.Image

12. Select a share channel for the survey, by clicking on the drop-down menu under Choose Share Channel. A list of existing shares appears.Image

Note: The app supports SMS, Email and WhatsApp shares.

13. Choose the recipient data type from the drop-down menu under Choose Recipient.Image
14. You can also add variables to the trigger by clicking on the drop-down under Choose Variables. Variables help you capture additional respondent attributes for deeper analysis and segmentation.

Image

15. After setting up the Trigger Setup element, click on the plus icon below it. Search for and select the SurveySparrow Trigger Execute element.ImageImage

Note: The difference between these two elements (Trigger Setup and Trigger Execute) is that the first element stores the configuration details and passes it to the second to actually carry out the trigger.

16. Start by entering the Label and API Name.Image

17. Next, you must choose the Object Record ID and Trigger Setup Result from their respective drop-down menus.ImageImage

18. Then click on Save.Image

19. To save the flow, provide a Label and API name for the flow. Then click Save.Image

20. Now the trigger is ready, but it isn’t in action. To activate it, click on the Activate button.Image

21. To activate the trigger, you can also head to the Triggers section. Then click on the toggle under the Status column.Image
22. Then click on Activate.

Image

Creating response mapping in the SurveySparrow Data Sync app

The process of response mapping the Data Sync App is fairly straightforward. But unlike the triggers feature, there is a long setup process to enable the response mapping feature. It involves setting up a Salesforce site and webhooks. We’ll cover the process end-to-end here.

Note: If you do not set up the Salesforce site and head straight to the Mapping section, you will see this screen.Image
1. In your Salesforce account’s Setup section, click on Sites under Sites and Domains in the left-hand panel.Image

2. Click on the checkbox for Terms of Use and click Register My Salesforce Site Domain.Image

3. A confirmation pop-up appears at the top. Click OK.Image

4. Now that the domain is live, you can create a site. Click on New at the bottom of the page.Image

5. Enter a Site Label and Site Name.Image

6. Next, click on the magnifying glass icon next to Active Site Home Page.Image

7. Another tab opens with a list of Visualforce pages. Click on any item under the Name column.Image

8. You are returned to the original tab. Now, click Save.Image

9. Head back to the setup section, then navigate to the Sites section. Click on WebHookSite under Site Label.Image

10. Another tab opens. Click on Public Access Settings.Image
11. Click on Enabled Apex Class Access.Image

12. You are then taken to the page section for the same. Click Edit.Image

13. Scroll through the list of available Apex classes till you see SVSP.WebhookResponseHandleClass. Select it, then click on the right-pointing arrow under Add.Image

14. Click Save.Image

15. You are returned back to the Sites section. Find the Custom Settings option from the left-hand panel and click on it.Image

16. Inside the Custom Settings section, click on Manage under the Action column.Image

17. Click on Edit.Image

18. Copy the URL of the site you created and paste it in the field for Webhook Site URL. Then click Save.Image

19. Open the SurveySparrow app and head to the Mappings section. Then click Create New.Image

20. Start by selecting the object and survey from which responses must be mapped.ImageImage

21. Then select the Mapping Type. There are two options: creating a new record or updating the existing record.ImageNote: If you choose Update an existing entry as your mapping type, an Id field opens up. The items in this field are essentially variables created for the survey inside your SurveySparrow account.Image

22. Now, after the mapping is defined, you need to choose the survey data types that are mapped. Click on Add another.Image

23. You need to select the data type, the SurveySparrow field and the Salesforce field to which it gets mapped. You can also add a default value to populate the mapping in cases of null values.ImageImageImageImage

24. After adding the necessary data types, click Save.Image

25. Enter a name for the mapping, then click Save.Image

26. You are then taken to the Mappings section, where you can see all the mappings that are created. Here you can edit the mapping, deactivate it, delete it or add another one.Image

Accessing the Logs section in the SurveySparrow Data Sync app

If there are any issues with the SurveySparrow Data Sync app, you can visit the Logs section to understand the root cause and start debugging. The Logs section captures records of any activities (triggers or mappings) that occur in the app. However, note the following:

  • The Logs section is not enabled by default, users must enable it manually (steps below).
  • The Logs section only captures records of activities that occur after it’s enabled. Therefore if you disable it temporarily and enable it back again, activities that occurred in the interim will not be captured.
  • The Logs section only captures the 200 most recent records. Any records older than that will be deleted.

Now, let’s go through the process of enabling it.

1. Inside the Salesforce app, open Custom Settings.Image

2. When you reach the Custom Settings section, click on Manage under Action.Image

3. Then click on Edit.Image

4. Click the check-box next to Enable Logs, then click on Save.Image

5. Now head to the SurveySparrow app and click on the Logs tab. You’ll see a list of records. If you wish to inspect a record, click on the corresponding entry under the Integration Tracking Name column.Image

6. Inside, you’ll get to see all the related details, including the error message.Image

And that’s how you can set up and use the SurveySparrow Data Sync app to streamline your surveys and feedback in Salesforce. Whether it’s automating survey sends or mapping responses to keep your CRM up to date, it’s now easier than ever to put customer insights into action. 

Feel free to reach out to our community, if you have any questions!

Frequently Asked Questions

1. How many Salesforce orgs can be simultaneously connected to a single SurveySparrow account?

The SurveySparrow app currently allows one production org and one sandbox org to be simultaneously connected to a single SurveySparrow account.

If a user wishes to connect to a different sandbox org, they must first disconnect the SurveySparrow account from the current sandbox org.
 

2. Why should we use Salesforce Sites in the package? How secure is it?

Salesforce Sites are a simpler solution to implement webhooks in Salesforce as opposed to Connected Apps, which require complex authentication flows and logins (unnecessary for basic data submission).

When using Salesforce Sites, any time a survey response is submitted, the data is sent to Salesforce via a public Site URL. This response is used to:

  • Create records in the package’s response object.
  • Update or create Salesforce records as configured in the Mappings tab.

However, this does not compromise data security, and there are two reasons:

  • The Site URL only provides access to a specific Apex class configured during setup.
  • The Apex REST resource implements a custom token verification process to ensure security.
     

3. Can we use Experience Cloud (Community) sites instead of Salesforce Sites?

Yes, you can use Experience Cloud sites. Just ensure that the URL provided is publicly accessible and does not require login.
 

4. Why are there two SurveySparrow trigger actions in the Flow builder? Can the trigger support complex use cases? 

To create a trigger, there are two Flow actions that must be configured:

  1. SurveySparrow Trigger Setup
    This action determines:
    • Which survey to send
    • Which source object
    • Which survey distribution channel (eg: Email)
    • Which recipient data type to use
    • Which fields to pass as survey variables
       
  2. SurveySparrow Trigger Execute
    This action deploys the survey using:
    • Result (output from the Trigger Setup action above)
    • Object Record Id (record ID of the selected object)

Let’s explore some use cases with varying complexity:

Simple: The customer support team at a SaaS firm sends CSAT surveys to the customer's email addresses via SurveySparrow, after a case is resolved. They wish to automate this process, so that the survey is sent right as the agent marks the case as ‘closed’ in Salesforce. Using the SurveySparrow app, they build a trigger in the following manner: 

  • Create a record-triggered flow with the Case object.
  • Use the Trigger Setup action to select a CSAT survey, Case object, Email channel, and ContactEmail as the recipient data type.
  • Use Trigger Execute with the triggering Case record ID.

Complex: At a commercial real estate firm, the sales manager handles high-value property sales. Every time a deal is closed, he sends a post-purchase survey to each key stakeholder involved: investors, legal, property managers, etc. He wants to automate this process, such that the survey is deployed to all the stakeholders as soon as the Opportunity Stage is changed to Closed Won. Using the SurveySparrow, he builds a trigger in the following manner :

  • Create a record-triggered flow on Opportunity.
  • Get all related OpportunityContactRoles.
  • Loop through the records and place the Trigger Setup and Trigger Execute actions inside the loop.
  • Inside the Trigger Setup action, configure the OpportunityContactRole, select Contact.Email as the recipient.
  • Execute using the OpportunityContactRole ID.

As you can see, both actions support multi-level field selection and are compatible with different kinds of flows - making them apt for extensive and complex use cases.

5. Can we use the SurveySparrow Trigger Setup and Execute actions multiple times in a single Flow?

Yes, you can, if the flow is a record-triggered flow or a non-scheduled path. But in scheduled-triggered flows, only one Trigger Setup and Trigger Execute pair is allowed, due to Salesforce governor limits.

6. After upgrading the SurveySparrow app, the new tabs/flow actions are missing. Why did it happen and how do I fix it?

When the app is upgraded, new tabs/flow actions might not appear due to browser/session caching. To fix this, follow these steps:

  • Clear your browser cache and refresh the app.
  • Navigate to Salesforce Setup, search for Session Settings, and uncheck the option titled Enable secure and persistent browser caching to improve performance. Then check the app again to see if the new features appear.

7. Why am I unable to connect to my SurveySparrow account after upgrading the app?

After an upgrade, the Remote Site URLs may have been removed. To resolve this:

Powered By SparrowDesk