{
  "name": "Extract Customer Pain Points from Support Forums with Bright Data & GPT-4",
  "nodes": [
    {
      "parameters": {},
      "id": "1891d513-1b37-4677-b477-3bedd35baf89",
      "name": "🚦 Start Workflow (Manual Trigger)",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        2144,
        1248
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "assignments": {
          "assignments": [
            {
              "id": "e53f8457-1c2c-41ff-8621-4f7ebee981a8",
              "name": "URL",
              "type": "string",
              "value": "https://api.stackexchange.com/2.3/search?order=desc&sort=activity&intitle=openai&site=superuser"
            }
          ]
        },
        "options": {}
      },
      "id": "f832b8a3-4e84-448e-aee6-fa0143b2cff3",
      "name": "🔗 Enter Forum URL",
      "type": "n8n-nodes-base.set",
      "position": [
        2352,
        1248
      ],
      "typeVersion": 3.4
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "id": "73ba4a78-00e1-415e-b253-400528dfa591",
      "name": "🧠 Chat Model Reasoning1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2592,
        1520
      ],
      "typeVersion": 1.2
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "=scrape the question and answers forum about openAi from this below URL:\n{{ $json.URL }}\nand i want to include in my output are platform name , author name , question , answer_snippet , link , pain point\ncheck if any question have no answer than dont scrape it search for those which have question , its answer_snippet and also customer pain point\n",
        "hasOutputParser": true,
        "options": {}
      },
      "id": "3230b21d-5892-407b-a18a-5f519d01a73a",
      "name": "🤖 Agent: Scrape Forum & Extract Insights",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2640,
        1248
      ],
      "typeVersion": 2
    },
    {
      "parameters": {},
      "id": "2da501c2-1c2b-4db4-a4db-d16b210bee2c",
      "name": "🌐 Web Scraper Tool ",
      "type": "n8n-nodes-mcp.mcpClientTool",
      "position": [
        2752,
        1520
      ],
      "typeVersion": 1,
      "credentials": {}
    },
    {
      "parameters": {
        "sendTo": "shahkar.genai@gmail.com",
        "subject": "=Customer Forum Insights: OpenAI Pain Points from {{ $json.output[0].platform_name }}",
        "emailType": "text",
        "message": "=Hello Product Team,\n\nHere are recent customer pain points and technical discussions about OpenAI from the SuperUser forum:\n\nQuestion:       {{$json[\"output\"][0][\"question\"]}}\nAsked by:       {{$json[\"output\"][0][\"author_name\"]}}\nLink:           {{$json[\"output\"][0][\"link\"]}}{{$json[\"output\"][0]                         [\"link\"]}}\nAnswer Snippet: {{$json[\"output\"][0][\"answer_snippet\"]}}\nPain Point:     {{$json[\"output\"][0][\"pain_point\"]}}\n  \nQuestion:       {{$json[\"output\"][1][\"question\"]}}\nAsked by:       {{$json[\"output\"][1][\"author_name\"]}}\nLink:           {{$json[\"output\"][1][\"link\"]}}{{$json[\"output\"][1]                         [\"link\"]}}\nAnswer Snippet: {{$json[\"output\"][1][\"answer_snippet\"]}}\nPain Point:     {{$json[\"output\"][1][\"pain_point\"]}}\n\nBest regards,\nYour Automation Workflow\n",
        "options": {
          "appendAttribution": false
        }
      },
      "id": "891bec31-a4ba-452e-bb17-73a6ea2c296c",
      "name": "✉️ Send Insights to Product Team (Gmail)",
      "type": "n8n-nodes-base.gmail",
      "position": [
        3168,
        1248
      ],
      "webhookId": "6531f16e-ae66-4e1f-bc87-fd87863c6f96",
      "typeVersion": 2.1
    },
    {
      "parameters": {
        "content": "## 1️⃣ **Section 1: Start & Input**\n\n* **🚦 Start Workflow (Manual Trigger)**\n\n  * *Node: When clicking ‘Execute workflow’*\n  * **What happens:**\n    You begin the automation by clicking the \"Execute workflow\" button in n8n. This makes the process fully manual and secure—you decide when to run it.\n\n* **🔗 Enter Forum URL**\n\n  * *Node: Edit Fields (manual)*\n  * **What happens:**\n    You paste the URL of the specific Superuser Q\\&A forum post you want to analyze. No coding or technical setup—just copy and paste!\n\n**🟢 Why this is great for beginners:**\nYou only need to provide the link and click a button. No scripts, no complex setup.\n",
        "height": 720,
        "width": 420,
        "color": 5
      },
      "id": "b34c8423-65ad-47ae-bf4c-00d4a7cc8650",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2080,
        752
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "content": "## 3️⃣ **Section 3: Share Insights with Your Team**\n\n* **✉️ Send Insights to Product Team**\n\n  * *Node: Gmail (send: message)*\n  * **What happens:**\n    The final, cleaned, and structured insights are sent as an email to your Product Team. This means the right people get the right information at the right time—automatically.\n\n**🟢 Why this is great for beginners:**\nNo more compiling or sending emails yourself! The system takes care of communicating findings—saving time and ensuring nothing is forgotten.\n\n",
        "height": 680,
        "width": 340,
        "color": 6
      },
      "id": "0ad898a4-6157-4763-bc45-9b4ac522bdd3",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3072,
        800
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "content": "## 2️⃣ **Section 2: AI Agent Scrapes & Analyzes**\n\n* **🤖 Agent: Extract Forum Insights**\n\n  * *Node: AI Agent*\n\n  This is where all the magic happens! The AI agent coordinates a team of tools to read the forum post, pick out the most important details, and structure everything perfectly.\n\n  **Sub-nodes powering the agent:**\n\n  * **🧠 Chat Model Reasoning**\n    *Node: OpenAI Chat Model*\n    — Understands what you want and plans the scraping/analysis logic.\n  * **🌐 Web Scraper Tool (scrape\\_as\\_markdown)**\n    *Node: MCP Client (executeTool)*\n    — Securely visits the forum page and fetches the Q\\&A content in a readable format.\n  * **📦 Format Forum Data as JSON**\n    *Node: Structured Output Parser*\n    — Transforms messy forum data into a well-structured JSON object including:\n\n    * Platform name\n    * Author name\n    * Question\n    * Answer snippet\n    * Link\n    * **Identified customer pain points!**\n\n**🟢 Why this is great for beginners:**\nYou don’t have to read, sort, or copy any forum data. The agent does everything: reading, understanding, summarizing, and structuring—just like a human analyst, but automated!\n\n",
        "height": 1080,
        "width": 460,
        "color": 2
      },
      "id": "986d8fe2-9f02-4725-8e98-bba72132e6e8",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2560,
        384
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "content": "## I’ll receive a tiny commission if you join Bright Data through this link—thanks for fueling more free content!\n\n### https://get.brightdata.com/1tndi4600b25",
        "height": 240,
        "width": 380,
        "color": 7
      },
      "id": "52f5caef-72b8-480f-b304-012f71906add",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3440,
        800
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "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",
        "height": 320,
        "width": 1300,
        "color": 4
      },
      "id": "ae348aa7-4455-4a86-b6ba-699b79f42756",
      "name": "Sticky Note9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "content": "# 🚀 Monitor Customer Support Forums\n\n### Instantly turn forum questions about OpenAI into actionable product insights—delivered right to your Product Team’s inbox!\n\n---\n\n## 1️⃣ **Section 1: Start & Input**\n\n* **🚦 Start Workflow (Manual Trigger)**\n\n  * *Node: When clicking ‘Execute workflow’*\n  * **What happens:**\n    You begin the automation by clicking the \"Execute workflow\" button in n8n. This makes the process fully manual and secure—you decide when to run it.\n\n* **🔗 Enter Forum URL**\n\n  * *Node: Edit Fields (manual)*\n  * **What happens:**\n    You paste the URL of the specific Superuser Q\\&A forum post you want to analyze. No coding or technical setup—just copy and paste!\n\n**🟢 Why this is great for beginners:**\nYou only need to provide the link and click a button. No scripts, no complex setup.\n\n---\n\n## 2️⃣ **Section 2: AI Agent Scrapes & Analyzes**\n\n* **🤖 Agent: Extract Forum Insights**\n\n  * *Node: AI Agent*\n\n  This is where all the magic happens! The AI agent coordinates a team of tools to read the forum post, pick out the most important details, and structure everything perfectly.\n\n  **Sub-nodes powering the agent:**\n\n  * **🧠 Chat Model Reasoning**\n    *Node: OpenAI Chat Model*\n    — Understands what you want and plans the scraping/analysis logic.\n  * **🌐 Web Scraper Tool (scrape\\_as\\_markdown)**\n    *Node: MCP Client (executeTool)*\n    — Securely visits the forum page and fetches the Q\\&A content in a readable format.\n  * **📦 Format Forum Data as JSON**\n    *Node: Structured Output Parser*\n    — Transforms messy forum data into a well-structured JSON object including:\n\n    * Platform name\n    * Author name\n    * Question\n    * Answer snippet\n    * Link\n    * **Identified customer pain points!**\n\n**🟢 Why this is great for beginners:**\nYou don’t have to read, sort, or copy any forum data. The agent does everything: reading, understanding, summarizing, and structuring—just like a human analyst, but automated!\n\n---\n\n## 3️⃣ **Section 3: Share Insights with Your Team**\n\n* **✉️ Send Insights to Product Team**\n\n  * *Node: Gmail (send: message)*\n  * **What happens:**\n    The final, cleaned, and structured insights are sent as an email to your Product Team. This means the right people get the right information at the right time—automatically.\n\n**🟢 Why this is great for beginners:**\nNo more compiling or sending emails yourself! The system takes care of communicating findings—saving time and ensuring nothing is forgotten.\n\n---\n\n## 🌟 **How Beginners Can Use This Workflow**\n\n| Step                | What to Do                                     | What Happens                                               |\n| ------------------- | ---------------------------------------------- | ---------------------------------------------------------- |\n| 🚦 Start            | Click **Execute workflow** in n8n              | The automation begins                                      |\n| 🔗 Input URL        | Paste a Superuser Q\\&A forum link about OpenAI | The workflow targets this exact forum question             |\n| 🤖 AI Agent Scrapes | (You wait for a moment)                        | The AI extracts question, answer, author, pain points…     |\n| ✉️ Receive Insights | (No action needed)                             | An email with all structured insights is sent to your team |\n\n---\n\n## 💡 **Benefits**\n\n* 🕐 **Save Hours:** No manual copying or summarizing forum content\n* 📊 **Actionable Insights:** Quickly see customer pain points for product improvement\n* 📧 **Automated Communication:** Ensure your team never misses key feedback\n* 🧑‍💻 **Zero Coding:** Designed for anyone—no technical experience needed\n\n\n",
        "height": 1880,
        "width": 1300,
        "color": 4
      },
      "id": "5bd2d743-0dbf-4435-8d52-2c3e1a6f5882",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        352
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "options": {}
      },
      "id": "da740555-1879-4ab9-991d-4e34eacc8501",
      "name": "Auto-fixing Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserAutofixing",
      "position": [
        2880,
        1520
      ],
      "typeVersion": 1
    },
    {
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "id": "7e8ac319-ca80-4eee-b4ff-c169e8289e59",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2880,
        1728
      ],
      "typeVersion": 1.2
    },
    {
      "parameters": {
        "jsonSchemaExample": "{\n  \"platform\": \"SuperUser\",\n  \"questions\": [\n    {\n      \"author\": \"Tolure\",\n      \"question\": \"How to use Azure OpenAI as a pseudo DB\",\n      \"answer_snippet\": \"(Answer is available but not fully provided in the current data; question is marked as answered)\",\n      \"link\": \"https://superuser.com/questions/1824019/how-to-use-azure-openai-as-a-pseudo-db\",\n      \"pain_point\": \"Difficulty in using Azure OpenAI for database-like functionality\"\n    },\n    {\n      \"author\": \"Point Clear Media\",\n      \"question\": \"How do I use FFmpeg and OpenAI Whisper to transcribe a RTMP stream?\",\n      \"answer_snippet\": \"(Answer is available but not fully provided in the current data)\",\n      \"link\": \"https://superuser.com/questions/1778870/how-do-i-use-ffmpeg-and-openai-whisper-to-transcribe-a-rtmp-stream\",\n      \"pain_point\": \"Challenges in setting up transcription using FFmpeg and OpenAI Whisper for streaming media\"\n    }\n  ]\n}\n"
      },
      "id": "2e7c8481-db5b-48e2-b829-8b5a55c4ee6e",
      "name": "📦 Format Forum Data as JSON1",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        3040,
        1728
      ],
      "typeVersion": 1.3
    }
  ],
  "pinData": {},
  "connections": {
    "🚦 Start Workflow (Manual Trigger)": {
      "main": [
        [
          {
            "node": "🔗 Enter Forum URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🔗 Enter Forum URL": {
      "main": [
        [
          {
            "node": "🤖 Agent: Scrape Forum & Extract Insights",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧠 Chat Model Reasoning1": {
      "ai_languageModel": [
        [
          {
            "node": "🤖 Agent: Scrape Forum & Extract Insights",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "🤖 Agent: Scrape Forum & Extract Insights": {
      "main": [
        [
          {
            "node": "✉️ Send Insights to Product Team (Gmail)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Auto-fixing Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "🤖 Agent: Scrape Forum & Extract Insights",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "📦 Format Forum Data as JSON1": {
      "ai_outputParser": [
        [
          {
            "node": "Auto-fixing Output Parser",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "availableInMCP": false
  },
  "versionId": "7d06179e-e8b9-40f0-8ccf-224f58eedfd8",
  "meta": {
    "instanceId": "5ff5a5992c4c72af22abbdcfa574d8cdf93dc14d57eb9f66e3d9ef2a3e2dbb6c"
  },
  "id": "SnS2njLnkfqpmubh",
  "tags": []
}