Configure AI guardrails for HR Service Delivery
Configure offensiveness detection, prompt injection detection, and sensitive topic filters for the ServiceNow Otto for HR Service Delivery (HRSD) application.
Before you begin
Role required:sn_hr_core.admin or sn_hr_gen_ai.admin
About this task
AI Guardian monitors generative AI interactions to detect offensive content, prompt injection attacks, and sensitive topics.
| Guardrail | What it detects |
|---|---|
| Offensiveness detection | Offensive or harmful content in AI inputs and outputs |
| Prompt injection detection | Attempts to override LLM instructions or expose restricted information |
| Sensitive topic filters | Subjects not suited for AI responses, such as workplace safety or employee compensation |
To learn more, see AI Guardian.
Procedure
-
Activate offensiveness detection to log or block offensive content generated by AI skills and workflows.
-
Navigate to All > AI Admin Hub > Settings.
-
In the side panel, select the Now Assist Guardian > Offensiveness tab.
-
Go to the Available for you tab.
-
Locate the Offensiveness for HRSD workflow and select Activate.
-
Select an action:
- Select Log only to record the events when offensive content is detected. The content is still shown to the user.
- Select Block and log to record the event and prevent the content from being shown to the user. The user sees a standard error message instead.
-
Select the severity level.
Choose from Low, Medium, or High.
-
Select Save and activate.
-
Activate prompt injection attack detection settings to protect the instance from malicious inputs.
-
In the side panel, select Prompt Injection.
-
Select the Enable at instance level toggle to activate prompt injection detection at the instance, if it is not already enabled.
[Omitted image "na-guardian-prompt-injection.png"] Alt text: Prompt Injection guardrail settings at instance level with the "Log the output" action and "Medium" severity level selected.
-
In the Choose an action when prompt injection is detected section, select one of the following options to handle the detected attacks:
- To log the request and conversation while keeping the model response visible to the user, select Log the output.
- To block the model response and log the request and conversation, select Block the response and log the output.
-
In the Select the attack severity level to check for prompt injection section, select a severity level to check for prompt injection.
- To flag even the slightest hints of injection or manipulation attempts, select Low.
- To flag clear or moderate prompt injection attempts, select Medium.
- To flag only high certainty prompt injection attempts, select High.
-
In the Product-specific configuration for skills section, activate the HRSD skill.
The Prompt injection for the selected skill page opens.
-
In the Choose an action when prompt injection is detected section, select the detection mode for the skill:
- To log the request and conversation while keeping the model response visible to the user, select Log the output.
- To block the model response and log the request and conversation, select Block the response and log the output.
-
In the Select the attack severity level to check for prompt injection section, select a severity level, Low, Medium, or High.
The skill uses the configured detection mode, or the global setting if it is stricter.
-
-
Select Save.
-
Activate sensitive content filters to manage how ServiceNow Otto responds to sensitive content in conversational experiences.
-
Select Filters.[Omitted image "sd-na-admin-panel-filters.png"] Alt text: Filters tab view that lists the existing filters
-
Modify the filter general details and select Save and Continue to proceed.[Omitted image "sd-na-admin-panel-generaldetails.png"] Alt text: Shows the ability to add filter type and description details
-
Review the sample phrases, select New phrase to add phrases that will trigger redirection, and select Save and Continue to proceed.
You can use AI to generate sample phrases.[Omitted image "sd-na-admin-panel-newphrase.png"] Alt text: Shows the ability to add new and edit existing sample phrases
-
Choose which virtual agents to apply the filters to, then select Save and Continue to proceed.
[Omitted image "sd-na-admin-panel-applicability.png"] Alt text: Shows the ability to add virtual agents to sensitive phrases
-
On the Review and activate page, select Activate to proceed.
Parent Topic:Configure ServiceNow Otto for HR Service Delivery (HRSD)
Related topics
[bundle-platai.add-semantic-filtering-for-sensitive-information]
---
title: Configure AI guardrails for HR Service Delivery
description: Configure offensiveness detection, prompt injection detection, and sensitive topic filters for the ServiceNow Otto for HR Service Delivery \(HRSD\) application.
locale: en-US
canonical_url: https://www.servicenow.com/docs/r/employee-service-management/now-assist-for-hrsd/config-na-sd-filters.html
release: brazil
product: Now Assist for HRSD
classification: now-assist-for-hrsd
topic_type: task
last_updated: "2026-09-10"
reading_time_minutes: 3
breadcrumb: [Configure, ServiceNow Otto for HR Service Delivery \(HRSD\), HR Service Delivery, Employee Service Management]
---
# Configure AI guardrails for HR Service Delivery
Configure offensiveness detection, prompt injection detection, and sensitive topic filters for the ServiceNow Otto for HR Service Delivery \(HRSD\) application.
## Before you begin
Role required:sn\_hr\_core.admin or sn\_hr\_gen\_ai.admin
## About this task
AI Guardian monitors generative AI interactions to detect offensive content, prompt injection attacks, and sensitive topics.
|Guardrail|What it detects|
|---------|---------------|
|Offensiveness detection|Offensive or harmful content in AI inputs and outputs|
|Prompt injection detection|Attempts to override LLM instructions or expose restricted information|
|Sensitive topic filters|Subjects not suited for AI responses, such as workplace safety or employee compensation|
To learn more, see [AI Guardian](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/intelligent-experiences/now-assist-guardian.md).
## Procedure
1. Activate offensiveness detection to log or block offensive content generated by AI skills and workflows.
2. Navigate to **All** > **AI Admin Hub** > **Settings**.
3. In the side panel, select the **Now Assist Guardian** > **Offensiveness** tab.
4. Go to the **Available for you** tab.
5. Locate the Offensiveness for HRSD workflow and select **Activate**.
6. Select an action:
- Select **Log only** to record the events when offensive content is detected. The content is still shown to the user.
- Select **Block and log** to record the event and prevent the content from being shown to the user. The user sees a standard error message instead.
7. Select the severity level.
Choose from Low, Medium, or High.
8. Select **Save and activate**.
9. Activate prompt injection attack detection settings to protect the instance from malicious inputs.
10. In the side panel, select **Prompt Injection**.
11. Select the **Enable at instance level** toggle to activate prompt injection detection at the instance, if it is not already enabled.
\[Omitted image "na-guardian-prompt-injection.png"\] Alt text: Prompt Injection guardrail settings at instance level with the "Log the output" action and "Medium" severity level selected.
12. In the **Choose an action when prompt injection is detected** section, select one of the following options to handle the detected attacks:
- To log the request and conversation while keeping the model response visible to the user, select **Log the output**.
- To block the model response and log the request and conversation, select **Block the response and log the output**.
13. In the **Select the attack severity level to check for prompt injection** section, select a severity level to check for prompt injection.
- To flag even the slightest hints of injection or manipulation attempts, select **Low**.
- To flag clear or moderate prompt injection attempts, select **Medium**.
- To flag only high certainty prompt injection attempts, select **High**.
14. In the **Product-specific configuration for skills** section, activate the HRSD skill.
The Prompt injection for the selected skill page opens.
1. In the **Choose an action when prompt injection is detected** section, select the detection mode for the skill:
- To log the request and conversation while keeping the model response visible to the user, select **Log the output**.
- To block the model response and log the request and conversation, select **Block the response and log the output**.
2. In the **Select the attack severity level to check for prompt injection** section, select a severity level, **Low**, **Medium**, or **High**.
The skill uses the configured detection mode, or the global setting if it is stricter.
15. Select **Save**.
16. Activate sensitive content filters to manage how ServiceNow Otto responds to sensitive content in conversational experiences.
17. Select **Filters**.\[Omitted image "sd-na-admin-panel-filters.png"\] Alt text: Filters tab view that lists the existing filters
18. Modify the filter general details and select **Save and Continue** to proceed.\[Omitted image "sd-na-admin-panel-generaldetails.png"\] Alt text: Shows the ability to add filter type and description details
19. Review the sample phrases, select **New phrase** to add phrases that will trigger redirection, and select **Save and Continue** to proceed.
You can use AI to generate sample phrases.\[Omitted image "sd-na-admin-panel-newphrase.png"\] Alt text: Shows the ability to add new and edit existing sample phrases
20. Choose which virtual agents to apply the filters to, then select **Save and Continue** to proceed.
\[Omitted image "sd-na-admin-panel-applicability.png"\] Alt text: Shows the ability to add virtual agents to sensitive phrases
21. On the Review and activate page, select **Activate** to proceed.
**Parent Topic:**[Configure ServiceNow Otto for HR Service Delivery \(HRSD\)](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/employee-service-management/now-assist-for-hrsd/configure-now-assist-hr.md)
**Related topics**
[bundle-platai.add-semantic-filtering-for-sensitive-information]
[Sensitive topics filters mapping](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/employee-service-management/now-assist-for-hrsd/reference-sd-info-values.md)
| title | Configure AI guardrails for HR Service Delivery |
| description | Configure offensiveness detection, prompt injection detection, and sensitive topic filters for the ServiceNow Otto for HR Service Delivery \(HRSD\) application. |
| locale | en-US |
| canonical_url | https://www.servicenow.com/docs/r/employee-service-management/now-assist-for-hrsd/config-na-sd-filters.html |
| release | brazil |
| product | Now Assist for HRSD |
| classification | now-assist-for-hrsd |
| topic_type | task |
| last_updated | 2026-09-10 |
| reading_time_minutes | 3 |
| breadcrumb | ConfigureServiceNow Otto for HR Service Delivery \(HRSD\)HR Service DeliveryEmployee Service Management |