This document explains how to use dynamic variables in email HTML
templates to create reusable and customizable email content within Google Security Operations SOAR.
Create the email HTML template
You create the email HTML template with a fixed subject header and title,
then use the {Text} as a placeholder for content that the
playbook builder then adds manually when creating a playbook.
To do this, follow these steps:
Go to Settings > Environments > Email HTML templates.
Add a new template and give it a name. For example, Testing Text Option. In the template body, ensure you include the {Text} placeholder. This placeholder will be replaced with the custom content provided in the playbook.
Click Add.
Add the template to a playbook
GIn your playbook, drag in a Send Email action.
Choose the specific template: click the list and select
Testing Text Option.
In the Content field, enter the body of your email. This content will replace the {Text} placeholder when the playbook runs.
Click Save.
Once an alert is ingested into the Google SecOps SOAR platform and the playbook runs, the system renders the email template, inserting the content from the Content field into the {Text} placeholder before sending the email to the recipient.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eEmail HTML templates in Google SecOps SOAR can use dynamic variables, allowing for flexible content insertion.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves creating an Email HTML template with a placeholder, such as "{Text}", for variable content.\u003c/p\u003e\n"],["\u003cp\u003eWhen building a Playbook, you can select the created template and populate the "Content" field to replace the placeholder with dynamic text.\u003c/p\u003e\n"],["\u003cp\u003eWhen the Playbook is executed, the email sent will contain the content inserted into the template's placeholder.\u003c/p\u003e\n"]]],[],null,["Use dynamic variables in email HTML templates \nSupported in: \nGoogle secops [SOAR](/chronicle/docs/secops/google-secops-soar-toc) \n\nThis document explains how to use dynamic variables in email HTML\ntemplates to create reusable and customizable email content within Google Security Operations SOAR.\n\nCreate the email HTML template\n\nYou create the email HTML template with a fixed subject header and title,\nthen use the {Text} as a placeholder for content that the\nplaybook builder then adds manually when creating a playbook.\n\nTo do this, follow these steps:\n\n1. Go to **Settings \\\u003e Environments \\\u003e Email HTML templates**.\n2. Add a new template and give it a name. For example, `Testing Text Option`. In the template body, ensure you include the `{Text}` placeholder. This placeholder will be replaced with the custom content provided in the playbook.\n3. Click **Add**.\n\nAdd the template to a playbook\n\n1. GIn your playbook, drag in a **Send Email** action.\n2. Choose the specific template: click the list and select **Testing Text Option**.\n3. In the **Content** field, enter the body of your email. This content will replace the `{Text}` placeholder when the playbook runs.\n4. Click **Save**.\n5. Once an alert is ingested into the Google SecOps SOAR platform and the playbook runs, the system renders the email template, inserting the content from the **Content** field into the `{Text}` placeholder before sending the email to the recipient.\n\n**Need more help?** [Get answers from Community members and Google SecOps professionals.](https://security.googlecloudcommunity.com/google-security-operations-2)"]]