Contract repository AI agent

reference brazil Updated Jun 1, 2026 2 min read cm-contract-repository-ai-agent.md
Raw file servicenow.com

This AI agent retrieves contract repository details for a specified record, including vendor information, contract model, and document attachment IDs. It also calculates the average lead time for similar contracts when vendor, supplier, or account data exists.

Workflow

The agent retrieves contract repository details and starts metadata and obligation extraction for a specified record. It also initiates asynchronous extraction of key metadata from contract documents, such as effective dates, renewal and termination notice periods, and auto-renewal clauses.

  1. Retrieve the contract repository details for the specified record, including vendor, supplier, or account information, the contract model, and whether the obligations plugin is active.
  2. Start metadata extraction for the contract document, such as effective date, end date, and renewal and termination notice periods, without waiting for it to finish, and continue even if it encounters an error.
  3. If the obligations plugin is active, also start extraction of contractual obligations from the document without waiting for it to finish, and continue even if it encounters an error.
  4. If vendor, supplier, or account information is available, calculate the average lead time for similar contracts.
  5. Complete these steps automatically without asking the user for any input.

Field

Description

Allow third party to access this AI agent

When enabled, third-party AI agents can use this agent. This value is off (false) by default. This setting is defined in the AI Agent configs [sn_aia_agent_config] table on the External discoverable field.

Allow AI specialists to access this AI agent

When enabled, AI specialists can use this agent. This value is off (false) by default. When set to true, more configuration options for tools become available so that an AI specialist can map inputs and response templates to tool outputs. This setting is defined in the AI Agent configs [sn_aia_agent_config] table on the Specialist enabled field.

Manage long-term memory

When enabled, all previous user interactions are used as context for the LLM. This value is off (false) by default. This setting is defined by the sn_aia.ltm.enable_long_term_memory system property. For more information, see ServiceNow Otto AI agents reference.

Tools

  • Scripts

Calculate average lead time of similar contracts

Get Contract repository details

Initiate metadata extraction

Initiate Obigation Extraction

Allowed user roles The specific user roles that can access this AI agent.

sn_cm_gen_ai.ai_contract_fulfiller

Data access roles The specific user identity roles that determine which data the AI agent can access and what actions it can take.

sn_cm_gen_ai.ai_contract_fulfiller, sn_lg_ops.request_fulfiller, sn_cm_core.contract_fulfiller, contract_manager, sn_cm_obligation.obligation_fulfiller

Triggers

Activate the following business rules to trigger the agent.- Agentic AI - Set reminders for contract

  • Agentic AI Set reminders for Econtract

business rule to trigger the agent.

Channels

Enable the AI agent for the ServiceNow Otto panel.

Used in agentic workflows

Renewal notice period remainder

For more information, see [Contract Management Pro](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/brazil/markdown/employee-service-management/cncore-cmpro-landing-page.md).

Parent Topic:Contract Management Pro AI agents

Search documentation
Search document titles and file paths on the brazil branch