ServiceNow
ServiceNow lets Mobius assistants query, inspect, create, update, comment on, and archive attachments from ServiceNow ITSM and CSM tables.
A ServiceNow integration connects a ServiceNow instance — production,
sub-production, or a free Personal Developer Instance (PDI) — directly to Mobius
over the ServiceNow Table API and Attachment API. Assistants and routines can
triage incidents (incident), work Customer Service Management cases
(sn_customerservice_case), track Service Catalog items (sc_req_item), review
changes (change_request), inspect sys_dictionary schemas, log internal work
notes, post customer-visible comments with human approval, and archive
attachments into the Mobius Library.
Because each ServiceNow connection is workspace-scoped and keyed by
instance_host, MSPs and IT partners can connect multiple client instances
side by side and grant each assistant access only to the instances it serves.
Capability map
| Capability | Value |
|---|---|
| Provider ID | servicenow |
| Auth kind | api_key |
| Connect flow | Inline OAuth 2.0 Client Credentials or Basic Auth |
| Actions | Yes |
| Events | No |
| Webhook delivery | No |
| Event samples | No |
| Live status | Yes |
Connect ServiceNow
Mobius supports OAuth 2.0 Client Credentials (recommended on Washington DC and newer releases) and an optional Basic Auth fallback for older instances.
Option 1: OAuth 2.0 Client Credentials (recommended)
- In ServiceNow, open System Properties (
sys_properties) and confirm thatglide.oauth.inbound.client.credential.grant_type.enabledis set totrue. - Create a dedicated integration user (
sys_user) with Web service access only enabled so it cannot sign in to the browser UI. Grantsnc_platform_rest_api_accessplus the minimum table-level ACL roles needed (avoid blanketadmin). - Open System OAuth > Application Registry > New and choose Create an OAuth API endpoint for external clients.
- Assign your dedicated integration user in the OAuth Application User field. If the field is hidden, add it through Configure > Form Layout.
- Copy the Instance URL (for example
https://acme.service-now.com), Client ID, and Client Secret. - In Mobius, open Settings > Connected accounts, choose ServiceNow,
leave Auth method blank (defaults to
client_credentials), paste the Instance URL, Client ID, and Client Secret, and optionally enter a comma-separated Allowed tables list (for exampleincident, sn_customerservice_case, sc_req_item, change_request).
Option 2: Basic Auth service account (pre-Washington DC fallback)
Use this fallback when your instance predates Washington DC or cannot enable inbound OAuth Client Credentials:
- Create a dedicated Web service access only user with
snc_platform_rest_api_accessand minimal table ACL roles. - In Mobius, open Settings > Connected accounts, choose ServiceNow, set
Auth method to
basic, and enter Instance URL, Username, and Password.
| Surface | Support |
|---|---|
| App | Open Settings > Connected accounts, choose ServiceNow, and submit your instance URL and credentials. |
| CLI | Inspect actions with mobius catalog get-action servicenow.table.query. |
| API | Call POST /v1/integrations with provider servicenow and credentials of { "instance_url", "auth_method?", "client_id?", "client_secret?", "username?", "password?", "allowed_tables?" }. |
Security guardrails
- Live credential check: Mobius validates credentials against
GET /api/now/table/sys_user?sysparm_limit=1&sysparm_fields=sys_idbefore saving. - Encrypted secrets:
client_id,client_secret,username, andpasswordare sealed in encrypted credentials and never written to plaintext connection metadata. - Strict host allowlist: Only HTTPS origins on port 443 ending in
.service-now.comor.servicenowservices.comare accepted, dialed over Mobius's public-IP-only HTTP client with redirects disabled. - Table protection: Sensitive system tables (
oauth_credential,oauth_entity,sys_properties,sys_certificate,sys_user_token,sys_user_has_password,discovery_credentials, andsys_auth_profile) are always denied even if included inallowed_tables.
After connecting, grant the connection to the assistants that should use it under Assistant access.
Actions
servicenow.table.query
servicenow.record.get
servicenow.record.create
servicenow.record.update
servicenow.record.add_work_note
servicenow.record.add_comment
servicenow.record.delete
servicenow.table.schema
servicenow.attachment.list
servicenow.attachment.download| Action | Mode | What it does |
|---|---|---|
servicenow.table.query | Read-only | Queries an allowlisted table using sysparm_query, field projection, display_value (false, true, all), and limit/offset pagination (default 25, max 100). |
servicenow.record.get | Read-only | Fetches one record by table name and 32-character hexadecimal sys_id. |
servicenow.record.create | Write | Inserts a new record into an allowlisted table (single non-retried POST). Refuses comments and comments_and_work_notes so customer-visible replies always route through servicenow.record.add_comment. |
servicenow.record.update | Write | Applies a partial PATCH update to an existing record. Refuses comments and comments_and_work_notes directly so customer-visible replies always route through servicenow.record.add_comment. |
servicenow.record.add_work_note | Write | Appends an internal-only work_notes entry visible to fulfillers; never emails external customers. |
servicenow.record.add_comment | Destructive | Posts a customer-visible comments entry that triggers external email and portal notifications. Holds for approval under destructive or writes approval modes. |
servicenow.record.delete | Destructive | Permanently hard-deletes a record by table name and sys_id. Holds for approval under destructive or writes approval modes. |
servicenow.table.schema | Read-only | Inspects column names, labels, types, mandatory/read-only flags, reference targets, and custom u_* fields from sys_dictionary. |
servicenow.attachment.list | Read-only | Lists attachment metadata (sys_id, file_name, content_type, size_bytes) filtered by table_name and optional table_sys_id. |
servicenow.attachment.download | Write | Downloads an attachment (up to 25 MiB) into the Mobius Library with source provenance and idempotent deduplication, returning artifact_id and library_path. |
Internal notes vs customer comments
ServiceNow distinguishes internal fulfiller notes (work_notes) from external
customer comments (comments):
- Use
servicenow.record.add_work_notefor automated triage summaries, log findings, and internal escalations. - Use
servicenow.record.add_commentwhen replying to the caller or customer. Because it triggers outbound notifications, new Mobius assistants (which default todestructiveapproval mode) pause for human approval before posting.
Troubleshooting
"ServiceNow rejected these OAuth credentials (401 or invalid_client)"
- Confirm
glide.oauth.inbound.client.credential.grant_type.enabledistrueinsys_properties. - Open your OAuth Application Registry record and confirm an OAuth Application User is assigned (reveal the field via Configure > Form Layout if hidden).
- Confirm the integration user is active, not locked out, and has
snc_platform_rest_api_access.
Personal Developer Instance (PDI) hibernation or reclamation
Free ServiceNow PDIs hibernate after idle periods and are reclaimed after 10 days without a direct browser login (REST calls do not reset the timer). Wake the instance from the ServiceNow Developer Portal before testing live actions.
Missing fields in query responses
ServiceNow silently omits columns when the integration user lacks field-level
read ACLs rather than returning HTTP 403. Run servicenow.table.schema to
verify column names and inspect table ACLs for the integration user.
Events
ServiceNow does not register native webhook subscriptions. Use a
routine with servicenow.table.query ordered by
ORDERBYDESCsys_updated_on to poll for newly created or updated tickets.
Next
- Connect and grant accounts in Connect accounts.
- Control approval prompts for customer comments and deletes in actions.
- Schedule ticket triage and polling with routines.
- Learn how assistants load the built-in
use-servicenowskill in tools and skills.