Preparing Surveys for Approved Email
Survey designers can sync metadata for surveys between Vault 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 Vault PromoMats / MedComms.
In Vault CRM, select Approved Email as a channel when creating a new survey.
In Vault PromoMats / MedComms:
- Create a corresponding survey record in the survey_v object.
- Ensure the External ID value matches the external_id__v field value of the survey in Vault CRM on the survey__v object.
- 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 Vault 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.
Branching Surveys 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.