{
  "id": "DUXwnWSTOorqQkd8",
  "name": "AI Website Analyzer to Product Ideas with FireCrawl",
  "tags": [],
  "nodes": [
    {
      "id": "36a1ecc8-a9bf-4059-aed0-5b7d89ac768f",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "width": 496,
        "height": 640,
        "content": "## AI Website Analyzer for Product Ideas with FireCrawl\n\n### How it works\n1. Put any website URL in the form.\n2. The URL will be sent to the Firecrawl API to analyze the website in depth.\n3. After analysis, we will use the OpenAI API to generate a summary of what the website is doing.\n\n### How to Set Up\n1. Make sure the domain is valid.\n2. Get the free API from Firecrawl. The URL is [https://firecrawl.dev](https://www.firecrawl.dev/app/api-keys). You can get up to 500 API calls.\n3. Insert the API key into the Authorization header in the second node. (Don't remove the word Bearer). The URL is [https://platform.openai.com/settings/organization/api-keys](https://platform.openai.com/settings/organization/api-keys)\n\n### Customize\n1. If you are an advanced user, you can customize it to use a webhook instead of a manual form.\n2. You can change the output from HTML to any format, but make sure to edit the prompt in the AI Agent node.\n3. If you want a deep analysis, change the model to a more advanced one, for example, GPT-4.1, GPT-5.1, or GPT-5.2."
      },
      "typeVersion": 1
    },
    {
      "id": "93c94160-848d-490f-b537-8636a9f53d13",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        624,
        432
      ],
      "parameters": {
        "options": {},
        "formTitle": "Website URL",
        "formFields": {
          "values": [
            {
              "fieldLabel": "url",
              "placeholder": "https://tenwasap.com"
            }
          ]
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "5a9fda60-25ef-48b2-80f1-fb5b67293b47",
      "name": "Scrape Website Content",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        832,
        432
      ],
      "parameters": {
        "url": "https://api.firecrawl.dev/v1/scrape",
        "method": "POST",
        "options": {
          "timeout": 30000
        },
        "jsonBody": "={\n  \"url\": \"{{ $json.url }}\",\n  \"formats\": [\"markdown\"],\n  \"onlyMainContent\": true\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Authorization",
              "value": "=Bearer INSERT YOUR API KEY HERE"
            },
            {
              "name": "Content-Type",
              "value": "application/json"
            }
          ]
        }
      },
      "typeVersion": 4.3
    },
    {
      "id": "a95001ea-e65c-44ee-9481-c0cadce825ed",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        336
      ],
      "parameters": {
        "color": 7,
        "width": 512,
        "height": 304,
        "content": "## 1. Get the website information "
      },
      "typeVersion": 1
    },
    {
      "id": "dac43706-c519-4864-8107-e4b7ccc40cce",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1280,
        432
      ],
      "parameters": {
        "text": "=You are a business analyst and product strategist. \n\nThis is the URL of the website: {{ $('On form submission').item.json.url }}\nThis is the website information: {{ $json.data.markdown }}\n\nAnalyze the business and suggest 3 complementary product or service ideas that could add value to their customers or create new revenue streams.\n\nFor each idea, provide:\n1. Product/Service Name\n2. Brief Description (2-3 sentences)\n3. Target Audience\n4. Potential Revenue Model\n5. Why It Fits (how it complements the existing business)\n6. The default language is in English\n\nBe practical, creative, and focus on ideas that are feasible for small to medium businesses\n\n**Generate the result into structured beautiful HTML (no need the ```html in the front of the HTML code)",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 3
    },
    {
      "id": "0368e1dc-7f0f-4d4b-a21d-9ea1e0ba05a6",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1280,
        656
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1",
          "cachedResultName": "gpt-4.1"
        },
        "options": {},
        "builtInTools": {}
      },
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "5b80910a-25f6-4bc9-9b97-d2ce05a3aa45",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1136,
        336
      ],
      "parameters": {
        "color": 7,
        "width": 512,
        "height": 464,
        "content": "## 2. Summarize the website information and change to HTML format"
      },
      "typeVersion": 1
    },
    {
      "id": "6e0824ef-5e87-4f5d-adad-07db6da8ac03",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1712,
        336
      ],
      "parameters": {
        "color": 7,
        "width": 400,
        "height": 304,
        "content": "## 3. Get the results"
      },
      "typeVersion": 1
    },
    {
      "id": "de31141e-cc6c-48ab-90ab-bf5e75e5840a",
      "name": "View the result in HTML",
      "type": "n8n-nodes-base.html",
      "position": [
        1872,
        432
      ],
      "parameters": {
        "html": "{{ $json.output }}"
      },
      "typeVersion": 1.2
    },
    {
      "id": "f47d8453-4989-492f-a441-9bffc06d7ba7",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        672
      ],
      "parameters": {
        "color": 7,
        "width": 496,
        "height": 352,
        "content": "## Here's how\n\n@[youtube](2jXR8mb-DeY)"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "17baa476-d4c6-45d2-88c7-2510dc4e7a8d",
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "View the result in HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Scrape Website Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Website Content": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}