Automate n8n Creator Leaderboard Stats with OpenAI & Google APIs

This workflow automates reporting on top n8n community creators and workflows by aggregating GitHub data, generating Markdown reports with OpenAI and Google Gemini AI, and sharing via Gmail, Google Drive, and Telegram. Save hours and get detailed insights effortlessly.
httpRequest
set
aggregate
+18
Workflow Identifier: 2006
NODES in Use: httpRequest, set, aggregate, lmChatOpenAi, executeWorkflowTrigger, toolWorkflow, convertToFile, readWriteFile, stickyNote, scheduleTrigger, splitOut, sort, limit, merge, googleDrive, markdown, gmail, agent, lmChatGoogleGemini, chainLlm, telegram

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 Workflow Does

This n8n workflow automates fetching, sorting, and reporting of n8n community leaderboard stats.
It solves the problem of manual, error-prone data collection about creators and workflows.
The result is a daily detailed Markdown report sent by email, saved on Google Drive, and optionally shared on Telegram.
The workflow finds top creators and workflows based on unique weekly activity.


Who Should Use This Workflow

Community managers tracking n8n creators and popular workflows will find this useful.
It is for users who want to save hours each day by automating data retrieval, sorting, and reporting.
People managing community growth and engagement can get reliable stats without manual work.


Tools and Services Used

  • GitHub Raw JSON URLs: Source data for creators and workflows stats.
  • OpenAI API (GPT-4o-mini): Generates the detailed Markdown report.
  • Google Gemini API: Creates a concise list of top workflows.
  • Google Drive API: Saves reports as Markdown files.
  • Gmail OAuth2: Sends email reports with proper formatting.
  • Telegram Bot API (optional): Sends workflow highlights via chat.

Inputs → Processing → Outputs

Inputs

  • Raw JSON data files of creators and workflows fetched daily via HTTP requests from GitHub.
  • API credentials for OpenAI, Google Gemini, Google Drive, Gmail, and Telegram.
  • Configuration values such as dates, URLs, filenames, and email addresses.

Processing Steps

  • JSON data is parsed to extract arrays of creators and workflows.
  • Each item is split out for individual processing.
  • Creators and workflows are sorted by unique weekly inserters to find top performers.
  • Limits are applied to keep only the top 10 creators and top 50 workflows.
  • Data fields for creators and workflows are normalized and merged by usernames.
  • The merged data is aggregated into a single JSON object to prepare for AI summarization.
  • OpenAI GPT-4o-mini generates a Markdown report describing top creators and workflows.
  • The Markdown report is converted to HTML for email formatting.
  • Google Drive receives a copy of the report file.
  • Google Gemini AI generates a summarized top 10 workflows list in HTML.
  • Emails with full reports and highlights are sent via Gmail.
  • Optional Telegram message with top 10 workflows is sent.

Outputs

  • Daily Markdown report saved locally and on Google Drive.
  • HTML formatted email reports sent to configured recipient addresses.
  • Optional Telegram chat messages with workflow highlights.

Beginner Step-by-Step: How to Use This Workflow 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. Choose “Import from File” in n8n and select the downloaded workflow file.

Step 2: Configure Required Credentials and Settings

  1. Add your API Keys and OAuth2 credentials for OpenAI, Google Gemini, Google Drive, Gmail, and optionally Telegram.
  2. Update any IDs, folder paths, email addresses, or chat IDs in nodes where needed.
  3. Check the Global Variables node to confirm the GitHub JSON URLs and filenames are correct.

Step 3: Test the Workflow

  1. Manually trigger the workflow once inside n8n.
  2. Watch execution to ensure no errors occur and outputs are generated.
  3. Verify the Markdown report is saved locally and on Google Drive.
  4. Confirm email reports are received by the set recipients.

Step 4: Activate for Production

  1. Enable the Schedule Trigger node or other triggers as needed.
  2. Check scheduled runs work correctly and continue to produce reports.
  3. Optionally, use self-host n8n to run this workflow on a private server.

Customization Ideas

  • Add more creator and workflow metrics in parsing nodes for richer reports.
  • Change the schedule to run hourly, daily, or weekly by editing the Schedule Trigger node.
  • Edit email recipient lists in Gmail nodes to notify different stakeholders.
  • Change the local save path for the Markdown report to network drives or team folders.
  • Activate and configure the Telegram node to get community alerts for new top workflows.

Common Edge Cases and Failures

HTTP request failures (404) usually happen if GitHub URLs or filenames are wrong.
Verify URLs in the Global Variables node by opening them in a browser.

Empty or partial reports from AI nodes can happen if API keys are invalid or usage limits exceeded.
Check keys and aggregated data completeness.

Emails not sent or received often relate to invalid Gmail OAuth credentials or spam filtering.
Reauthorize Gmail access and check spam folders.


Summary of Benefits and Outcomes

✓ Saves hours of manual work daily by automating data fetching and reporting.
✓ Reports top creators and workflows clearly with AI-generated summaries.
✓ Sends polished reports via email and saves copies on Google Drive.
✓ Supports Telegram alerts for quick community updates.
✓ Easy to import and configure in n8n with required credentials.


Frequently Asked Questions

Download the workflow file from the page, open n8n editor, use “Import from File” to load it, then add required API credentials and update any email or folder IDs. Test once, then activate the schedule trigger.
HTTP 404 errors usually happen if the GitHub raw JSON URLs or filenames in the Global Variables node are incorrect. Check the URLs by opening them directly in a browser.
Yes. The workflow can be modified to use Google Gemini AI nodes alone for report generation, but combining both AI services provides richer reports.
Verify Gmail OAuth2 credentials are valid, reauthenticate if needed, and check recipient spam or junk folders. Whitelist the sender email if necessary.

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 Workflows in n8n

A complete beginner guide to building an AI 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