{
  "id": "m4kRfWIYJxn6PoOx",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Trend_Tracker_via_Bright_Data",
  "tags": [],
  "nodes": [
    {
      "id": "6cebc2fd-3e61-41c8-9f23-25ca5bff2a54",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2400,
        620
      ],
      "parameters": {
        "color": 4,
        "width": 1300,
        "height": 320,
        "content": "=======================================\n            WORKFLOW ASSISTANCE\n=======================================\nFor any questions or support, please contact:\n    Yaron@nofluff.online\n\nExplore more tips and tutorials here:\n   - YouTube: https://www.youtube.com/@YaronBeen/videos\n   - LinkedIn: https://www.linkedin.com/in/yaronbeen/\n=======================================\n"
      },
      "typeVersion": 1
    },
    {
      "id": "e4b7bd42-1b24-4f7c-90a0-b7909afcdca0",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2400,
        960
      ],
      "parameters": {
        "color": 4,
        "width": 1289,
        "height": 2258,
        "content": "## \ud83d\ude80 **Monthly Viral Trend Tracker Workflow**\n\nThis automation helps you track viral posts on **Quora** around specific topics (like *marketing* or *design*) every month. It scrapes trending content, extracts useful data (titles, URLs, stats), and saves it into a Google Sheet for later use \u2014 perfect for trend research, reporting, or content inspiration.\n\n---\n\n### \ud83e\udde0 **SECTION 1: Trend Trigger & Scraper**\n\n> **Purpose:** Automate the scraping of viral content from Quora every month.\n\n#### \u23f0 `Node 1: Monthly Trend Trigger`\n\n**\ud83d\udd17 Type:** Cron Scheduler\n**\ud83e\udde9 What it does:**\nThis node is like your personal assistant \u2014 it **automatically starts the workflow on the 1st day of every month** without you lifting a finger.\n\n* \ud83d\uddd3 Trigger schedule: Monthly (e.g., `0 0 1 * *`)\n* \ud83d\udcc8 Use Case: Keeps your trend tracking consistent and timely\n\n> \ud83e\udde0 *Why it matters:* Instead of manually checking viral trends, this node ensures it\u2019s **fully automated**, perfect for monthly reports or trend tracking dashboards.\n\n---\n\n#### \ud83c\udf10 `Node 2: Scrape Quora Trends (Bright Data)`\n\n**\ud83d\udd17 Type:** HTTP Request\n**\ud83e\udde9 What it does:**\nThis node sends a **POST request to Bright Data** to scrape trending Quora results for a given topic (like `\"https://www.quora.com/search?q=marketing\"`).\n\n* \ud83d\udd12 Uses **Bright Data Web Unlocker** to bypass restrictions\n* \ud83e\udde0 Intelligent scraping with full HTML + rendering\n* \ud83d\udd0d Targets specific search terms (e.g., `marketing`, `UX`, `AI in marketing`)\n\n> \ud83d\udca1 *Why it matters:* You can collect **real trending content** from Quora without opening your browser. Bright Data handles the hard stuff like JavaScript, proxies, and blocks.\n\n---\n\n### \ud83e\uddfe **SECTION 2: Extract & Save Insights**\n\n> **Purpose:** Process the scraped data and store it in a usable format (Google Sheets).\n\n#### \ud83e\uddf1 `Node 3: Extract Post Titles & Stats`\n\n**\ud83d\udd17 Type:** HTML Extract\n**\ud83e\udde9 What it does:**\nTakes the raw HTML from Quora and pulls out the meaningful information you care about:\n\n* \ud83d\udcdd Question titles or post headlines\n* \ud83d\udd17 URLs\n* \ud83d\udc4d Vote count or engagement\n* \ud83e\uddd1 Author or answer snippet (if desired)\n\nYou use **CSS Selectors or XPath** to tell n8n what to extract. For example:\n\n```css\na.q-box.qu-mb--tiny  \u2192  Post links  \ndiv.q-relative  \u2192  Snippets or text  \n```\n\n> \ud83e\udde0 *Why it matters:* This is where raw data becomes structured. You\u2019re now transforming messy HTML into useful, clean trend info.\n\n---\n\n#### \ud83d\udcca `Node 4: Save Trends to Sheet`\n\n**\ud83d\udd17 Type:** Google Sheets\n**\ud83e\udde9 What it does:**\nTakes the structured trend data and **appends it to a Google Sheet** for archiving, analysis, or sharing.\n\n* \ud83d\udd04 Keeps data centralized in Google Drive\n* \ud83e\uddfe Every entry becomes part of a monthly trend log\n* \ud83d\udce4 Can be exported, visualized, or emailed later\n\n> \ud83d\udca1 *Why it matters:* This gives you a **living database of viral content** that you can reference later for reports, content ideas, social strategy, or client insights.\n\n---\n\n### \ud83d\udce6 **Workflow Summary**\n\n| Section                              | What's Happening                                                                  | Icons    |\n| ------------------------------------ | --------------------------------------------------------------------------------- | -------- |\n| **\ud83e\udde0 Section 1**<br>Trigger & Scrape | Automatically triggers each month \u2192 sends request to scrape Quora via Bright Data | \u23f0 \ud83c\udf10 \ud83d\udd0d  |\n| **\ud83e\uddfe Section 2**<br>Extract & Store  | Parses HTML \u2192 extracts question titles, votes, links \u2192 saves to Google Sheets     | \ud83e\uddfe \ud83e\uddea \ud83d\udcca |\n\n---\n\n### \ud83d\udcbc How a Beginner Can Use This\n\n1. **No Code Needed:** All steps use visual nodes in n8n.\n2. **Customizable Topics:** Change `\"url\"` in the HTTP node to track any niche.\n3. **Scalable:** Duplicate the scraping node to include Reddit, Twitter, or LinkedIn later.\n4. **Google Sheets Ready:** Easy to share or use in reporting tools like Looker Studio or Excel.\n\n---\n"
      },
      "typeVersion": 1
    },
    {
      "id": "d1595d84-94ee-4678-9ed5-ee83dc421d50",
      "name": "Monthly Trend Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -420,
        1580
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "months",
              "triggerAtHour": 9
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "5796454a-2479-450d-8e1c-b9e9344e0da0",
      "name": "Scrape Quora Trends (Bright Data)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -200,
        1580
      ],
      "parameters": {
        "url": "https://api.brightdata.com/request",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "sendHeaders": true,
        "bodyParameters": {
          "parameters": [
            {
              "name": "zone",
              "value": "n8n_unblocker"
            },
            {
              "name": "url",
              "value": "https://www.quora.com/search?q=marketing"
            },
            {
              "name": "country",
              "value": "us"
            },
            {
              "name": "format",
              "value": "raw"
            },
            {
              "name": "render",
              "value": "true"
            }
          ]
        },
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "Bearer YOUR_TOKEN_HERE"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "4c93f548-a848-4aa9-bdf7-d8b282d49dbb",
      "name": "Extract Post Titles & Stats",
      "type": "n8n-nodes-base.html",
      "position": [
        80,
        1580
      ],
      "parameters": {
        "options": {},
        "operation": "extractHtmlContent",
        "extractionValues": {
          "values": [
            {
              "key": "Title",
              "cssSelector": "<span style=\"background: none;\">What exactly is digital marketing</span>"
            },
            {
              "key": "Answers",
              "cssSelector": "<a class=\"q-box qu-cursor--pointer qu-hover--textDecoration--underline b2c1r2a puppeteer_test_link\" href=\"https://www.quora.com/What-exactly-is-digital-marketing\" target=\"_blank\" style=\"box-sizing: border-box; border-radius: inherit;\">3.2K answers</a>"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "40bf951b-4c60-4660-a6dc-c3cd99298e94",
      "name": "Save Trends to Sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        300,
        1580
      ],
      "parameters": {
        "columns": {
          "value": {
            "Title": "={{ $json.Title }}",
            "Answer": "={{ $json.Answers }}"
          },
          "schema": [
            {
              "id": "Title",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Title",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Answer",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Answer",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/19j13GLmFHZUnIKH5KGgdj0ohVMx4MhOnDf5ovI0yz6Y/edit#gid=0",
          "cachedResultName": "Sheet1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "19j13GLmFHZUnIKH5KGgdj0ohVMx4MhOnDf5ovI0yz6Y",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/19j13GLmFHZUnIKH5KGgdj0ohVMx4MhOnDf5ovI0yz6Y/edit?usp=drivesdk",
          "cachedResultName": "Trend tracker"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 4.6
    },
    {
      "id": "b8bff546-392a-4f88-ac67-7d3336978cc0",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -460,
        600
      ],
      "parameters": {
        "color": 3,
        "width": 400,
        "height": 1180,
        "content": "### \ud83e\udde0 **SECTION 1: Trend Trigger & Scraper**\n\n> **Purpose:** Automate the scraping of viral content from Quora every month.\n\n#### \u23f0 `Node 1: Monthly Trend Trigger`\n\n**\ud83d\udd17 Type:** Cron Scheduler\n**\ud83e\udde9 What it does:**\nThis node is like your personal assistant \u2014 it **automatically starts the workflow on the 1st day of every month** without you lifting a finger.\n\n* \ud83d\uddd3 Trigger schedule: Monthly (e.g., `0 0 1 * *`)\n* \ud83d\udcc8 Use Case: Keeps your trend tracking consistent and timely\n\n> \ud83e\udde0 *Why it matters:* Instead of manually checking viral trends, this node ensures it\u2019s **fully automated**, perfect for monthly reports or trend tracking dashboards.\n\n---\n\n#### \ud83c\udf10 `Node 2: Scrape Quora Trends (Bright Data)`\n\n**\ud83d\udd17 Type:** HTTP Request\n**\ud83e\udde9 What it does:**\nThis node sends a **POST request to Bright Data** to scrape trending Quora results for a given topic (like `\"https://www.quora.com/search?q=marketing\"`).\n\n* \ud83d\udd12 Uses **Bright Data Web Unlocker** to bypass restrictions\n* \ud83e\udde0 Intelligent scraping with full HTML + rendering\n* \ud83d\udd0d Targets specific search terms (e.g., `marketing`, `UX`, `AI in marketing`)\n\n> \ud83d\udca1 *Why it matters:* You can collect **real trending content** from Quora without opening your browser. Bright Data handles the hard stuff like JavaScript, proxies, and blocks.\n\n---\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "c4c10db4-b6e1-413d-9183-cd9b8fb6c0fa",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        20,
        720
      ],
      "parameters": {
        "color": 5,
        "width": 400,
        "height": 1060,
        "content": "### \ud83e\uddfe **SECTION 2: Extract & Save Insights**\n\n> **Purpose:** Process the scraped data and store it in a usable format (Google Sheets).\n\n#### \ud83e\uddf1 `Node 3: Extract Post Titles & Stats`\n\n**\ud83d\udd17 Type:** HTML Extract\n**\ud83e\udde9 What it does:**\nTakes the raw HTML from Quora and pulls out the meaningful information you care about:\n\n* \ud83d\udcdd Question titles or post headlines\n* \ud83d\udd17 URLs\n* \ud83d\udc4d Vote count or engagement\n* \ud83e\uddd1 Author or answer snippet (if desired)\n\nYou use **CSS Selectors or XPath** to tell n8n what to extract. For example:\n\n```css\na.q-box.qu-mb--tiny  \u2192  Post links  \ndiv.q-relative  \u2192  Snippets or text  \n```\n\n> \ud83e\udde0 *Why it matters:* This is where raw data becomes structured. You\u2019re now transforming messy HTML into useful, clean trend info.\n\n---\n\n#### \ud83d\udcca `Node 4: Save Trends to Sheet`\n\n**\ud83d\udd17 Type:** Google Sheets\n**\ud83e\udde9 What it does:**\nTakes the structured trend data and **appends it to a Google Sheet** for archiving, analysis, or sharing.\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "772bfade-22ab-46d5-aadf-9ec46d99b7f6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        720
      ],
      "parameters": {
        "color": 7,
        "width": 380,
        "height": 240,
        "content": "## I\u2019ll receive a tiny commission if you join Bright Data through this link\u2014thanks for fueling more free content!\n\n### https://get.brightdata.com/1tndi4600b25"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "f4efa76f-fdce-4081-aa53-54b8c36cbcfc",
  "connections": {
    "Monthly Trend Trigger1": {
      "main": [
        [
          {
            "node": "Scrape Quora Trends (Bright Data)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Post Titles & Stats": {
      "main": [
        [
          {
            "node": "Save Trends to Sheet",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Quora Trends (Bright Data)": {
      "main": [
        [
          {
            "node": "Extract Post Titles & Stats",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}