- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
01-11-2025 03:38 PM
Hi everyone,
I’m trying to test the email notifications configured in Cortex XSOAR to ensure they include the correct variables (like incident severity, name, and ID). Specifically, I want to verify the notification sent to an analyst when they are assigned an incident.
Here are my main questions:
!send-mail
command? If so, how can I structure it to include variables like {{.severity}}
or {{.incident.id}}
?I’ve already configured the SMTP Mail Sender integration, and the test from the integration settings works fine. However, I want to simulate a real notification to validate the content and variables in the email.
Any guidance on testing notifications and understanding the available variables would be greatly appreciated!
01-14-2025 11:37 PM
You can send any value if that is present in the context of the incident using "send-mail" automation.
Simply grab the key to the specific value. For getting the incident name, you could use ${incident.name}
01-16-2025 03:43 AM
Hello,
I set the messages.html.formats.incidentassigned template as follows:
<p>{{.username}} has assigned you {{.incTermArticle}} {{.incTermSingular}} {{.invName}}.</p>
<ul>
<li>{{.incTermCapitalSingular}} Id: #{{.incID}} </li>
<li>{{.incTermCapitalSingular}} Name: {{.invName}}</li>
<li>{{.incTermCapitalSingular}} SLA: {{.SLA}}</li>
<li>{{.incTermCapitalSingular}} Severity: {{.severity}}</li>
</ul>
<p>Please log in and review.</p>
But most of the fields were empty:
Regards,
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!