Create Enrich automation
Enrich alerts by extracting fields, composing values, and adding tags to standardize them for easier filtering and grouping.
Before you begin
Role required: evt_mgmt_admin, evt_team_operator, or srm_responder
About this task
Extracting takes values from event payload fields and places them in alert output fields, while composing combines multiple alert fields into one. For more information, see Alert field extraction, composition, and value mapping.
For users familiar with the classic Event Management experience, Enrich automations create event rules and support teams. Event rules offer a few advanced features like thresholds and CI identification using the Identification and Reconciliation Engine (IRE) that are not available in Enrich automations. Administrators can also enrich alerts with event field mapping rules. Changing alert values creates an event field mapping rule with the mapping type Map field and transform value (Single field). This rule is linked to the event rule and runs simultaneously, so event data is mapped and transformed to enrich alerts.
Procedure
-
Navigate to Workspaces > Service Operations Workspace.
-
From the navigation pane, select the AIOps configuration center icon [Omitted image "icon-itom-aiops-config.png"] Alt text: ITOM AIOps configuration center icon.
The ITOM AIOps configuration center page appears. The configuration center is a centralized workspace. Use it to configure and manage AIOps features from a single place.
-
On the ITOM AIOps configuration center page, under the Optimize section, select Enrich alerts.
The Enrich alerts page is displayed.
[Omitted image "enrich-automation-page.png"] Alt text: Enrich automation page
-
Select Create automation.
By default, the Active check box is selected.
-
In the Automation name field, enter the name of the automation for enriching alerts.
-
In the If these conditions are met section, set up filter criteria to identify the alerts to enrich.
The condition is evaluated against the raw event received from the source monitoring system and does not account for enriched fields.
-
From the Assignment group field menu, select the assignment group to determine which team’s alerts trigger the automation.
The Assignment group represents a specific team responsible for handling certain alerts. Only alerts assigned to the selected team trigger the automation.
Note:
- If you’re logged in to the instance with an administrator role (evt_mgmt_admin), all of the assignment groups are available. Additionally, you can select All groups to enable generating alerts for any of the available groups.
- If you’re a team operator, only the groups you’re a member of are available.
- Only members of the selected group or administrators can update or delete the automation.
-
From the Source field menu, select the monitoring tool from where the alert is generated.
-
Set up the conditions by selecting the field, operator, and field value. Then, add more conditions using OR or AND operators.
When using time-based condition filters in Enrich automations and event rules (a filter that contains a time-based condition), the value is saved as a static value. The time is evaluated in the system time zone of the instance, defined by the glide.sys.default.tz system property, which defaults to America/Los_Angeles if left empty.
[Omitted image "enrich-automation-time-condition.png"] Alt text: Condition based on time of event
To add another set of conditions, select + New condition set. You can also manually add an additional info field if you don’t see it in the drop-down list.
The Example source events pane shows up to 50 recent events that match the conditions you define. Use these sample events to build and test your automation, for example, to test a regular expression in Extract fields or to test Improve configuration item (CI) identification. Select Load past events to display the sample events.
To find matching events, the system loads a batch of 2,000 events from the source and filters them by your conditions. It then displays up to 50 of the matching events. If the batch contains no matching events, the pane displays No recent matching events. In this case, you can do one of the following:
- Select Try again to load another batch of events from the source and filter them by your conditions.
- Send more recent events from the source that match the conditions, and then select Try again. If no sample events are available, you can still enter or paste an example value in the Sample value field of the Extract fields action to test your regular expression.
[Omitted image "enrich-automation-conditions.png"] Alt text: Enrich alerts page with conditions defined and the Example source events pane showing recent matching events.
-
-
In the Then, apply the following actions section, select the actions that this automation triggers.
You must select at least one action.
- Extract alert fields: Retrieves alert field values from the event payload and places them in an alert output field.
- Copy or compose fields: Merges various alert fields, tags and text to generate a composed alert output.
- Change alert values: Maps the current value of alert fields to specified new values.
- Improve configuration item (CI) identification: Identifies CIs other than a host for better alert grouping, team assignment, and service health.
|
Option |
Action |
|---|---|
|
Extract alert fields |
The Example source events pane displays a sample of recent events in your system. If no events are displayed, select Try again or send more recent events that match your conditions. For more information, see the Example source events description in the conditions step. You can also create an event. For more information, see Create or edit an event rule.
Note: You can compose text using regular expression (regex) format conventions. Use one or more capture groups with parentheses to extract parts of the input. Capture groups in the regular expression are assigned to alert outputs based on the order in which they appear. The regex must match the entire input, so consider surrounding your regex with
To add an alert tag, select the Set as a tag check box. Tip: Create alert tags that can be shared across sources for easier filtering and grouping, such as the predefined tags. [Omitted image "sow-extract-alert-fields.png"] Alt text: Extract alert fields
Note: This option is available only when example source events are available and matched with the regex filter. [Omitted image "sow-preview-multiple-events.png"] Alt text: Preview extracted values from multiple events To include additional fields for extraction, select + Add fields. |
|
Copy or compose fields |
For easier grouping, you can select a tag from the menu. To use the new field name as a tag for grouping, select the Set as a tag check box. Tip: Create alert tags that can be shared across sources for easier filtering and grouping, such as the predefined tags. [Omitted image "sow-compose-alert.png"] Alt text: Compose alert fields To create additional alert data compositions, select + Add fields. |
|
Change alert values |
To add more field values, select + Add value and to add more fields to map, select + Add field to map. [Omitted image "sow-change-alert-values.png"] Alt text: Change values of a field to a format that is easier to read, filter, and group. |
|
Improve configuration item (CI) identification |
You can use this option to change how alerts are bound or linked to a configuration item (CI). This option helps associate alerts with the correct IT components. The default and most common way to bind alerts to CIs is based on the Node field. This works by default and requires no configuration. Use it by populating the Node field in your alert with a CI’s name, fully qualified domain name (FQDN), IP address, or MAC address. This supports host CIs including Computers, Operating Systems (OS), Switches, Routers, or any CI type or any class that extends the [cmdb_ci_hardware] table. You can enable this action to improve the CI identification for other types of CIs such as processes or service instances. The system searches for a matching CI in the appropriate CMDB table based on the selected CI type. For example, if you select VMware Virtual Machine Instance as the CI class, the system searches for a matching record in the [cmdb_ci_vmware_instance] table. The search uses details from the event rule record, specifically the Additional info fields. [Omitted image "enrich_automation_ci_identification.png"] Alt text: Improve configuration item (CI) identification section
Select View items to see the list of CIs of this type and their attribute values.
Ensure that the Node field in the alert is populated correctly to identify a host CI. The CI you are identifying must have a runs on relationship to the host CI or be mapped to the host.
For instructions on how to populate these fields, see Set additional info fields to match CI attribute format. The system attempts to match values from the Additional info field of the alert with the CI table. If a match is found, the alert is bound to the corresponding CI.
After successful CI identification, the system displays a message with the relevant details.[Omitted image "enrich_automation_ci_binding_success.png"] Alt text: CI identification is successful If CI identification fails, the system shows a message explaining the details.[Omitted image "enrich_automation_ci_binding_failed.png"] Alt text: CI identification failed For more information about CI binding, see Binding alerts to CIs. |
\[Omitted image "enrich-run-other-automation.png"\] Alt text: Option to select whether you want to run other enrich alert automations.
If you select **Don't run other enrich alert automations**, additional automations of this type stop running after this automation runs once. If the automation is managed by an administrator, it stops running administrator-owned automations but continues to run automations owned by other assignment groups.
-
In the Automation details section, provide an order and automation description.
[Omitted image "enrich-automation-details.png"] Alt text: Enrich automation details section
-
In the Order field, enter the automation order.
Note: Automations run in order from the lowest to the highest. Ensure there are no enrichment automations with a lower order number that have matching conditions and have Apply additional automations of this type set to false. Otherwise, this may stop subsequent automations from running.
During alert processing, enrichment automations assigned to specific teams are applied first, based on the Order field. After these are evaluated, enrichment automations assigned to Global / All groups are applied. If multiple automations match, the automation with the highest order value is selected to improve CI identification.
The Automation is managed by field displays the team or assignment group who owns, edits, and can delete this automation. The assignment group is the same as the one defined in the If these conditions are met section.
-
In the Automation description field, enter a brief description of the automation.
-
-
Select Save automation.
A notification appears when the automation is successfully saved. Otherwise, an error message is displayed. The Enrich automation that you created appears on the Enrich alerts page where you can view, edit, or delete the existing automation.
What to do next
You can group similar alerts. For more information, see Create Group automation.
Related topics
---
title: Create Enrich automation
description: Enrich alerts by extracting fields, composing values, and adding tags to standardize them for easier filtering and grouping.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/it-operations-management/event-management/enrich-alert-sow-itom.html
release: brazil
product: Event Management
classification: event-management
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 13
keywords: [Alert Automation, ITOM, Health, AIOps]
breadcrumb: [Alert automation in SOW for ITOM, Configure, Event Management, ITOM AIOps, IT Operations Management]
---
# Create Enrich automation
Enrich alerts by extracting fields, composing values, and adding tags to standardize them for easier filtering and grouping.
## Before you begin
Role required: evt\_mgmt\_admin, evt\_team\_operator, or srm\_responder
## About this task
Extracting takes values from event payload fields and places them in alert output fields, while composing combines multiple alert fields into one. For more information, see [Alert field extraction, composition, and value mapping](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/extract-compose-fields.md).
For users familiar with the classic Event Management experience, Enrich automations create event rules and support teams. Event rules offer a few advanced features like thresholds and CI identification using the Identification and Reconciliation Engine \(IRE\) that are not available in Enrich automations. Administrators can also enrich alerts with event field mapping rules. Changing alert values creates an event field mapping rule with the mapping type **Map field and transform value \(Single field\)**. This rule is linked to the event rule and runs simultaneously, so event data is mapped and transformed to enrich alerts.
## Procedure
1. Navigate to **Workspaces** > **Service Operations Workspace**.
2. From the navigation pane, select the AIOps configuration center icon \[Omitted image "icon-itom-aiops-config.png"\] Alt text: ITOM AIOps configuration center icon.
The ITOM AIOps configuration center page appears. The configuration center is a centralized workspace. Use it to configure and manage AIOps features from a single place.
3. On the ITOM AIOps configuration center page, under the Optimize section, select **Enrich alerts**.
The Enrich alerts page is displayed.
\[Omitted image "enrich-automation-page.png"\] Alt text: Enrich automation page
4. Select **Create automation**.
By default, the **Active** check box is selected.
5. In the **Automation name** field, enter the name of the automation for enriching alerts.
6. In the **If these conditions are met** section, set up filter criteria to identify the alerts to enrich.
The condition is evaluated against the raw event received from the source monitoring system and does not account for enriched fields.
1. From the **Assignment group** field menu, select the assignment group to determine which team’s alerts trigger the automation.
The **Assignment group** represents a specific team responsible for handling certain alerts. Only alerts assigned to the selected team trigger the automation.
**Note:**
- If you’re logged in to the instance with an administrator role \(evt\_mgmt\_admin\), all of the assignment groups are available. Additionally, you can select **All groups** to enable generating alerts for any of the available groups.
- If you’re a team operator, only the groups you’re a member of are available.
- Only members of the selected group or administrators can update or delete the automation.
2. From the **Source** field menu, select the monitoring tool from where the alert is generated.
3. Set up the conditions by selecting the field, operator, and field value. Then, add more conditions using OR or AND operators.
When using time-based condition filters in Enrich automations and event rules \(a filter that contains a time-based condition\), the value is saved as a static value. The time is evaluated in the system time zone of the instance, defined by the **glide.sys.default.tz** system property, which defaults to America/Los\_Angeles if left empty.
\[Omitted image "enrich-automation-time-condition.png"\] Alt text: Condition based on time of event
To add another set of conditions, select **+ New condition set**. You can also manually add an additional info field if you don’t see it in the drop-down list.
The **Example source events** pane shows up to 50 recent events that match the conditions you define. Use these sample events to build and test your automation, for example, to test a regular expression in **Extract fields** or to test **Improve configuration item \(CI\) identification**. Select **Load past events** to display the sample events.
To find matching events, the system loads a batch of 2,000 events from the source and filters them by your conditions. It then displays up to 50 of the matching events. If the batch contains no matching events, the pane displays **No recent matching events**. In this case, you can do one of the following:
- Select **Try again** to load another batch of events from the source and filter them by your conditions.
- Send more recent events from the source that match the conditions, and then select **Try again**.
If no sample events are available, you can still enter or paste an example value in the **Sample value** field of the **Extract fields** action to test your regular expression.
\[Omitted image "enrich-automation-conditions.png"\] Alt text: Enrich alerts page with conditions defined and the Example source events pane showing recent matching events.
7. In the **Then, apply the following actions** section, select the actions that this automation triggers.
You must select at least one action.
- **Extract alert fields**: Retrieves alert field values from the event payload and places them in an alert output field.
- **Copy or compose fields**: Merges various alert fields, tags and text to generate a composed alert output.
- **Change alert values**: Maps the current value of alert fields to specified new values.
- **Improve configuration item \(CI\) identification**: Identifies CIs other than a host for better alert grouping, team assignment, and service health.
<table id="choicetable_p43_zvd_s1c"><thead><tr><th align="left" id="d235884e340">
Option
</th><th align="left" id="d235884e343">
Action
</th></tr></thead><tbody><tr><td id="d235884e349">
**__Extract alert fields__**
</td><td>
1. Enable the **Extract fields** toggle switch.
2. From the **Extract from field** menu, select a value. The menu displays the standard event fields, additional info, and tags. The field value is then displayed. You can also manually enter a field name that is not displayed and add your own value.
The **Example source events** pane displays a sample of recent events in your system. If no events are displayed, select **Try again** or send more recent events that match your conditions. For more information, see the **Example source events** description in the conditions step. You can also create an event. For more information, see [Create or edit an event rule](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/create-or-edit-event-rule.md).
3. In the **Regular expression** field, create a regular expression that extracts the value.
**Note:** You can compose text using regular expression \(regex\) format conventions. Use one or more capture groups with parentheses to extract parts of the input. Capture groups in the regular expression are assigned to alert outputs based on the order in which they appear. The regex must match the entire input, so consider surrounding your regex with `.*` on each end. For example, `(\w+).acme.com.*` captures the host name in a fully qualified domain name. The parser for the regex engine is Perl Compatible Regular Expressions \(PCRE\) compatible. Nested JSON data is preprocessed to strip quotes and replace colons with equal signs.
4. In the **Alert output** field, select an alert field or an alert tag. You can also manually enter a new field name.
To add an alert tag, select the **Set as a tag** check box.
**Tip:** Create alert tags that can be shared across sources for easier filtering and grouping, such as the predefined tags.
\[Omitted image "sow-extract-alert-fields.png"\] Alt text: Extract alert fields
5. Select **Preview multiple events** to verify that the regular expression \(regex\) is general-purpose enough to correctly extract values across many examples.
**Note:** This option is available only when example source events are available and matched with the regex filter.
\[Omitted image "sow-preview-multiple-events.png"\] Alt text: Preview extracted values from multiple events
To include additional fields for extraction, select **+ Add fields**.
</td></tr><tr><td id="d235884e460">
**__Copy or compose fields__**
</td><td>
1. Enable the **Copy or compose fields** toggle switch.
2. From the **Composition** field, select alert fields, alert tags, or both, manually enter a field name or even add free text. Alert fields are displayed in the `${field}` syntax format.
3. In **Output to field**, select an existing alert field or alert tag, or manually enter an alert field. **Output to field** is an enriched alert containing the composed alert data.
For easier grouping, you can select a tag from the menu. To use the new field name as a tag for grouping, select the **Set as a tag** check box.
**Tip:** Create alert tags that can be shared across sources for easier filtering and grouping, such as the predefined tags.
\[Omitted image "sow-compose-alert.png"\] Alt text: Compose alert fields
To create additional alert data compositions, select **+ Add fields**.
</td></tr><tr><td id="d235884e521">
**__Change alert values__**
</td><td>
1. Enable the **Change alert values** toggle switch.
2. In **Alert field to change values for** field, enter the alert field to map values for.
3. In the **When value is** field, enter the original value in the alert field to change.
4. In the **Change it to** field, enter the new value that replaces the original value in the alert field.
To add more field values, select **+ Add value** and to add more fields to map, select **+ Add field to map**.
\[Omitted image "sow-change-alert-values.png"\] Alt text: Change values of a field to a format that is easier to read, filter, and group.
</td></tr><tr><td id="d235884e577">
**__Improve configuration item \(CI\) identification__**
</td><td>
You can use this option to change how alerts are bound or linked to a configuration item \(CI\). This option helps associate alerts with the correct IT components.
The default and most common way to bind alerts to CIs is based on the **Node** field. This works by default and requires no configuration. Use it by populating the **Node** field in your alert with a CI’s name, fully qualified domain name \(FQDN\), IP address, or MAC address. This supports host CIs including Computers, Operating Systems \(OS\), Switches, Routers, or any CI type or any class that extends the \[cmdb\_ci\_hardware\] table.
You can enable this action to improve the CI identification for other types of CIs such as processes or service instances. The system searches for a matching CI in the appropriate CMDB table based on the selected CI type. For example, if you select VMware Virtual Machine Instance as the CI class, the system searches for a matching record in the \[cmdb\_ci\_vmware\_instance\] table. The search uses details from the event rule record, specifically the **Additional info** fields.
\[Omitted image "enrich\_automation\_ci\_identification.png"\] Alt text: Improve configuration item \(CI\) identification section
1. Enable the **Improve configuration item \(CI\) identification** toggle switch.
2. **Select which CI class you’d like to identify**: In the **CI class** field, specify the CI class for which the event’s node field is evaluated during CI identification. This determines the type of CI the system attempts to identify first.
Select **View items** to see the list of CIs of this type and their attribute values.
3. **Identify the CI when the following alert fields match the CI attributes**: In this section, map alert fields to CI attributes to help the system find the correct CI:
- **Alert field**: Select the alert field that contains identifying information.
- **CI attribute**: Select the CI attribute that the alert field must map to.
4. Use Advanced options to control how the system treats the alert node field during CI identification.
- Node field behavior: Choose one of the following:
- Consider node field: Uses the alert’s node value during CI identification.
- Ignore node field: Ignores the alert’s node value.
Based on the selected CI class, the system recommends whether you should consider or ignore the node field, but you can override this recommendation if needed.
- Use all matching additional info fields: Select this check box to use all matching fields from the event’s Additional Info for CI identification instead of mapping individual fields.
5. **+ Add fallback**: Add fallback CI class and field mappings to define alternate identification logic. If the primary configuration does not identify a CI, the system evaluates each fallback in order until it finds a match.
Ensure that the **Node** field in the alert is populated correctly to identify a host CI. The CI you are identifying must have a [runs on](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/t_EMBindApplication.md) relationship to the host CI or be [mapped to the host](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/ci-device-binding.md).
6. Ensure that at least one CI attribute is present in the **Additional info** field of the alert.
For instructions on how to populate these fields, see [Set additional info fields to match CI attribute format](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/set-addi-info-field-match-ci-attribute.md). The system attempts to match values from the **Additional info** field of the alert with the CI table. If a match is found, the alert is bound to the corresponding CI.
7. Select **Test CI identification** to test the CI identification on sample events.
After successful CI identification, the system displays a message with the relevant details.\[Omitted image "enrich\_automation\_ci\_binding\_success.png"\] Alt text: CI identification is successful
If CI identification fails, the system shows a message explaining the details.\[Omitted image "enrich\_automation\_ci\_binding\_failed.png"\] Alt text: CI identification failed
For more information about CI binding, see [Binding alerts to CIs](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/ci-binding-alert.md).
</td></tr></tbody>
</table>8. In the **And finally** section, to continue running other enrichment automations with the same filter conditions after this automation is executed, select **Run other enrich alert automations**.
\[Omitted image "enrich-run-other-automation.png"\] Alt text: Option to select whether you want to run other enrich alert automations.
If you select **Don't run other enrich alert automations**, additional automations of this type stop running after this automation runs once. If the automation is managed by an administrator, it stops running administrator-owned automations but continues to run automations owned by other assignment groups.
9. In the **Automation details** section, provide an order and automation description.
\[Omitted image "enrich-automation-details.png"\] Alt text: Enrich automation details section
1. In the **Order** field, enter the automation order.
**Note:** Automations run in order from the lowest to the highest. Ensure there are no enrichment automations with a lower order number that have matching conditions and have **Apply additional automations of this type** set to false. Otherwise, this may stop subsequent automations from running.
During alert processing, enrichment automations assigned to specific teams are applied first, based on the **Order** field. After these are evaluated, enrichment automations assigned to **Global / All groups** are applied. If multiple automations match, the automation with the highest order value is selected to improve CI identification.
The **Automation is managed by** field displays the team or assignment group who owns, edits, and can delete this automation. The assignment group is the same as the one defined in the **If these conditions are met** section.
2. In the **Automation description** field, enter a brief description of the automation.
10. Select **Save automation**.
A notification appears when the automation is successfully saved. Otherwise, an error message is displayed. The Enrich automation that you created appears on the Enrich alerts page where you can view, edit, or delete the existing automation.
## What to do next
You can group similar alerts. For more information, see [Create Group automation](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/group-alert-sow-itom.md).
**Related topics**
[Alert field extraction, composition, and value mapping](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/it-operations-management/event-management/extract-compose-fields.md)
| title | Create Enrich automation |
| description | Enrich alerts by extracting fields, composing values, and adding tags to standardize them for easier filtering and grouping. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/it-operations-management/event-management/enrich-alert-sow-itom.html |
| release | brazil |
| product | Event Management |
| classification | event-management |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 13 |
| keywords | Alert AutomationITOMHealthAIOps |
| breadcrumb | Alert automation in SOW for ITOMConfigureEvent ManagementITOM AIOpsIT Operations Management |