ServiceNow
Integrate NudgeBee with ServiceNow for ticket management. Create ServiceNow incidents directly from NudgeBee events, and optionally sync your ServiceNow Knowledge Base articles for AI-assisted troubleshooting.
Prerequisites
Before configuring the integration, ensure you have:
- A ServiceNow instance (e.g.,
https://your-instance.service-now.com) - A ServiceNow username and password with permissions to create incidents
- Access to the incident table in your ServiceNow instance
Step 1: Add the ServiceNow Account in NudgeBee
- Navigate to Admin → Integrations → Ticketing tab.
- Click the ServiceNow card.

- Fill in the configuration:

- Name — a unique name to identify this ServiceNow account configuration (e.g.,
Production ServiceNow). - Instance URL — your ServiceNow instance URL (e.g.,
https://your-instance.service-now.com). - Username — a ServiceNow user account with permissions to create and update incidents.
- Password — the password for the ServiceNow user account. This value is stored encrypted in NudgeBee.
- Sync Knowledge Base — enable this checkbox to sync your ServiceNow Knowledge Base articles into NudgeBee for AI-assisted troubleshooting.
- Click Save.
Test Connection queries the incident table to confirm the credentials work. If authentication fails, verify your instance URL, username, and password are correct.
Step 2: Create Incidents from NudgeBee
Incidents can be created from NudgeBee in two ways:
- Automatically — from events, alerts, or autopilot runbook actions.
- Manually — from the NudgeBee event detail view by clicking the ticket icon and selecting ServiceNow.
Each incident includes:
- A short description derived from the event title.
- A detailed description with full event context.
- Urgency set based on the event priority.
How It Works
Capabilities
Once configured, NudgeBee can perform the following operations with ServiceNow:
| Operation | Description |
|---|---|
| Create Incident | Create incidents with title, description, and urgency |
| Add Work Notes | Add internal work notes to existing incidents |
Supported Incident Fields
| Field | Description |
|---|---|
| Short Description | Incident title |
| Description | Detailed incident description with event context |
| Urgency | Mapped from NudgeBee priority |
Priority Mapping
| NudgeBee Priority | ServiceNow Urgency |
|---|---|
| High | 1 - High |
| Medium | 2 - Medium |
| Low | 3 - Low |
Knowledge Base Sync
When Sync Knowledge Base is enabled, NudgeBee creates an organization-wide knowledge base from your ServiceNow Knowledge Base articles and re-syncs it automatically once a day (08:00 UTC by default); use Retrigger on the knowledge base to sync now. It appears in b-Cortex → Knowledge → Knowledge Base under Integration. These articles are then used by the AI engine to provide context-aware troubleshooting recommendations based on your organization's documented procedures and solutions.
Verify the Integration
- Save the configuration. If credentials are valid, the integration is created without errors.
- Navigate to any event in NudgeBee.
- Click the ticket creation option and select ServiceNow.
- Verify the incident is created in your ServiceNow instance with the correct fields.
Troubleshooting ServiceNow Integration
1. Authentication Fails on Save / Connection Test
- Symptom:
401 UnauthorizedorUser not authenticatedwhen clicking Save. - Root Causes:
- ServiceNow instance requires OAuth 2.0 / Web Service Access Only flags.
- Multi-Factor Authentication (MFA) is enforced on the service user account (ServiceNow REST APIs require either basic auth with an exclusion or an OAuth client).
- Remediation:
- Test authentication directly using
curl:curl -u username:password \-H "Accept: application/json" \https://your-instance.service-now.com/api/now/table/incident?sysparm_limit=1 - Review the instance's REST authentication policy with its administrator. Web service access only restricts interactive UI login; it is not a general-purpose bypass for authentication policies. See ServiceNow REST authentication.
- Test authentication directly using
2. Incident Creation Fails (403 Forbidden / Missing Table ACLs)
- Symptom: NudgeBee fails to create tickets with
ACL exception: User not authorized to insert into incident table. - Root Cause: The service user lacks the necessary ServiceNow roles.
- Remediation:
Assign the following standard roles to the service user in ServiceNow:
itilorincident_manager— Grants create/read/update permissions on theincidentandsys_usertables.knowledge_adminorknowledge— Required if Sync Knowledge Base is enabled.
3. Missing Mandatory Fields on Incident Table
- Symptom: Incident creation fails with
Mandatory field 'caller_id' or 'category' is missing. - Remediation:
- In ServiceNow System Definition $\rightarrow$ Tables $\rightarrow$
incident, check which columns haveMandatory = true. - NudgeBee's ServiceNow connection has no default values for these fields. Make the columns optional, give them a default in ServiceNow (for example with a business rule or dictionary default), or supply them in the ticket task of the automation that creates the incident.
- In ServiceNow System Definition $\rightarrow$ Tables $\rightarrow$
4. Knowledge Base Articles Not Syncing
- Symptom: KB articles are not indexed in NuBi RCA investigations.
- Remediation:
- Ensure Sync Knowledge Base is toggled On in NudgeBee.
- Verify that the service user has read access to the
kb_knowledgetable and that the target KB Base hasWorkflow state = published.