Skip to main content

Discover & analyze n8n workflows from GitHub with OpenAI and Google Sheets

Workflow preview

Workflow preview
100%
Discover & analyze n8n workflows from GitHub with OpenAI and Google Sheets preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Discover and analyze the most valuable community built n8n workflows on GitHub. This automation searches public repositories, analyzes JSON workflows using AI, and saves a ranked report to Google S...

Best for

  • Market Research automation workflows
  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.notion, n8n-nodes-base.scheduletrigger, n8n-nodes-base.set, n8n-nodes-base.httprequest, n8n-nodes-base.splitout, n8n-nodes-base.code, n8n-nodes-base.aggregate, @n8n/n8n-nodes-langchain.agent

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Yusuke.

Original n8n.io source

1.1 Workflow description

Title
Discover & analyze n8n workflows from GitHub with OpenAI and Google Sheets
Workflow name
Discover & analyze n8n workflows from GitHub with OpenAI and Google Sheets

🧠 Overview

Discover and analyze the most valuable community-built n8n workflows on GitHub.
This automation searches public repositories, analyzes JSON workflows using AI, and saves a ranked report to Google Sheets — including summaries, use cases, difficulty, stars, node count, and repository links.


⚙️ How It Works

  1. Search GitHub Code API — queries for extension:json n8n and splits results
  2. Fetch & Parse — downloads each candidate file’s raw JSON and safely parses it
  3. Extract Metadata — detects AI-powered flows and collects key node information
  4. AI Analysis — evaluates the top N workflows (description, use case, difficulty)
  5. Merge Insights — combines AI analysis with GitHub data
  6. Save to Google Sheets — appends or updates by workflow name

🧩 Setup Instructions (5–10 min)

  • Open Config node and set:
    • search_query — e.g., "openai" extension:json n8n
    • max_results — number of results to fetch (1–100)
    • ai_analysis_top — number of workflows analyzed with AI
    • SPREADSHEET_ID, SHEET_NAME — Google Sheets target
  • Add GitHub PAT via HTTP Header Credential:
    • Authorization: Bearer <YOUR_TOKEN>
  • Connect OpenAI Credential to OpenAI Chat Model
  • Connect Google Sheets (OAuth2) to Save to Google Sheets
  • (Optional) Enable Schedule Trigger to run weekly for automatic updates

> 💡 Tip: If you need to show literal brackets, use backticks like <example> (no HTML entities needed).


📚 Use Cases

1) Trend Tracking for AI Automations

  • Goal: Identify the fastest-growing AI-powered n8n workflows on GitHub.
  • Output: Sorted list by stars and AI detection, updated weekly.

2) Internal Workflow Benchmarking

  • Goal: Compare your organization’s workflows against top public examples.
  • Output: Difficulty, node count, and AI usage metrics in Google Sheets.

3) Market Research for Automation Agencies

  • Goal: Discover trending integrations and tool combinations (e.g., OpenAI + Slack).
  • Output: Data-driven insights for client projects and content planning.

🧪 Notes & Best Practices

  • 🔐 No hardcoded secrets — use n8n Credentials
  • 🧱 Works with self-hosted or cloud n8n
  • 🧪 Start small (max_results = 10) before scaling
  • 🧭 Use “AI Powered” + “Stars” columns in Sheets to identify top templates
  • 🧩 Uses only Markdown sticky notes — no HTML formatting required

🔗 Resources

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Create a database page

Type / Role
n8n-nodes-base.notion - notion
Config choices
Version 2.2

Block 2 - Schedule Trigger

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 3 - Config1

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - GitHub Search1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 5 - Split Results1

Type / Role
n8n-nodes-base.splitOut - splitOut
Config choices
Version 1

Block 6 - Fetch Workflow JSON1

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - Process Workflows1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Aggregate All1

Type / Role
n8n-nodes-base.aggregate - aggregate
Config choices
Version 1

Block 9 - Prepare AI Analysis1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - AI Analysis1

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.6

Block 11 - OpenAI Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1

Block 12 - Structured Output Parser1

Type / Role
@n8n/n8n-nodes-langchain.outputParserStructured - outputParserStructured
Config choices
Version 1.2

Block 13 - Merge AI Results1

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 14 - Save to Google Sheets

Type / Role
n8n-nodes-base.googleSheets - googleSheets
Config choices
Version 4.5

Block 15 - Sticky: Overview (yellow)

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 16 - Sticky: Step 1 — Fetch & Parse

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 17 - Sticky: Step 2 — AI Analysis

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 18 - Sticky: Step 3 — Save & Share

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky: Setup Checklist

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky: Troubleshooting1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Discover & analyze n8n workflows from GitHub with OpenAI and Google Sheets
Complexity advanced
Nodes 20
Categories Market Research, AI Summarization
Author Yusuke
Published 05 Nov 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/10538/10538.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Discover & analyze n8n workflows from GitHub with OpenAI and Google Sheets do?

Discover and analyze the most valuable community built n8n workflows on GitHub. This automation searches public repositories, analyzes JSON workflows using AI, and saves a ranked report to Google S...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Market Research, AI Summarization use case.