Source: https://vaultcrmhelp.veeva.com/doc/Content/CRM_topics/Surveys/Creating/SurveysinApprovedEmail.htm

## Using Approved Email for Surveys

Surveys can be sent to survey targets using Approved Email. These surveys display to recipients as links embedded in the email that launch a survey in a Veeva-hosted page, enabling customers to expand their reach and not rely on face-to-face meetings to conduct a survey.

One-time and recurring surveys for accounts can be sent via Approved Email.

**Who can use this feature?**

* Survey Designers — Browser
* [Preparing Surveys for Approved Email](#Preparing)
* [Displaying a Survey from an Approved Email](#Displaying)
* [Notifications and Errors](#Notifications)
* Users require an Approved Email license

### Configuring Surveys in Approved Email for

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)Approved Email Integration Users](#)

The Approved Email Integration User is used to authenticate the PromoMats / MedComms - Vault CRM integration.

To configure this feature:

1. Ensure [Configuring Surveys](../SurveysInitalConfig.htm)  is complete.
2. Grant the following permissions:

   | Object | Object Permission | Object Types | Fields | Field Permission |
   | --- | --- | --- | --- | --- |
   | survey\_\_v | R | n/a | * external\_id\_\_v | Edit |
   | approved\_document\_\_v | CRED | n/a | * survey\_\_v | Edit |
3. Select the **Compare CRM to Vault** button on the Approved Email Field Mapping page.

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)Approved Email Admin Users](#)

To configure this feature:

1. Ensure [Configuring Surveys](../SurveysInitalConfig.htm)  is complete.
2. Grant the following permissions:

   | Object | Object Permission | Object Types | Fields | Field Permission |
   | --- | --- | --- | --- | --- |
   | survey\_\_v | R | n/a | * external\_id\_\_v | Edit |
   | approved\_document\_\_v | CRED | n/a | * survey\_\_v | Edit |

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)Survey Integration Users](#)

The Survey Integration User is used to retrieve and submit survey data when a survey is taken by an HCP.

To configure this feature:

1. Ensure [Configuring Surveys](../SurveysInitalConfig.htm)  is complete.
2. Grant the following permissions:

   | Object | Object Permission | Object Types | Fields | Field Permission |
   | --- | --- | --- | --- | --- |
   | question\_response\_\_v | CRED | approved\_email\_\_v | * All fields | Edit |
   | approved\_document\_\_v | CRED | n/a | * survey\_\_v | Edit |
   | survey\_target\_\_v | n/a | n/a | * sent\_email\_\_v | Edit |
   | message\_\_v | n/a | n/a | * message\_language\_\_v | Read |
3. Create a **user\_territory\_\_v** record for the survey integration user and assign the integration user to the root territory.
4. Ensure the survey integration user has the correct visibility permissions to all survey records that will be sent using Approved Email.

#### Defining a Survey Integration User in Vault CRM Credential Management

The Vault CRM Credential Management section of the Survey Administration page enables admins to define the survey integration user whose credentials are used to create the survey response records.

To define the integration user:

1. Navigate to **Survey Administration tab > Vault CRM Credential Management**.
2. Select **Edit** to access the credential fields for the survey integration user.
3. Enter the credentials for the survey integration user.
4. Select **Save**.

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)Survey Designers](#)

To configure this feature:

1. Ensure [Configuring Surveys](../SurveysInitalConfig.htm)  is complete.
2. Grant the following permissions:

   | Object | Object Permission | Object Types | Fields | Field Permission |
   | --- | --- | --- | --- | --- |
   | question\_response\_\_v | CRED | approved\_email\_\_v | * All fields | Edit |
   | approved\_document\_\_v | CRED | n/a | * survey\_\_v | Edit |
   | survey\_target\_\_v | n/a | n/a | * sent\_email\_\_v | Edit |
3. Verify the survey designer is granted at least Read permission for **Survey Administration** in the Survey Administration permission set.

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)End Users](#)

To configure this feature:

1. Ensure [Configuring Surveys](../SurveysInitalConfig.htm)  is complete.
2. Grant read permission to the **survey\_\_v** field on the approved\_document\_\_v object.

### Using Surveys in Approved Email as

[![Closed](../../../../Skins/Default/Stylesheets/Images/transparent.gif)Survey Designers](#)

#### Preparing Surveys for Approved Email

Survey designers can [sync metadata](../../Getting_Started/CRMMetadataIntegration.htm) for surveys between PromoMats / MedComms and Vault CRM to make those surveys available via Approved Email.

Survey designers can also manually prepare a survey for integration with Approved Email by creating the necessary records in Vault CRM and in PromoMats / MedComms.

In Vault CRM, select Approved Email as a channel when creating a new survey.

In PromoMats / MedComms:

1. Create a corresponding survey record in the **survey\_\_v** object.
2. Ensure the External ID value matches the **external\_id\_\_v** field value of the survey in Vault CRM on the survey\_\_v object.
3. Associate the survey to the Approved Document using the **crm\_survey1\_\_v** field. The Survey-to-Approved Document association is sent to Vault CRM via the Approved Email PromoMats/MedComms - Vault CRM integration.

All email templates or email fragments used for surveys must include the {{surveyLink}} token to reference the associated survey. If the token is not included, the survey link is not displayed in the email and recipients are unable to access the survey.

#### Displaying a Survey from an Approved Email

Insert the {{surveyLink}} token into the Approved Email template or fragment.

Depending on the survey's status, when the HCP selects the survey link in an Approved Email, one of three pages displays:

The survey displays and HCP responses can be captured. When responses are submitted, a message displays indicating the survey was submitted.

* A message that the survey was taken (this is only relevant for one-time surveys)
* A message the survey is no longer available (it expired, is no longer published, or Approved Email is not a listed channel)

The Locale formatting for date, time, number, and decimal type responses is based on the HCP's browser. Validation rules are not supported on the survey page.

![https://lh4.googleusercontent.com/zh0rQGS44CBBBb3rpzCOSQPNI0ySt2SwPWGeSgmlkgOxbHea0QHX1U9ZY5DRIx2VxOrmzv3jpwnTdJu4_XI-tD7cwbdTz8O4sbcOhkZZbjSP1GUGrfJPk3Y7PX_iNL3odlp62rpD](../../../Resources/Images/Multichannel/ApprovedEmail/Using/SurveysApproved.png)

[Branching Surveys](../Adding/UsingBranchingSurveyQuestions.htm) are not supported in Approved Email.

#### Notifications and Errors

Survey designers can access the Survey Administration page by selecting CRM Setup > CRM Processes > Survey Administration. Notifications and errors display in the Survey Alerts section.

In addition to the credentials configured on the Survey Administration page, additional email addresses can be added to survey alerts. To add or remove recipients, select Edit. The list of recipients must be comma-delimited.

Alert emails are not sent for sandbox environments.

Email notifications are sent for the following scenarios:

* Errors received when retrieving the survey data to display
* Errors received when writing the response data into Vault CRM. A link is available to download the response data so it can be loaded into Vault CRM using tools such as Vault Loader after resolving the errors. The data is provided in a zip file containing a CSV file for the survey\_target\_\_v and question\_response\_\_v objects.
* When loading the response data into Vault CRM using Vault Loader, the Upsert option should be used to avoid creating duplicate records
* When performing the upsert into the question\_response\_\_v object using Vault Loader, the external\_id\_\_v field on the survey\_target\_\_v object does not auto-match in the Mapping dialog. This field-to-column mapping needs to be done manually.

The Survey Administration page displays the last seven days of errors received by the Survey page.

### Related Topics

[Surveys Overview](../SurveysOverview.htm)

[Configuring Surveys](../SurveysInitalConfig.htm)
