Enterprise Architecture AI agent diagramming agentic workflow

  • Release version: Zurich
  • Updated March 12, 2026
  • 3 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 Enterprise Architecture AI Agent Diagramming Agentic Workflow

    The Enterprise Architecture AI agent diagramming agentic workflow in ServiceNow enables users to generate and summarize enterprise architecture diagrams that visualize business applications hierarchy. This AI-powered workflow helps enterprise architects and non-experts quickly create and understand detailed business hierarchy diagrams through conversational interaction within the ServiceNow Otto panel.

    Show full answer Show less

    The workflow accelerates diagram creation, providing a clear overview of business application entities and their relationships. It is particularly valuable for enterprise architects aiming to enhance modeling efficiency and for other stakeholders seeking contextual understanding of architectural diagrams.

    Key Features

    • AI-driven Diagram Generation: Users interact with the Enterprise Architecture diagrams AI agent via the ServiceNow Otto panel to generate detailed business application hierarchy diagrams.
    • Summarization Capability: After diagram creation, the AI agent offers a summary that lists entities and explains relationships within the business application hierarchy.
    • Agentic Workflow Template: The workflow can be activated and customized by duplicating the template and adjusting instructions to meet specific organizational needs.
    • Role-Based Access Control: Requires the ServiceNow Otto Panel user role (nowassistpaneluser) to access the panel and the Enterprise Architecture user role (snapm.apmuser) to utilize the diagram generation workflow, with options to add more roles via access control configuration.
    • Easy Activation and Testing: Admins can enable the workflow via AI Agent Studio, configure security roles, and test workflows with example prompts through the ServiceNow Otto panel.

    Using the Workflow

    • Invoke the workflow by selecting the ServiceNow Otto icon within the instance and entering a prompt that includes the word “diagram” (e.g., “Create a diagram for XYZ business application”).
    • Follow customization steps if needed by duplicating and editing the agentic workflow template.
    • Administrators manage access and security roles to ensure appropriate user permissions for workflow execution.
    • Testing can be performed directly within AI Agent Studio to validate the workflow’s behavior before production use.

    Benefits for ServiceNow Customers

    • Speeds up enterprise architecture diagram creation, reducing manual effort and time.
    • Enables clearer communication and understanding of business application structures across technical and non-technical teams.
    • Provides flexibility to tailor the AI agentic workflow to specific organizational requirements.
    • Ensures secure and role-based access to sensitive enterprise architecture functions.

    Use the Enterprise architecture diagrams AI agent to generate Enterprise Modeling and Visualization diagrams for business applications hierarchy and summarize them.

    Note:
    Depending on your license, you will have access to certain application features, generative AI skills, agentic workflows, and AI agents. For more information, see .

    Generate enterprise architecture diagram overview

    Use the Generate enterprise architecture diagram agentic workflow to create enterprise architecture diagrams for business applications hierarchy, through a conversation with an AI agent in the ServiceNow Otto panel. This agentic workflow accelerates the time to value for enterprise architects while building business hierarchy diagrams. It also enables non-enterprise architects to understand the context of an architectural diagram.

    After generating the diagram, the AI agent suggests summarizing the created business application hierarchy diagram, listing all entities in the diagram and describing the relationship between them.

    You can activate the agentic workflow template by setting the display settings to include the ServiceNow Otto panel. To change instructions for this agentic workflow, duplicate it and adjust the settings to suit your specific needs. Then activate the duplicated version instead. For information on how to duplicate a agentic workflow, see duplicate the agentic workflow.

    Important:
    • The ServiceNow Otto Panel user role (now_assist_panel_user) is required to view the ServiceNow Otto panel on your instance.
    • The Enterprise Architecture user role (sn_apm.apm_user) is required to use the Generate enterprise architecture diagram agentic workflow.

    Role masking

    Required role: sn_apm.apm_user.

    Generate enterprise architecture diagram agentic workflow

    Generate Enterprise Architecture diagrams for business applications hierarchy and summarize them.

    For Admins to access or enable the agentic workflow:
    1. Navigate to All > AI Agent Studio > Create and manage.
    2. Select Generate enterprise architecture diagram.
    For users to invoke the agentic workflow:
    1. Select the ServiceNow Otto icon (ServiceNow Otto icon.) anywhere in your instance.
    2. Enter a prompt to create a diagram for a particular business application.

      It’s essential that your prompt contains the word diagram in some form. An example prompt is Create a diagram for XYZ business application.

    AI Agents used in the Generate enterprise architecture diagram agentic workflow

    The Enterprise architecture diagrams AI agent is used in the Generate enterprise architecture diagram agentic workflow.

    Activate the Generate enterprise architecture diagram agentic workflow

    To activate the Generate enterprise architecture diagram agentic workflow, follow the steps mentioned in Activate an agentic workflow template.
    Note:
    No triggers are required for the Generate enterprise architecture diagram agentic workflow.

    However, in the Define security controls page, in the Define user access section, you can review the roles that can access the agentic workflow. For Generate enterprise architecture diagram agentic workflow, sn_apm.apm_user role is applied by default.

    To add access to more roles, perform the following:
    1. Set your application scope to ServiceNow Otto for Enterprise Architecture (EA). For information on how to change the application scope, see Select an application from the application picker.
    2. Select the edit icon (Edit icon.).
    3. On the Access Control page, in the Requires role section, select Insert new row.

      Access Control page for Generate Enterprise Architecture Diagram agentic workflow with a row to add new roles highlighted.

    4. On the pop-up window, enter the new role and select the save icon (Save icon.).

      Save icon highlighted in the Requires role section.

    5. Select the header of the access control record and select Save.

      The new role is added to the Define user access section of the Define security controls page.

      Note:
      To know more about security in ServiceNow Otto AI agents with Access Control Lists (ACLs), see Implement access control in Now Assist AI agents.
    Also, on the Select channels and status page, do the following:
    1. Enable the Display toggle for Engage via the ServiceNow Otto panel.
    2. Select Save and test.
    3. On the Test on example of behavior page, in the Task box, enter an instruction to test the Generate enterprise architecture diagram agentic workflow.

      An example instruction: Create a business hierarchy map for XYZ business application.

    4. Select Continue to test chat response.

      The agent executes the request for the agentic workflow.

    Generate enterprise architecture diagram agentic workflow output in the ServiceNow AI Agent Studio.

    To view information on how to create AI agents and agentic workflows and how to use the AI Agent Studio, see the following: