AI Agent for n8n Creator Leaderboard Stats
detail.loadingPreview
Automates the retrieval and analysis of n8n creator and workflow statistics, generating comprehensive Markdown reports via an AI agent.
About This Workflow
This workflow automates the process of gathering data on n8n creators and their workflows from a GitHub repository. It fetches aggregated statistics for creators and detailed workflow metrics, then processes and merges this information. An AI agent, specifically GPT-4o mini, is utilized to generate a detailed Markdown report about a specified n8n creator, analyzing their workflows, popularity, and overall community impact. The output can be saved locally or used for further processing.
Key Features
- Fetches n8n creator and workflow statistics from GitHub.
- Parses and processes JSON data for creators and workflows.
- Limits and sorts data based on key metrics like weekly and monthly inserters/visitors.
- Merges creator and workflow data based on username.
- Filters data for a specific creator username.
- Utilizes an AI agent (GPT-4o mini) to generate a comprehensive Markdown report.
- The AI agent is prompted to provide detailed summaries, workflow tables, community analysis, and additional insights.
- Includes error handling for missing or incomplete data.
- Supports local saving of the generated report.
How To Use
- Trigger: The workflow can be triggered by a chat message (
@n8n/n8n-nodes-langchain.chatTrigger) or by another workflow (n8n-nodes-base.executeWorkflowTrigger). - AI Agent Configuration: The
n8n Creator Stats Agentnode (@n8n/n8n-nodes-langchain.agent) is the core AI component. It receives the user's query (e.g., a creator's username) and uses then8n_creator_statstool. - Tool Definition: The
Workflow Toolnode (@n8n/n8n-nodes-langchain.toolWorkflow) defines then8n_creator_statstool, which is accessible by the AI agent. It expects ausernameas input. - Data Fetching: If the AI agent needs to call the tool, the workflow will execute the
stats_aggregate_creators(n8n-nodes-base.httpRequest) andstats_aggregate_workflows(n8n-nodes-base.httpRequest) nodes to fetch data from the specified GitHub URL. - Data Processing: The fetched JSON data is parsed (
n8n-nodes-base.set), limited (n8n-nodes-base.limit), sorted (n8n-nodes-base.sort), and merged (n8n-nodes-base.merge). - Filtering: The
Filter By Creator Usernamenode (n8n-nodes-base.filter) ensures that only data relevant to the requested creator is processed. - Report Generation: The AI agent then synthesizes the processed data into a Markdown report based on its system message.
- Output: The generated report is processed by
convertToFileand then saved usingreadWriteFile(if configured locally) or can be used as a response.
Apps Used
Workflow JSON
{
"id": "941797e1-fed1-4301-9426-7eeb5b6b7e2e",
"name": "AI Agent for n8n Creator Leaderboard Stats",
"nodes": 15,
"category": "AI",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: 941797e1-fed1...
About the Author
SaaS_Connector
Integration Guru
Connecting CRM, Notion, and Slack to automate your life.
Statistics
Related Workflows
Discover more workflows you might like
Generate Multilingual Image Captions and Overlay
This workflow generates captions for images using Google Gemini and overlays them onto the image, with support for multilingual output.
LangChain Workflow Retriever Example
Demonstrates using LangChain's Retriever QA Chain to query data retrieved from another workflow.
Build an AI Documentation Expert Chatbot with Gemini RAG
This n8n workflow automates the creation of an AI-powered expert chatbot capable of answering questions based on your documentation. It intelligently ingests, cleans, and processes your knowledge base, preparing it for a Retrieval Augmented Generation (RAG) pipeline with Google Gemini.