Manage contract repository agentic workflow

  • Release version: Yokohama
  • Updated July 31, 2025
  • 5 minutes to read
  • Summarize
    Summarized using AI
    This content was generated using new OpenAI-powered functionality. Results are provided on an as is basis and are not guaranteed to be accurate or complete.

    Summary of Manage contract repository agentic workflow

    The Manage contract repository agentic workflow automates the extraction of key metadata and contractual obligations from signed contracts, and sets reminder dates for contract renewal or termination. This workflow enhances productivity by enabling contract administrators and managers to efficiently review and act on AI-extracted contract information. To utilize this workflow, specific roles and data access permissions must be configured, and relevant business rules activated.

    Show full answer Show less

    Key Features

    • Metadata Extraction and Contract Reminders: The AI agent extracts critical metadata such as contract vendor, model, and document details. Contract Managers review this data and set reminder dates based on contract end dates, auto-renewal clauses, and notice periods (default notice periods apply if not explicitly available).
    • Obligation Extraction: The AI agent extracts contractual obligations, which Contract Managers can accept or reject. Accepted obligations are added to the contract record's Obligations tab, and obligation tasks are created following defined schedules. Assigned users are notified and manage these tasks through completion and approval stages.
    • Automated Workflows: Both metadata and obligation extraction processes are triggered automatically when a contract record is created, provided the assigned users or group managers have the required AI and Now Assist roles.
    • Now Assist Integration: The workflow leverages Now Assist skills for metadata and obligation extraction and is accessible through the Now Assist panel (not supported in the Virtual Agent panel).
    • Role and Permission Requirements: Users must have roles such as sncmgenai.aicontractfulfiller and nowassistpaneluser, and administrators must configure API credentials if using a generative AI provider other than Now LLM Service.
    • AI Agent Studio Management: Workflow configuration and monitoring are managed via AI Agent Studio under “Manage contract repository”.

    Practical Application

    ServiceNow customers can leverage this workflow to automate contract management tasks, reducing manual effort and improving accuracy in tracking contract metadata, reminders, and obligations. Contract administrators activate the necessary AI skills and business rules, then contract managers review AI outputs to ensure data quality and set up notifications. This enables proactive contract lifecycle management and obligation fulfillment.

    Important Considerations

    • The workflow triggers automatically based on user roles and contract record creation.
    • Customizations to the workflow require updating script includes to maintain autonomous operation.
    • Notifications and task assignments ensure accountability and progress tracking for obligation tasks.

    Use the manage contract repository agentic workflow to improve productivity by extracting metadata and obligations automatically from signed contracts and setting the contract reminder dates for contract renewal or termination.

    Manage contract repository overview

    Important:
    The manage contract repository agentic workflow uses an AI agent to do the following sequentially.
    • Extract metadata from signed contracts.
    • Calculate the contract reminder date for renewal and termination.
    • Extract obligations from signed contracts.

    Metadata extraction and contract reminders

    The AI agent uses Now Assist contract metadata extraction skill to extract key metadata from signed contracts. Once the metadata extraction is complete, you can open the playbook to review the extracted information and set the contract reminder date.

    The following workflow explains the metadata extraction and contract reminder setup process.
    1. As a Contract Admin with the AI role, activate the contract metadata extraction skill in the Now Assist Admin console.
    2. As a Contract Admin, activate the business rules.
    3. The metadata extraction process is automatically initiated when a contract record is created.
    4. Once the extraction is complete, the Contract Manager with the AI role receives a notification indicating that the metadata is ready for review.
    5. The Contract Manager reviews the extracted metadata and submits it to update the contract repository.
    6. The contract reminder date is then calculated based on the following factors:
    7. The Contract Manager sets the contract reminders in the playbook by reviewing the calculated date and configuring the recipient list for the reminders.

    For more information, see Review AI-extracted metadata and contract reminder date.

    Obligation extraction

    The AI agent uses Now Assist contract obligation extraction skill to extract key contractual obligations from contracts. Once extracted, you can review the obligations within the contract playbook and choose to accept or reject them. Accepted obligations are added as records in the Obligations tab of the contract record.

    The following workflow explains the obligation extraction process.
    1. As a Contract Admin with the AI role, activate the contract obligation extraction skill in the Now Assist Admin console.
    2. As a Contract Admin, activate the business rules.
    3. The obligation extraction process is automatically initiated when a contract record is created.
    4. Once the extraction is complete, the Contract Manager with the AI role receives a notification indicating that obligations are ready for review.
    5. The Contract Manager reviews the extracted obligations within the contract playbook. Each obligation can be accepted or rejected based on relevance.
    6. Approved obligations are automatically added as obligation records in the Obligations tab of the contract record.
    7. Obligation tasks are created.
      • For a recurring schedule, the obligation tasks are automatically created for the obligation record based on the defined schedule.
      • For an ad hoc schedule, the contract manager creates an obligation task from the Obligation tasks tab in the contract record.
    8. The assigned user is notified when the obligation task is created.
    9. The assigned user works on the obligation task and submits it for review.

      The state of the obligation task changes from Open to Awaiting approval.

    10. The Obligation Fulfiller reviews the task and approves or rejects it.
      • If the obligation task is rejected, the state of the task changes to Open, and the assigned user continues to work on it.
      • If the obligation task is approved, the state of the task changes to Completed.
    For more information, see Review AI-extracted obligations.

    Conditions for the agentic workflow to trigger

    The manage contract repository agentic workflow for a non-self-served request is triggered as soon as the contract repository record is created and the Assigned to user in the request has the sn_cm_gen_ai.ai_contract_fulfiller and now_assist_panel_user role.

    The manage contract repository agentic workflow for a self-served request is triggered as soon as the contract repository record is created and the following conditions are met:
    • The group manager of the Assignment group has the now_assist_panel_user role.
    • If there’s no group manager for the Assignment group, one of the users in the Assignment group has the now_assist_panel_user role.
    • If the user requested changes on the contract request, the Assigned to user or the group manager in the request has the sn_cm_gen_ai.ai_contract_fulfiller and now_assist_panel_user role.
    Contract fulfillers and assignment group managers with the now_assist_panel_user role can view the agentic workflow conversation in the Now Assist panel.
    Note:
    The agentic workflow isn’t supported in the Virtual Agent panel.

    Accessing the agentic workflow

    Role required: sn_aia.admin

    If your generative AI service provider isn’t Now LLM Service, ensure that the API connections and credentials are configured. For more information, see Configuring API credentials for generative AI capabilities.

    1. Navigate to All > AI Agent Studio > Create and manage.
    2. Select Manage contract repository.

    AI agents used in the manage contract repository agentic workflow

    Table 1. AI agents names and descriptions
    Name Description
    Contract Repository AI agent Uses various tools to perform the following:
    • Retrieves the contract repository details, such as contract vendor, contract model, contract document's attachment ID, and so on from a specific contract repository record.
    • Extracts metadata from signed contact documents based on the applicable use case in the contract metadata extraction skill.
    • Extracts obligations from signed contact documents based on the applicable use case in the contract obligation extraction skill.
    • Calculates the average lead time for similar contracts.