Enterprise Architecture AI agent generate enterprise architecture diagram agentic workflow

  • Release version: Xanadu
  • Updated March 7, 2025
  • 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 Generate Enterprise Architecture Diagram Agentic Workflow

    The Enterprise Architecture AI agent enables ServiceNow customers to quickly generate enterprise architecture diagrams that visualize business applications hierarchy. Through an interactive conversation within the Now Assist panel, users can create and summarize business hierarchy diagrams, accelerating value delivery for enterprise architects and improving understanding for non-architect stakeholders.

    Show full answer Show less

    Key Features

    • Agentic Workflow: The "Generate enterprise architecture diagram" agentic workflow guides users step-by-step to create architectural diagrams and summaries.
    • Interactive Diagram Generation: Diagrams are generated via prompts entered in the Now Assist panel, which must include the word "diagram" to initiate the process (e.g., "Create a diagram for XYZ business application").
    • Summarization: After diagram creation, the AI agent provides a summary listing all entities and their relationships within the business application hierarchy.
    • Customization: Customers can duplicate and customize the agentic workflow template to tailor instructions and settings as needed.
    • Role-Based Access: Uses ServiceNow roles for access control. The nowassistpaneluser role is required to view the Now Assist panel, and the snapm.apmuser role is required to use the workflow. Additional roles can be granted access by editing the workflow’s access control settings.

    Activation and Usage

    • For Admins: Enable or access the workflow via AI Agent Studio under “Create and manage” by selecting the "Generate enterprise architecture diagram" workflow.
    • For Users: Invoke the workflow by clicking the Now Assist icon anywhere in the ServiceNow instance and entering a suitable prompt containing "diagram".
    • Enabling the Workflow: Activate the template through the specified activation steps; no triggers are needed, but role-based access must be configured appropriately.
    • Testing: Users can test the workflow by entering instructions in AI Agent Studio’s test interface, allowing verification of diagram generation requests.

    Practical Benefits

    • Speeds up the creation of complex enterprise architecture diagrams, reducing manual effort.
    • Improves communication and understanding of business application hierarchies across technical and non-technical stakeholders.
    • Provides flexibility to customize and control access to the AI-driven workflow, fitting various organizational requirements.
    • Integrates seamlessly with ServiceNow’s Now Assist panel and AI Agent Studio for a consistent user experience.

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

    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 Now Assist 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 Now Assist panel. If you want to change instructions for this agentic workflow, you must duplicate the agentic workflow, adjust the settings to suit your specific needs, and activate the duplicated version of the agentic workflow instead. For information on how to duplicate a agentic workflow, see duplicate the agentic workflow.

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

    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 Now Assist icon (Now Assist 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 key requirements page, in the Define who can access this agentic workflow 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 Now Assist 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 who can access this agentic workflow section of the Define key requirements page.

      Note:
      To know more about security in Now Assist AI agents with Access Control Lists (ACLs), see Implement access control in Now Assist AI agents.
    Also, on the Select a UI display page, do the following:
    1. Enable the Display toggle.
    2. Select Save and test.
    3. On the Choose and AI agent or agentic workflow 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 Start Test.

      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: