Embedding Survey in an Email
Role: Administrator
Minimum Version:Ivanti Neurons for ITSM 2024.2. and above.
The ISM application sends a survey via email to customers whose Incident, Service Request, etc., have been resolved and closed.
The intended user / customer should be able to submit their survey response directly from the email, rather than having to navigate to a survey link within the email.
The following steps will allow you to configure how to embed a survey within an email.
Pre-requisites
This is the step where you configure your Microsoft account with the connector using Actionable Email Developer Dashboard.
Configure the Provider/Connector using the Actionable Email Developer Dashboard by signing in to your Outlook account. Navigate to the link https://outlook.office.com/connectors/oam/publish
New Provider
Click on New Provider link and provide the following details:
•Friendly Name : Provide a user friendly connector name.
•Provider ID : This field is auto populated. Remember to keep the provider id handy while configuring the ISM application.
•Organization Info : This field is auto populated.
•Sender Email Address : Email address from which the email with the embedded survey is sent.
•Target URLs : This endpoint submits the survey response. It refers to the API URL where you send the survey data.
Follow the steps below to learn how to obtain the Target URL:
| a. | Go to https://{tenant-url}/Data/Designer.Workspaces.xml. |
| b. | In the XML document, search for Survey. |
This is how the entry appears in the XML text.
| c. | Copy the Survey Tenant URL value. |
| d. | Append /api/takesurvey/SaveEmailResponse. |
Example: https://{Survey Tenant URL}/api/takesurvey/SaveEmailResponse.
New Provider
Scope of Submission
This is where you provide the scope submission of provider or connector.
-
Test User : This is for testing purpose to test your providers on users from same tenant.
-
Organization : This will send embedded survey notification to users within an organization which needs to be approved by Exchange administrator of the organization. E.g.<email_address>@organization.com
-
Global : This will send an embedded survey notification to users worldwide.
Contact Info
This is where you provide the contact information of provider or connector
-
Provide the Name, Email Address, Phone Number, Address, City, State, Postal Code, etc of the sender.
Publisher Information
This is where you provide the details of the publisher such as their display name, website, etc.
Scenario
This is where you provide the details of the scenario such as the action you plan to add to your email, the daily number of emails you expect to send, etc.
Information to verify your actionable messages
Provide the information about actionable message.
-
Detailed instruction to test your actionable message: Provide an actionable message.
-
Card Payloads : How the HTML message should render in the email body. You can add one or more payloads. These are surveys in JSON template.
Here is the card payload sample.
Sample-card-payload.json
{
"type": "AdaptiveCard",
"version": "1.0",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"padding": "None",
"hideOriginalBody": true,
"body": [
{
"type": "ColumnSet",
"columns": [
{
"type": "Column",
"items": [
{
"type": "TextBlock",
"text": "Test Survey",
"wrap": true,
"size": "ExtraLarge",
"weight": "Bolder",
"horizontalAlignment": "Left"
}
],
"style": "emphasis",
"spacing": "None",
"padding": {
"top": "Default",
"bottom": "Default",
"left": "Default",
"right": "None"
},
"width": 80
},
{
"type": "Column",
"items": [
{
"type": "Image",
"altText": "survey logo image",
"horizontalAlignment": "Right",
"url": "data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAoHCBUVEhgWEhUYGBgaGRIYHRwYGBgYGBoYGRwZGRgZGhwcIS4lHCErIxkYJzgmKy8xNTU1GiQ7QDs0Py40NTEBDAwMEA8QHxISHjcrJCw0PzQ0NjQxNDQ0ODQ0NDQ0NDQ0NDQ1NDQ0NDQ9NjY0NDQ0NDQ0NDQ0NDQ0NDQ0NDQ0NP/AABEIALcBEwMBIgACEQEDEQH/xAAcAAEAAQUBAQAAAAAAAAAAAAAABwEDBAUGAgj/xABCEAACAQIBCAYGCAUEAwEAAAABAgADEQQFBhIhMUFRYQcicYGRoRMyUmKisSNCcoKSssHCFENj0eEzNNLxo7PwJP/EABkBAQADAQEAAAAAAAAAAAAAAAABAgQDBf/EACURAQACAgEDBQADAQAAAAAAAAABAgMRMRIhQQQiMlFxExSBYf/aAAwDAQACEQMRAD8AmaIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgIiICIiAiIgcjlnPqhh67UWSozJo6RQLYEgNbrML6iPGbzIuVqeKorVpX0TcEMLMrDUVYcZFGeNELlappC4ZqJ17wyID53nd5g6K06iKAAGDWHvLb9sz1yzOTplotiiKdUOtlL2lZHnSdltkVcNSaxqDTqEHXoXsq9jEG/JbbDO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asis",
"width": 20,
"spacing": "None",
"padding": {
"top": "Small",
"bottom": "Small",
"left": "None",
"right": "Default"
}
}
],
"padding": "None"
},
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "The survey will take just a minute.",
"wrap": true,
"size": "Medium"
}
],
"separator": true,
"spacing": "None",
"padding": "Default"
},
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "1\\. How satisfied were you with the overall resolution process for your recent IT service request? *",
"wrap": true,
"weight": "Bolder"
}
],
"separator": true,
"spacing": "None",
"padding": "Default"
},
{
"type": "Container",
"items": [
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Very Satisfied",
"value": "verysatisfied"
},
{
"title": "Satisfied",
"value": "satisfied"
},
{
"title": "Neutral",
"value": "neutral"
},
{
"title": "Dissatisfied",
"value": "dissatisfied"
},
{
"title": "Very Dissatisfied",
"value": "verydissatisfied"
}
],
"style": "expanded",
"label": "How satisfied were you with the overall resolution process for your recent IT service request?",
"id": "rbtn1",
"isRequired": true,
"errorMessage": "This field is required."
}
],
"padding": {
"top": "None",
"bottom": "Default",
"left": "Default",
"right": "Default"
},
"spacing": "None"
},
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "2\\. Did the IT support team meet your expectations in terms of response time?",
"wrap": true,
"weight": "Bolder"
}
],
"separator": true,
"spacing": "None",
"padding": "Default"
},
{
"type": "Container",
"items": [
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Exceeded Expectations",
"value": "exceededexpectations"
},
{
"title": "Met Expectations",
"value": "metexpectations"
},
{
"title": "Somewhat Below Expectations",
"value": "somewhatbelowexpectations"
},
{
"title": "Well Below Expectations",
"value": "wellbelowexpectations"
}
],
"style": "expanded",
"label": "Did the IT support team meet your expectations in terms of response time?",
"id": "rbtn2"
}
],
"padding": {
"top": "None",
"bottom": "Default",
"left": "Default",
"right": "Default"
},
"spacing": "None"
},
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "3\\. Please select all the aspects of the IT service that you were satisfied with: *",
"wrap": true,
"weight": "Bolder"
}
],
"separator": true,
"spacing": "None",
"padding": "Default"
},
{
"type": "Container",
"items": [
{
"type": "Input.ChoiceSet",
"choices": [
{
"title": "Timeliness of Response",
"value": "timelinessofresponse"
},
{
"title": "Clarity of Communication",
"value": "clarityofcommunication"
},
{
"title": "Effectiveness of Solution",
"value": "effectivenessofsolution"
},
{
"title": "Overall Customer Service",
"value": "overallcustomerservice"
}
],
"style": "expanded",
"isMultiSelect": true,
"label": "Please select all the aspects of the IT service that you were satisfied with:",
"id": "chkBxb1",
"isRequired": true,
"errorMessage": "This field is required."
}
],
"padding": {
"top": "None",
"bottom": "Default",
"left": "Default",
"right": "Default"
},
"spacing": "None"
},
{
"type": "Container",
"items": [
{
"type": "TextBlock",
"text": "4\\. Please provide details",
"wrap": true,
"weight": "Bolder"
}
],
"separator": true,
"spacing": "None",
"padding": "Default"
},
{
"type": "Container",
"items": [
{
"type": "Input.Text",
"label": "Please provide details",
"id": "txtBx1"
}
],
"padding": {
"top": "None",
"bottom": "Default",
"left": "Default",
"right": "Default"
},
"spacing": "None"
},
{
"type": "Container",
"items": [
{
"type": "ActionSet",
"actions": [
{
"type": "Action.Http",
"headers": [
{
"name": "Authorization",
"value": " "
},
{
"name": "Content-type",
"value": "application/json"
}
],
"id": "btnSubmitSurvey",
"title": "Submit Survey",
"method": "POST",
"isPrimary": true,
"style": "positive",
"url": "https://<survey-url>/api/takesurvey/SaveEmailResponse",
"body": "{\"tenantId\":\"<tenant-url>\",\"surveyId\":\"<survey-id>\",\"ot\":\"<object-type>\",\"oId\":\"<object-rec-id>\",\"responses\":[{\"id\":\"rbtn1\",\"value\":\"{{rbtn1.value}}\"},{\"id\":\"rbtn2\",\"value\":\"{{rbtn2.value}}\"},{\"id\":\"chkBx1\",\"value\":\"{{chkBx1.value}}\"},{\"id\":\"txtBx1\",\"value\":\"{{txtBx1.value}}\"}]}"
}
],
"horizontalAlignment": "Left"
}
],
"padding": {
"top": "Small",
"bottom": "Small",
"left": "Default",
"right": "Default"
},
"separator": true,
"spacing": "None"
}
]
}
Configure a provider
in ISM application from Modern Survey.
-
Login to ISM Application using Administrator.
-
Go to Configuration console.
-
Select Surveys under Communication Templates from left Navigation pane. Remember to use Modern Survey.
Configure Embed Survey
-
Click Configure Embed Survey and enter the Provider or Connector ID created in Step 1, then click Save.
-
Click Add a New Survey to create a new survey or select an existing one.
-
Send the survey using a trigger or workflow action, then drill down into the selected survey, click Publish, and choose either Web Link or Embed as Email.
-
Specify the relevant Business Object, provide the appropriate action.
A message will appear confirming that the template has been copied to the clipboard.
-
You can configure the copied template in the workflow email or trigger action email to ensure the survey is sent to users.
Limitations of Embedding Survey in an Email
The following types of survey are not supported to embed in an email.
-
Surveys with questions featuring dynamic condition sets.
-
Surveys consisting of multiple smiley rating questions.
-
Surveys consisting of multiple star rating questions.