n8napi-check-workflow-which-model-is-using

This workflow automatically detects and summarizes the AI model information used by all workflows in the current instance. It extracts the model IDs and names associated with each node and exports the results to Google Sheets. Through batch processing, users can quickly understand the model invocation status in a multi-workflow environment, avoiding the tediousness of manual checks and enhancing project management transparency and operational efficiency. It is suitable for automation engineers, team managers, and data analysts.

Tags

n8n AutomationModel Monitoring

Workflow Name

n8napi-check-workflow-which-model-is-using

Key Features and Highlights

This workflow automatically detects and aggregates AI model usage information across all workflows within the current n8n instance. It accurately extracts the model IDs and names associated with each node and exports the results to a Google Sheets spreadsheet for easy management and analysis. Supporting batch processing, it ensures data clarity and organization.

Core Problem Addressed

In multi-workflow environments, developers and automation administrators often struggle to quickly identify which workflows invoke which AI models. This workflow automates scanning and filtering to help users rapidly locate and consolidate AI model usage within workflows, eliminating the complexity and potential omissions of manual inspection.

Use Cases

  • AI-driven automation project management
  • Monitoring model usage across multiple workflows
  • Automated operations and model compliance auditing
  • Providing a unified view of model usage for team collaboration

Main Process Steps

  1. Manual Trigger: Initiate the detection process via the “Test workflow” node.
  2. Retrieve All Workflows: Call the n8n API to fetch all workflow data from the current instance.
  3. Filter Workflows Containing Model IDs: Select workflows that include nodes invoking AI models, excluding the detection workflow itself.
  4. Batch Iterate Through Workflow Nodes: Split the filtered workflows into batches and decompose their node lists one by one.
  5. Filter Nodes with Model IDs: Identify nodes that actually call AI models.
  6. Organize Field Data: Extract and uniformly format node name, model ID, model name, workflow name, workflow ID, and jump URL.
  7. Clear Google Sheets Data: Clean the target Google Sheets to ensure complete data refresh.
  8. Save Aggregated Data to Google Sheets: Append the organized data to Google Sheets, generating a real-time usage report.

Involved Systems or Services

  • n8n API: Used to retrieve workflow lists and detailed node information.
  • Google Sheets: Serves as the data storage and visualization platform for managing workflow and model usage.
  • Manual Trigger Node: Controls the initiation of the process.

Target Users and Value

  • Automation engineers and developers: Quickly grasp AI model invocation across projects to support optimization and maintenance.
  • Team managers and operations personnel: Facilitate unified monitoring of model usage compliance and resource allocation.
  • Data analysts and product managers: Leverage clear data to support decision-making and resource planning.

This workflow significantly simplifies the management of AI model usage in multi-workflow environments, enhancing transparency and operational efficiency in automation projects.

Recommend Templates

OpenAI Assistant with Custom n8n Tools

This workflow integrates the OpenAI intelligent assistant with custom tools, providing flexible intelligent interaction capabilities. Users can easily inquire about the capital information of fictional countries, supporting input of country names or retrieval of country lists, enhancing the practicality of the conversation. Additionally, the built-in time retrieval tool adds temporal context to the dialogue, making it suitable for various scenarios such as smart customer service and educational entertainment, thereby optimizing the efficiency and accuracy of data queries.

Smart AssistantCustom Tools

Make OpenAI Citation for File Retrieval RAG

This workflow combines OpenAI assistants with vector storage technology to implement a document retrieval and question-answering function. It can accurately extract relevant content from a document library and generate text with citations. It supports Markdown formatting and HTML conversion, enhancing the readability and professionalism of the output content while ensuring the reliability of the generated information. This makes it suitable for various scenarios such as intelligent Q&A, content creation, enterprise knowledge management, and educational research.

File RetrievalRAG QA

Scrape Latest Paul Graham Essays

This workflow is designed to automate the scraping of the latest articles from Paul Graham's official website, extracting article links and obtaining titles and body content. It utilizes the OpenAI GPT-4 model to intelligently generate article summaries, ultimately integrating structured data that includes titles, summaries, and links. Through this process, users can efficiently acquire and understand Paul Graham's core insights, making it applicable to various scenarios such as content planning, research, and media editing, significantly enhancing information processing efficiency.

Web ScrapingSmart Summary

YouTube Video Automatic Transcription and Intelligent Content Analysis Workflow

This workflow automatically receives YouTube video links through an interface, extracts video information and subtitles, and utilizes a large language model to perform structured summarization and analysis of the subtitles, generating clear technical summaries. At the same time, it provides real-time feedback of the analysis results to the caller and pushes the video title and link via Telegram, significantly enhancing the efficiency of video content processing and helping users quickly understand the core information of the video. It is applicable in various fields such as education, content creation, research, and enterprise knowledge management.

Video TranscriptionSmart Analytics

Google Drive Automation

This workflow implements automatic monitoring and processing of PDF files in a specific folder on Google Drive, including file downloading, content extraction, and cleaning. The processed document content is converted into vector embeddings and stored in a Pinecone database, while also supporting users in intelligent Q&A through a chat interface, providing accurate answers by incorporating contextual information. This process enhances document management efficiency and simplifies information retrieval, making it suitable for businesses and teams to quickly access the required document information.

Google Drive AutomationSmart Q&A

Jira Retrospective

This workflow automatically monitors the status of Epic tasks in Jira. Once marked as "Done," it retrieves the relevant issues and comments, and uses AI analysis to generate a detailed agile retrospective report. Finally, the report is automatically updated in a structured Markdown format to a designated Google Docs document, ensuring that the content is clear and standardized, making it easy for the team to share and archive. This significantly improves the team's efficiency and quality in project summarization and experience sharing.

Jira AutomationAgile Retrospective

RAG Workflow for Stock Earnings Report Analysis

This workflow utilizes intelligent methods to automatically analyze quarterly financial reports of publicly listed companies, extract key information, and generate structured financial analysis reports. It combines vector databases and AI technology to quickly identify financial trends and anomalies, improving analysis efficiency and reducing human errors. The final report is automatically saved to Google Docs for easy viewing and sharing, making it suitable for financial analysts, investors, and corporate finance teams, thereby supporting informed decision-making and in-depth insights.

Financial AnalysisRAG Technology

Build an OpenAI Assistant with Google Drive Integration

This workflow seamlessly integrates an AI smart assistant with Google Drive, providing intelligent Q&A services based on document content. Users can upload important documents, and the system automatically updates the assistant's knowledge base, enabling it to respond to customer inquiries in a professional and friendly manner. This automated process significantly enhances the speed and accuracy of customer consultations, making it particularly suitable for travel agencies and business scenarios that require document support, helping companies reduce labor costs and improve service quality.

Intelligent Q&AGoogle Drive Integration