Security Incident Spam workflow template
The Security Incident - Spam - Template allows you to perform a series of tasks designed to handle email spam on your network.
Before you begin
Role required: sn_si.write
About this task
The workflow is triggered when the Category in a security incident is set or changed to Spam source. This action causes a response task to be created for the first activity in the workflow.
[Omitted image "spam-template.png"] Alt text: Security incident spam workflow template
Procedure
-
Open the security incident for which you want to handle email spam, or create a new security incident.
-
In Category, select Spam source.
-
Save the record.
-
Scroll down and open the Response Tasks related list.
The first of a series of response tasks appears. Each time the record is saved, your response to the previous task either causes the next response task to be created or the workflow to end.
|
Response task |
Action |
Results |
|---|---|---|
|
Spam contains malicious content? |
Determine whether the spam contains malicious software. In the task, select Yes or No in Outcome. |
If you selected Yes, the following response tasks are executed:- Quarantine email message
|
|
Create malicious software incident |
Perform the steps to create a security incident, updating the State field in the task as appropriate. |
If you change the state of the task to Closed Complete or Cancelled, this response task waits until the next three response tasks have been completed. The state of the security incident then transitions to Review. |
|
Quarantine email message |
Perform the steps to quarantine the spam, updating the State field in the task as appropriate. |
If you change the state of the task to Closed Complete or Cancelled, the next response task is executed. |
|
Block source on firewall |
Perform the steps to block the email address on the firewall, updating the State field in the task as appropriate. |
If you change the state of the task to Closed Complete or Cancelled, the next response task is executed. |
|
Update email software |
Add the email address to your block list, updating the State field in the task as appropriate. |
If you change the state of the task to Closed Complete or Cancelled, the next response task is executed. Note: This response task is also executed if you answered No to the Spam contains malicious content? response task. |
|
Set state to review |
No action required. |
The State of the security incident is automatically changed to Review. |
Related topics
Security Incident Confidential Data Exposure workflow template
Security Incident Denial of Service workflow template
Security Incident Lost Equipment workflow template
Security Incident Malicious Software workflow template
Security Incident Phishing workflow template
Security Incident Policy Violation workflow template
Security Incident Reconnaissance workflow template
Security Incident Rogue Server or Service workflow template
---
title: Security Incident Spam workflow template
description: The Security Incident - Spam - Template allows you to perform a series of tasks designed to handle email spam on your network.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/security-management/security-incident-response/si-spam-template.html
release: brazil
product: Security Incident Response
classification: security-incident-response
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 4
breadcrumb: [Security Incident Response workflow templates, Understand Security Incident Response Orchestration workflows and workflow templates, Security Incident Response Orchestration, Security Incident Response, Enterprise security case management applications, Security Operations]
---
# Security Incident Spam workflow template
The Security Incident - Spam - Template allows you to perform a series of tasks designed to handle email spam on your network.
## Before you begin
Role required: sn\_si.write
## About this task
The workflow is triggered when the **Category** in a security incident is set or changed to **Spam source**. This action causes a response task to be created for the first activity in the workflow.
\[Omitted image "spam-template.png"\] Alt text: Security incident spam workflow template
## Procedure
1. Open the security incident for which you want to handle email spam, or [create a new security incident](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/security-management/security-incident-response/t_ManuallyCreateSecurityIncident.md).
2. In **Category**, select **Spam source**.
3. Save the record.
4. Scroll down and open the **Response Tasks** related list.
The first of a series of response tasks appears. Each time the record is saved, your response to the previous task either causes the next response task to be created or the workflow to end.
<table id="table_oxh_wvs_kbb"><thead><tr><th>
Response task
</th><th>
Action
</th><th>
Results
</th></tr></thead><tbody><tr><td>
Spam contains malicious content?
</td><td>
Determine whether the spam contains malicious software. In the task, select **Yes** or **No** in **Outcome**.
</td><td>
If you selected **Yes**, the following response tasks are executed:- **Quarantine email message**
- **Create malicious software incident**
If you selected **No**, the **Update email software** is executed.
</td></tr><tr><td>
Create malicious software incident
</td><td>
Perform the steps to create a security incident, updating the **State** field in the task as appropriate.
</td><td>
If you change the state of the task to **Closed Complete** or **Cancelled**, this response task waits until the next three response tasks have been completed. The state of the security incident then transitions to **Review**.
</td></tr><tr><td>
Quarantine email message
</td><td>
Perform the steps to quarantine the spam, updating the **State** field in the task as appropriate.
</td><td>
If you change the state of the task to **Closed Complete** or **Cancelled**, the next response task is executed.
</td></tr><tr><td>
Block source on firewall
</td><td>
Perform the steps to block the email address on the firewall, updating the **State** field in the task as appropriate.
</td><td>
If you change the state of the task to **Closed Complete** or **Cancelled**, the next response task is executed.
</td></tr><tr><td>
Update email software
</td><td>
Add the email address to your block list, updating the **State** field in the task as appropriate.
</td><td>
If you change the state of the task to **Closed Complete** or **Cancelled**, the next response task is executed. **Note:** This response task is also executed if you answered **No** to the **Spam contains malicious content?** response task.
</td></tr><tr><td>
Set state to review
</td><td>
No action required.
</td><td>
The **State** of the security incident is automatically changed to **Review**.
</td></tr></tbody>
</table>
**Parent Topic:**[Security Incident Response workflow templates](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/security-management/security-incident-response/sir-orch-workflow-templates.md)
**Related topics**
[Security Incident Confidential Data Exposure workflow template]()
[Security Incident Denial of Service workflow template]()
[Security Incident Lost Equipment workflow template]()
[Security Incident Malicious Software workflow template]()
[Security Incident Phishing workflow template]()
[Security Incident Policy Violation workflow template]()
[Security Incident Reconnaissance workflow template]()
[Security Incident Rogue Server or Service workflow template]()
[Security Incident Unauthorized Access workflow template]()
[Security Incident Web/BBS Defacement workflow template]()
| title | Security Incident Spam workflow template |
| description | The Security Incident - Spam - Template allows you to perform a series of tasks designed to handle email spam on your network. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/security-management/security-incident-response/si-spam-template.html |
| release | brazil |
| product | Security Incident Response |
| classification | security-incident-response |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 4 |
| breadcrumb | Security Incident Response workflow templatesUnderstand Security Incident Response Orchestration workflows and workflow templatesSecurity Incident Response OrchestrationSecurity Incident ResponseEnterprise security case management applicationsSecurity Operations |