DocsIntegrations

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

CapabilityValue
Provider IDservicenow
Auth kindapi_key
Connect flowInline OAuth 2.0 Client Credentials or Basic Auth
ActionsYes
EventsNo
Webhook deliveryNo
Event samplesNo
Live statusYes

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.

  1. In ServiceNow, open System Properties (sys_properties) and confirm that glide.oauth.inbound.client.credential.grant_type.enabled is set to true.
  2. Create a dedicated integration user (sys_user) with Web service access only enabled so it cannot sign in to the browser UI. Grant snc_platform_rest_api_access plus the minimum table-level ACL roles needed (avoid blanket admin).
  3. Open System OAuth > Application Registry > New and choose Create an OAuth API endpoint for external clients.
  4. Assign your dedicated integration user in the OAuth Application User field. If the field is hidden, add it through Configure > Form Layout.
  5. Copy the Instance URL (for example https://acme.service-now.com), Client ID, and Client Secret.
  6. 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 example incident, 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:

  1. Create a dedicated Web service access only user with snc_platform_rest_api_access and minimal table ACL roles.
  2. In Mobius, open Settings > Connected accounts, choose ServiceNow, set Auth method to basic, and enter Instance URL, Username, and Password.
SurfaceSupport
AppOpen Settings > Connected accounts, choose ServiceNow, and submit your instance URL and credentials.
CLIInspect actions with mobius catalog get-action servicenow.table.query.
APICall 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_id before saving.
  • Encrypted secrets: client_id, client_secret, username, and password are sealed in encrypted credentials and never written to plaintext connection metadata.
  • Strict host allowlist: Only HTTPS origins on port 443 ending in .service-now.com or .servicenowservices.com are 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, and sys_auth_profile) are always denied even if included in allowed_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
ActionModeWhat it does
servicenow.table.queryRead-onlyQueries an allowlisted table using sysparm_query, field projection, display_value (false, true, all), and limit/offset pagination (default 25, max 100).
servicenow.record.getRead-onlyFetches one record by table name and 32-character hexadecimal sys_id.
servicenow.record.createWriteInserts 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.updateWriteApplies 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_noteWriteAppends an internal-only work_notes entry visible to fulfillers; never emails external customers.
servicenow.record.add_commentDestructivePosts a customer-visible comments entry that triggers external email and portal notifications. Holds for approval under destructive or writes approval modes.
servicenow.record.deleteDestructivePermanently hard-deletes a record by table name and sys_id. Holds for approval under destructive or writes approval modes.
servicenow.table.schemaRead-onlyInspects column names, labels, types, mandatory/read-only flags, reference targets, and custom u_* fields from sys_dictionary.
servicenow.attachment.listRead-onlyLists attachment metadata (sys_id, file_name, content_type, size_bytes) filtered by table_name and optional table_sys_id.
servicenow.attachment.downloadWriteDownloads 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_note for automated triage summaries, log findings, and internal escalations.
  • Use servicenow.record.add_comment when replying to the caller or customer. Because it triggers outbound notifications, new Mobius assistants (which default to destructive approval 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.enabled is true in sys_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-servicenow skill in tools and skills.