Leverage Knowledge Graph prebuild integration with AI agents

  • Release version: Zurich
  • Updated July 31, 2025
  • 2 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 Leverage Knowledge Graph prebuilt integration with AI agents

    The prebuilt integrations of Knowledge Graph enhance the productivity of live agents by assisting AI agents in performing tasks and addressing user queries. This integration is particularly useful for providing personalized responses and executing specific tasks within the ServiceNow platform.

    Show full answer Show less

    Key Features

    • Integration with Now Assist AI agents for User Context: AI agents utilize the User Profile schema to deliver personalized responses by accessing relevant user information.
    • Integration with AI agents as a tool: Knowledge Graph can be employed within AI agents to automate ServiceNow features without additional coding, making it easier to perform defined tasks.

    Key Outcomes

    By leveraging Knowledge Graph, users can expect:

    • Improved personalization in AI responses, leading to a more efficient user experience.
    • The ability to execute complex queries and tasks, such as retrieving asset information or user details seamlessly.
    • Streamlined processes for managing assets and responding to user inquiries through AI agents.

    Overall, the integration of Knowledge Graph with AI agents empowers ServiceNow users to enhance their operational efficiency and service delivery.

    The prebuilt integrations of Knowledge Graph, can improve live agent productivity by assisting AI agents in performing tasks and answering user queries.

    In this release, the available prebuilt integrations with AI agents are:

    1. Integration with Now Assist AI agents for User Context: Helps users with personalized responses.
    2. Integration with AI agents as a tool: Used to perform specific tasks that are assigned to the AI agents.

    Integration with AI agents for User Context

    For the users of Now Assist, AI agents integrates the context from the prebuilt User Profile schema to fetch relevant data and provide personalized responses.

    By leveraging relationships between users, teams, and content, Now Assist AI agents can fetch relevant, permission-aware user information and provide answers to reduce slot-filing requirement.

    Here’s an example use case of how Knowledge Graph is used within AI agents for user context.

    • A user needs assistance in writing their resume, so they use ServiceNow AI agents called Resume builder.
    • The user ads their task: Build my resume.
    • AI agents uses Knowledge Graph to fetch the following information from the user profile schema:
      • First name
      • Last name
      • Location
      • Email ID
      • Phone number
      • Occupation
    • AI agents reverts with the available information and request for the missing information to proceed building the resume.
    • Once the agent as all the required information, it provides user with output.

    Integration with AI agents as a tool

    Knowledge Graph can now be used as a tool within AI agents. Users can choose Knowledge Graph to perform tasks, while creating an Agent.

    You can define the flow action to use Knowledge Graph as a reusable operation in automating the ServiceNow AI Platform features without having to write code.

    See Add a Knowledge Graph to an AI agent to add Knowledge Graph to an AI agents in AI Agent Studio.

    Example use case:
    • A user wants to view and retire all the assets assigned to another user. To execute this task, user will use Asset Manager agent.
    • Asset Manager uses Knowledge Graph to fetch the asset information related to the user.
    • After processing the query, the agent provides the following output:User has the following assets:1.<asset1> 2.<asset2> 3.<productID>- <asset 3> <purchase date>. The email address for the user is <emailId> and username <username1>.
    • User then proceeds with the task of retiring the assets: Proceed with retiring the assets associated with Username1.
    • The next tool, used execute this task, will take the table name and sysId displayed in Knowledge Graph output and proceed with the task.

    Knowledge Graph API output in AI agents

    When a user ask a query What is my Manager's name?, AI agents reaches out to Knowledge Graph to fetch this information. Here's an example output of the query:
    { 
    
        "Manager": [ 
    
            { 
    
                "sys_user": { 
    
                    "user_name": { 
    
                        "value": "abel.tuter", 
    
                        "displayValue": "abel.tuter" 
    
                    }, 
    
                    "sysId": "62826bf03710200044e0bfc8bcbe5df1", 
    
                    "name": { 
    
                        "value": "Abel Tuter", 
    
                        "displayValue": "Abel Tuter" 
    
                    }, 
    
                    "first_name": { 
    
                        "value": "Abel", 
    
                        "displayValue": "Abel" 
    
                    }, 
    
                    "last_name": { 
    
                        "value": "Tuter", 
    
                        "displayValue": "Tuter" 
    
                    } 
    
                } 
    
            } 
    
        ] 
    
    } 

    In this example, the table that is called is sys_user and column referred is user_name. The output also displays SysId , example: "sysId": "62826bf03710200044e0bfc8bcbe5df1".