Deploy this powerful n8n workflow to automatically track GitHub trending repositories daily or weekly. Use the ScrapeOps n8n node for reliable web scraping and save structured data to Google Sheets. Find more useful n8n templates here.
Download this n8n workflow template and start using it instantly.
This automation solves the problem of manually monitoring popular open-source projects. Leveraging a powerful scheduled n8n trigger, this specific n8n workflow fetches real-time data from GitHub Trending pages, handles complex HTML parsing using custom JavaScript logic, and ensures data quality by normalizing metrics. By using the ScrapeOps n8n node, the process is resilient against common scraping challenges. The final output is neatly organized in Google Sheets, allowing users to analyze trends over time (daily, weekly, or monthly) without duplicate entries, thanks to the upsert function within the Google Sheets n8n node. This particular n8n workflow is an excellent example of using specialized n8n templates for actionable business intelligence.
Set Inputs n8n node defines the period (since: daily/weekly/monthly) and desired languages. The subsequent Code n8n node, Build URLs, dynamically creates the specific GitHub Trending URLs needed for scraping, generating multiple items if multiple languages are specified.Split URLs (loop) n8n node iterates over each generated URL one by one. The ScrapeOps n8n node is then executed to reliably fetch the HTML content of the page. A Polite Delay follows, demonstrating responsible scraping practice within the n8n workflow.Extract Trending Repos Code n8n node performs precise parsing of the scraped HTML using regular expressions, isolating critical repository metadata like owner, name, description, rank, and raw star/fork counts.Normalize + Enrich-from-page Code n8n node cleans numerical data (converting 'K' and 'M' notation to integers), calculates a custom score to rank importance, and generates a unique dedupekey (e.g., daily|owner/repo). This score calculation logic is a key feature of this n8n template.trendingraw Google Sheet tab using the Google Sheets n8n node. It uses the "Append or Update Row" operation based on the unique dedupekey generated by the preceding n8n node, guaranteeing historical integrity and preventing duplicates.weeklybrief tab.ScrapeOps: Fetch HTML n8n node.trendingraw, weeklybrief), and columns match the mappings defined in the Google Sheets n8n node.since and languages_csv parameters in the Set Inputs n8n node to control which GitHub trending pages are scraped. Cron (daily/weekly) (n8n trigger): The starting point, configuring the automated execution frequency of this n8n workflow.
Set Inputs (n8n node): Defines configuration variables like since (set to monthly by default in the JSON) and languagescsv (set to any).
Build URLs (Code n8n node): Dynamically generates the specific GitHub Trending URLs based on the user-defined time period and languages, calculating necessary metadata like weekid.
ScrapeOps: Fetch HTML (ScrapeOps n8n node): A dedicated community n8n node using the ScrapeOps API to fetch target HTML reliably, bypassing common blocking mechanisms in this n8n workflow.
Polite Delay (n8n node): Implements a 2-second delay between scraping requests to maintain good crawling etiquette.
Extract Trending Repos (Code n8n node): Contains custom JavaScript logic to precisely parse repository details (owner, rank, description, raw star counts) from the raw HTML output provided by the ScrapeOps n8n node.
Normalize + Enrich-from-page (Code n8n node): Cleans up raw numerical data, calculates a custom score for prioritization, and creates the essential dedupekey required for unique row identification.
Write to Google Sheets (raw tab) (Google Sheets n8n node): Upserts the detailed repository data into the sheet. Key Configuration: Operation is appendOrUpdate, matching on the dedupekey field.
Read raw (for weekly) (Google Sheets n8n node): Reads the historical data from the trending_raw tab to be processed for the summary report.
Generate Weekly (Code n8n node): Performs filtering, sorting by the custom score, and keyword analysis to generate a concise summary report.
Automatically track and sync free Udemy courses using a scheduled n8n workflow and RapidAPI. Filter results and update Google Sheets hourly with this robust n8n template.

Automate real-time Forex news analysis. This n8n workflow uses a Google Calendar n8n trigger, Airtop scraping for actual data, Telegram alerts, and logs trade signals (BUY/SELL) and live prices to Google Sheets.

Use this powerful n8n workflow to track food calories instantly. Upload photos via Telegram, analyze them with GPT-4 Vision, and log the detailed results directly to Google Sheets.

Automate SEO rank tracking using this n8n workflow. It scrapes Google SERP data via Bright Data, saves ranks to Google Sheets, and emails a daily report via Gmail. Use this n8n template for reliable data.

Use this comprehensive n8n workflow to track real-time local Google Trends search data. Leveraging Bright Data and OpenAI, this n8n template scrapes, structures, and exports trending keywords directly to Google Sheets for immediate SEO action.








































