This article covers a really cool way to get the most out of the Email HTML
templates when building Playbooks or using templates in other places.
Basically, you create the Email HTML template with a fixed subject header and
even a title, then use the {Text} as a placeholder for content that the
Playbook builder then adds manually when creating a playbook.
Let's take a look at how this works:
Navigate to Settings > Environments > Email HTML templates.
Add a new template and give it a name. For this example we will call it
Testing Text Option. Make sure to change the title to something that sounds
appropriate and make sure the placeholder {Text} is in there.
Go to the Playbook you are building and drag in a Send Email action.
In order to choose the specific template, click the drop-down and select the
Testing Text Option.
In the Content field - write down the body of your email - this will be
inserted instead of the {Text} placeholder when the email is sent
out.
Once the alert is ingested into the platform and the Playbook runs, the
following email will be sent 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-08-29 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,["# Using dynamic variables in Email HTML templates\n===============================================\n\nSupported in: \nGoogle secops [SOAR](/chronicle/docs/secops/google-secops-soar-toc) \n\nThis article covers a really cool way to get the most out of the Email HTML\ntemplates when building Playbooks or using templates in other places.\nBasically, you create the Email HTML template with a fixed subject header and\neven a title, then use the {Text} as a placeholder for content that the\nPlaybook builder then adds manually when creating a playbook.\n\nLet's take a look at how this works:\n\n1. Navigate to Settings \\\u003e Environments \\\u003e Email HTML templates.\n2. Add a new template and give it a name. For this example we will call it Testing Text Option. Make sure to change the title to something that sounds appropriate and make sure the placeholder {Text} is in there. \n\n [](/static/chronicle/images/soar/dynamicvar1.png)\n\n \u003cbr /\u003e\n\n3. Go to the Playbook you are building and drag in a Send Email action.\n4. In order to choose the specific template, click the drop-down and select the Testing Text Option.\n5. In the Content field - write down the body of your email - this will be inserted instead of the {Text} placeholder when the email is sent out. \n\n \u003cbr /\u003e\n\n [](/static/chronicle/images/soar/dynamicvariable2.png)\n6. Once the alert is ingested into the platform and the Playbook runs, the following email will be sent to the recipient. \n\n\n [](/static/chronicle/images/soar/dynamicvariable3.png)\n\n**Need more help?** [Get answers from Community members and Google SecOps professionals.](https://security.googlecloudcommunity.com/google-security-operations-2)"]]