top of page
Inpoll Logo

Category

Send Survey
Related Articles

Send Survey

Last Modify: 

6 Aug 2024

The "Send Survey" page is used to process and send surveys to the specified email addresses. The user needs to specify the email field of the selected object and set the trigger condition on which the trigger will be fired. When the trigger is fired, the survey will be sent to the customer, who can then complete and submit the survey.

Additionally, the "Send Survey" page is used to map the survey with a Salesforce object, and the survey responses are stored in the specified Salesforce object. This allows for the survey data to be easily integrated with other Salesforce data and used for analysis and reporting.

It's important to note that the "Send Survey" page is only visible when the status of the survey is Publishedotherwise, it will be hidden. This is to ensure that only active and approved surveys can be sent to customers.


Sending the Survey Through the Generated Link

            

  1. Create a new survey.

  2. Publish the survey.

  3. Click on the Send Survey tab.

  4. Select any Salesforce object button.

  5. Click on the Create New button.

  6. Click the Generate link tab.

  7. (Optional) Select Options to Auto Answer Questions.

  8. Copy Generate link.

  9. Send a link to the user to attend the survey.



Generate survey attend link using trigger image

Sending a Survey to Users Through a Trigger

Follow these steps to send a survey to the user through the trigger:

  1. Create a new survey.

  2. Publish the survey.

  3. Click on the Send Survey Tab.


After the Send Survey tab opens, you may receive a warning message stating that "Named credential is not attached or authentication settings may not be set."


Authentication Options for Deploying Triggers and Creating Custom Objects

You have two options for authentication when deploying triggers or creating new custom objects and custom fields to map survey responses:


  1. Session ID Authentication:

    • Users can opt to use the logged-in user's session ID as the authentication key.

    • This approach simplifies the setup, as the necessary authentication is already in place.

    • To use this method, obtain the user's consent to utilize their session ID for authentication.


  2. Connected App, Auth. Provider, and Named Credential:

    • If the user prefers not to use the session ID, we will need to create a connected app, an authentication provider, and a named credential.

    • Connected App: This app is used to handle the authentication and provide access to Salesforce.

    • Auth. Provider: An authentication provider is set up to manage the OAuth 2.0 authentication process.

    • Named Credential: This is used to store the authentication details securely and facilitate the connection to external systems.


For detailed instructions on setting up a connected app, authentication provider, and named credentials, click on this link.


Resolving the Warning Message

Follow these steps to resolve the issue:


  1. Click on the Go to Settings button.

  2. Navigate to the Advance Mapping/Distribution Configuration section.

  3. For a quick setup, select the "I agree to allow you to use Session ID" option. The recommended method from Salesforce, however, is to set it up using a named credential.


Now you won't get the error message.


Continue Setting Up the Survey Trigger

  1. Now go back to that survey.

  2. Select Any Salesforce Object.

  3. Click on the Create New Button.

  4. Create a New Trigger.

  5. Go to the specified Salesforce Object (e.g., Account).

  6. Add a New Account.

  7. Enter the email ID in the user email field of the Account and provide any trigger condition values, if there are any conditions to fire the trigger.


Book a free demo session

Customers transforms their business with InPoll.

bottom of page