---
title: Workaround for Embedding a Survey in an Email
slug: neurons-for-itsm/admin-user-help/enu/latest/workaround-for-embedding-a-survey-in-an-email
createdAt: 2026-08-26T09:49:49.000Z
---

For **ISM releases earlier than 2026.3**, use this workaround to embed a Modern Survey in an actionable email. This procedure updates the Adaptive Card authorization header to ensure that survey responses are submitted correctly from actionable messages.

:::hint{type="info"}
This workaround applies only to **ISM releases earlier than 2026.3**
:::

Before you begin, complete the prerequisite procedure described in **Creating Actionable Message Provider with Microsoft Entra App Id**.

## Pre-requisites

**Creating Actionable Message Provider with Microsoft Entra App Id**

This configuration is required before you create or modify the actionable message payload used by Modern Surveys.

**Generate and update the Adaptive Card payload**

1. Open the **Modern Survey** that you want to embed in an email.
2. Select **Publish** > **Embed as email**.
3. Select the required business object and then copy the generated actionable message payload to the clipboard.
4. Extract the compressed JSON contained within the following script tag:

:::Paragraph{indent="1"}
*Extract compressed Json embedded within*
*\<script type="application/adaptivecard+json">*
*// adaptive card json*
*\</script>*
:::

5. Open the **Actionable Messages Designer**
6. Select **Blank Card**.

::Image[]{src="https://api.archbee.com/api/optimize/parib0MC3hVoUNdfQdnac/_Sqo12MZGERvU5xI230lU_workaround-image1.png" size="80" isUploading="false" width="1389" height="649" darkWidth="1389" darkHeight="649" showCaption="false"}

7. Paste the extracted JSON into the **Edit JSON Payload** section.

::Image[]{src="https://api.archbee.com/api/optimize/parib0MC3hVoUNdfQdnac/NqBDWiJhEzM57HJMoP8vO_workaround-image2.png" size="80" isUploading="false" width="1398" height="647" darkWidth="1398" darkHeight="647" showCaption="false" indent="1"}

8. Update the **Authorization** header value for the **Submit Survey** action and each **Star** or **Smiley** image action to&#x20;

- For Standard Question survey types, select or click an answer and then select **Submit Survey** to submit your response.

::Image[]{src="https://api.archbee.com/api/optimize/parib0MC3hVoUNdfQdnac/TFUJmS6d2JCJMAld54CgT_standard-question-type.png" size="100" isUploading="false" width="1396" height="591" darkWidth="1396" darkHeight="591" showCaption="false" indent="1"}

- For a Star Rating survey question, select each star and verify that the corresponding rating is recorded correctly.

::Image[]{src="https://api.archbee.com/api/optimize/parib0MC3hVoUNdfQdnac/9LqwjilmNkZ9eoz9czija_star-rating.png" size="100" isUploading="false" width="1403" height="596" darkWidth="1403" darkHeight="596" showCaption="false" indent="1"}

- For a Smiley Rating survey question, select each smiley and verify that the corresponding rating is recorded correctly.

::Image[]{src="https://api.archbee.com/api/optimize/parib0MC3hVoUNdfQdnac/PIEsBnFkl9JRIRLTTi_IF_image.png" size="100" isUploading="false" width="1401" height="610" darkWidth="1401" darkHeight="610" showCaption="false" indent="1"}

9. Copy the updated JSON and compress (minify) it by using a text editor that supports JSON minification or an online JSON minification tool.&#x20;
10. Enclose the compressed JSON in a \<script> tag, as shown in the following example, and use it as the Adaptive Card template payload.

::Image[]{src="https://api.archbee.com/api/optimize/parib0MC3hVoUNdfQdnac/6qFP5uLIeJvpvvyzz00Cy_image.png" size="100" isUploading="false" width="1137" height="257" darkWidth="1137" darkHeight="257" showCaption="false" indent="1"}

11. Copy the Adaptive Card payload and paste it into the email body of the Triggered Action, Workflow, or Quick Action that sends the survey notification.

:::hint{type="info"}
After you send the notification email, recipients can interact with the embedded Modern Survey directly from the actionable message email.&#x20;
:::
