AI Agent for n8n Creators Leaderboard Stats Analysis

Discover how this n8n workflow automates the retrieval and analysis of community leaderboard data for n8n workflow creators. It generates detailed AI-powered Markdown reports highlighting creator and workflow popularity, saving hours of manual analysis.
httpRequest
lmChatOpenAi
set
+14
Workflow Identifier: 1686
NODES in Use: httpRequest, set, limit, aggregate, filter, ai_languageModel, executeWorkflowTrigger, chatTrigger, toolWorkflow, convertToFile, readWriteFile, agent, merge, splitOut, sort, memoryBufferWindow, stickyNote

Press CTRL+F5 if the workflow didn't load.

Learn how to Build this Workflow with AI:

Visit through Desktop for Best experience

What This Automation Does

This workflow gets data about n8n workflow creators and their workflows from GitHub JSON files.

It finds top creators and popular workflows by counting weekly and monthly inserters and visitors.

It joins creator info with their workflow stats by matching usernames.

You can ask it to focus on one creator by giving a username.

Then, it uses an AI agent with OpenAI GPT-4o-mini to write a Markdown report summarizing stats and community trends.

The report is saved as a Markdown file with a timestamp on your local system.

This saves time by doing all data gathering, processing, and report writing automatically.


Who Should Use This Workflow

Any n8n community member who wants to see leaderboard stats without manual work.

Also good for community managers tracking top workflow creators and popular workflows.

No complex setup needed beyond some API keys and file access.


Tools and Services Used

  • GitHub: Hosts the JSON data files with creator and workflow stats.
  • n8n: Automation platform that runs this workflow.
  • OpenAI GPT-4o-mini: AI model that generates the Markdown report.
  • Local File System: Stores the Markdown report files.

Beginner step-by-step: How to build this in n8n

Step 1: Import the Workflow

  1. Download the workflow file using the Download button on this page.
  2. Open the n8n editor.
  3. Click on Import from File and select the downloaded workflow file.

Step 2: Configure Credentials and Variables

  1. Add OpenAI API credentials in the gpt-4o-mini node settings.
  2. Check the Global Variables node and confirm all GitHub URLs and filenames match your data source.
  3. If needed, update any user names, email addresses, folder paths, or other IDs in the workflow nodes.

Step 3: Test the Workflow

  1. Run the workflow manually to check if it fetches data from GitHub and generates report content.
  2. Look at the execution logs for errors and fix any issues.

Step 4: Activate for Production

  1. Enable the workflow to listen to triggers, such as chat messages or API calls.
  2. Use commands like show me stats for username joe to generate reports.
  3. Check the local file path for saved Markdown files after runs.
  4. Consider self hosting n8n (self-host n8n) for more control.

Inputs, Processing, and Outputs

Inputs

  • Global Variables node has GitHub base URL and filenames for creators and workflows JSON.
  • Chat or API trigger node accepts username input for filtering.

Processing Steps

  • stats_aggregate_creators and stats_aggregate_workflows HTTP Request nodes get JSON data.
  • Parse nodes extract JSON arrays and split them into individual records.
  • Sort nodes order creators and workflows by weekly inserter counts.
  • Filter node limits data to the requested username.
  • Merge node combines creator and workflow info by username.
  • Aggregate node packs all filtered data for the AI prompt.
  • gpt-4o-mini node generates the Markdown report text.
  • Convert to File and Save nodes write the report locally with timestamp.

Outputs

  • Markdown report file saved to local disk, named creator-summary.md with date.

Customizations

  • Change AI prompt in the gpt-4o-mini node to create HTML or PDF reports instead of Markdown.
  • Modify Filter By Creator Username node to support filtering multiple usernames at once.
  • Add nodes to upload the report file to cloud storage automatically, such as Google Drive or Amazon S3.
  • Switch AI models between OpenAI or the local Ollama Chat Model depending on API compliance.
  • Add a Cron node to schedule automatic periodic report generation.

Troubleshooting

HTTP Request Issues

Check GitHub URLs in Global Variables node for accuracy.

Test URLs in a browser to confirm access.

Add retries or error handling to HTTP Request nodes.

AI Agent Issues

Make sure filtered and aggregated data passed to gpt-4o-mini node is complete.

Refine AI prompt for clearer instructions if report is incomplete.

File Saving Problems

Confirm the local save path exists and has write permissions.

Run workflow with correct system access rights.


Pre-Production Checklist

  • Check OpenAI API credentials are valid.
  • Verify GitHub URLs and JSON filenames are current.
  • Test HTTP Request nodes separately.
  • Test username filtering with a known creator.
  • Run the workflow manually for full end-to-end check.
  • Confirm AI output generates proper Markdown reports.
  • Ensure file paths and permissions allow report saving.

Deployment Guide

  1. Import the workflow file into your n8n editor using Import from File.
  2. Set up OpenAI credentials in the gpt-4o-mini node.
  3. Update Global Variables node URLs for GitHub data access.
  4. Make the workflow active and ready to listen for triggers.
  5. Send chat messages or API commands like show me stats for username joe to run the report.
  6. Monitor workflow runs in n8n logs for troubleshooting.
  7. Find saved Markdown reports on your configured local disk path.

Summary of Results

✓ Automates leaderboard data gathering from GitHub JSON files.

✓ Produces easy to read Markdown reports about workflow creators and usage.

✓ Saves reports locally for review or sharing anytime.

✓ Cuts down hours of manual data collection and analysis work.

✓ Allows filtering to focus on specific community creators.

Frequently Asked Questions

Yes. The GPT-4o-mini node can be changed to other OpenAI models or to the Ollama Chat Model node for local AI use.
Common causes include wrong URLs in the Global Variables node, network problems, or GitHub limits on requests.
Make sure the file path exists and the workflow has permission to write there. Check system rights as needed.
Yes, but it limits and sorts data to manageable sizes. Limits can be adjusted based on server capacity.

Promoted by BULDRR AI

Related Workflows

Automate Viral UGC Video Creation Using n8n + Degaus (Beginner-Friendly Guide)

Learn how to automate viral UGC video creation using n8n, AI prompts, and Degaus. This beginner-friendly guide shows how to import, configure, and run the workflow without technical complexity.
Form Trigger
Google Sheets
Gmail
+37
Free

AI SEO Blog Writer Automation in n8n

A complete beginner guide to building an AI-powered SEO blog writer automation using n8n.
AI Agent
Google Sheets
httpRequest
+5
Free

Automate CrowdStrike Alerts with VirusTotal, Jira & Slack

This workflow automates processing of CrowdStrike detections by enriching threat data via VirusTotal, creating Jira tickets for incident tracking, and notifying teams on Slack for quick response. Save hours daily by transforming complex threat data into actionable alerts effortlessly.
scheduleTrigger
httpRequest
jira
+5
Free

Automate Telegram Invoices to Notion with AI Summaries & Reports

Save hours on financial tracking by automating invoice extraction from Telegram photos to Notion using Google Gemini AI. This workflow extracts data, records transactions, and generates detailed spending reports with charts sent on schedule via Telegram.
lmChatGoogleGemini
telegramTrigger
notion
+9
Free

Automate Email Replies with n8n and AI-Powered Summarization

Save hours managing your inbox with this n8n workflow that uses IMAP email triggers, AI summarization, and vector search to draft concise replies requiring minimal review. Automate business email processing efficiently with AI guidance and Gmail integration.
emailReadImap
vectorStoreQdrant
emailSend
+12
Free

Automate Email Campaigns Using n8n with Gmail & Google Sheets

This n8n workflow automates personalized email outreach campaigns by integrating Gmail and Google Sheets, saving hours of manual follow-up work and reducing errors in email sequences. It ensures timely follow-ups based on previous email interactions, optimizing communication efficiency.
googleSheets
gmail
code
+5
Free