{
  "name": "AI-powered content analysis with Decodo scraping & GPT-4o insights",
  "nodes": [
    {
      "id": "a67b4fd0-c636-40c3-bab3-1ac781f1d746",
      "name": "Check Previous Analysis",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -176,
        448
      ]
    },
    {
      "id": "f3600163-11aa-46d6-bb0b-7dedfc56ec09",
      "name": "Prepare Analysis Context",
      "type": "n8n-nodes-base.function",
      "position": [
        -368,
        448
      ]
    },
    {
      "id": "c98cfbdc-3edb-4bc5-a008-0d823ac750ca",
      "name": "Content Analysis Request Form",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -592,
        448
      ]
    },
    {
      "id": "a1b7db0c-3276-45fa-8c55-57167fc0d475",
      "name": "Report Already Exists?",
      "type": "n8n-nodes-base.if",
      "position": [
        32,
        448
      ]
    },
    {
      "id": "8bd427c0-5e26-4657-93c3-8d2c3a9efa75",
      "name": "Analysis Results Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        944,
        960
      ]
    },
    {
      "id": "31298cac-7cc3-4f57-9a43-aa2326e2af9d",
      "name": "Decodo Scraping Tool",
      "type": "@decodo/n8n-nodes-decodo.decodoTool",
      "position": [
        800,
        960
      ]
    },
    {
      "id": "75941208-94c9-4429-9c7a-251d0efdf617",
      "name": "GPT-4o Analysis Engine",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        608,
        960
      ]
    },
    {
      "id": "360c1d51-f21f-4c92-8c32-81e0fdc07894",
      "name": "Content Intelligence AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        704,
        688
      ]
    },
    {
      "id": "b1488daa-c30f-4d31-a454-202ae1cce194",
      "name": "Check Content Quality Threshold",
      "type": "n8n-nodes-base.if",
      "position": [
        1360,
        688
      ]
    },
    {
      "id": "a9dd3d98-214f-4f8a-aaec-819f0b38eda5",
      "name": "Save Analysis to Database",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1104,
        688
      ]
    },
    {
      "id": "d192cb33-5a48-4d79-a27b-aa9d6bf567de",
      "name": "Notify Team (Normal)",
      "type": "n8n-nodes-base.slack",
      "position": [
        2576,
        992
      ]
    },
    {
      "id": "ac3378b3-65d6-4023-95d9-62bf32679ba8",
      "name": "Send Analysis Report",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2352,
        992
      ]
    },
    {
      "id": "58e9d89d-5821-48cb-9ac9-23bb433e2c41",
      "name": "Format Email HTML",
      "type": "n8n-nodes-base.code",
      "position": [
        2128,
        992
      ]
    },
    {
      "id": "1a9e0e59-7af8-4dab-bdcc-7724bd5b67ad",
      "name": "Remediation Plan Generator",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1728,
        464
      ]
    },
    {
      "id": "1bfdf273-9376-4ab7-903c-b6fead530978",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1696,
        672
      ]
    },
    {
      "id": "08937049-a57b-4177-a3f0-778f0a09e94b",
      "name": "No Operation, do nothing",
      "type": "n8n-nodes-base.noOp",
      "position": [
        448,
        288
      ]
    },
    {
      "id": "ba4b4319-ad88-48b5-932c-ea4cb6ce220e",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1248,
        176
      ],
      "parameters": {
        "width": 368,
        "height": 592,
        "content": "## How it works\nThis workflow analyzes website content to check quality, SEO, and readability. You fill out a form with the website URL and what to analyze. It reads the website content, gives it scor"
      }
    },
    {
      "id": "77479ebe-94cd-4e0e-a6e3-df73801e6649",
      "name": "Aggregate Analysis Data",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        448,
        688
      ]
    },
    {
      "id": "fb8c375a-03d5-40d6-b006-aa3965463897",
      "name": "Create Google Doc Report",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1728,
        992
      ]
    },
    {
      "id": "399cc43b-094e-466a-b5aa-f688769ccce5",
      "name": "Update Google Doc Content",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        1936,
        992
      ]
    },
    {
      "id": "e9f0aa40-005a-42f6-bc95-1f009d60affc",
      "name": "Create Trello Task",
      "type": "n8n-nodes-base.trello",
      "position": [
        2080,
        464
      ]
    },
    {
      "id": "15bc4610-ab81-4950-89d6-25514e92846c",
      "name": "Skip Duplicate Analysis",
      "type": "n8n-nodes-base.slack",
      "position": [
        2320,
        464
      ]
    },
    {
      "id": "e49b6db5-1007-4bc7-985c-cc38d04e6c26",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -624,
        304
      ],
      "parameters": {
        "width": 800,
        "height": 304,
        "content": "## Start Analysis\nThis is where you enter the website URL and what to analyze. It checks if this website was analyzed before to avoid doing the same work twice."
      }
    },
    {
      "id": "2ebcebd7-8747-4259-9ac0-3400c83029e7",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        512
      ],
      "parameters": {
        "width": 560,
        "height": 368,
        "content": "## Read & Score Website\nThis visits the website and reads all the content. The AI checks the quality, SEO, and readability, then gives scores and finds what needs improvement."
      }
    },
    {
      "id": "39f86e93-2503-424f-bf6c-2a54f3ec1f61",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1072,
        512
      ],
      "parameters": {
        "width": 416,
        "height": 368,
        "content": "## Save & Check Quality\nThis saves all the analysis results to Google Sheets. It checks if the content quality score is below 80, which means it needs fixing."
      }
    },
    {
      "id": "e5685f32-fb53-4e39-906d-09913441f1e8",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1696,
        848
      ],
      "parameters": {
        "width": 1024,
        "height": 304,
        "content": "## Make Reports\nThis creates a Google Doc with the analysis results, sends an email report, and tells your team in Slack that the analysis is done."
      }
    },
    {
      "id": "22ad5b23-3712-4ef8-a07a-83242d60f831",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1696,
        240
      ],
      "parameters": {
        "width": 784,
        "height": 368,
        "content": "## Fix Low Quality\nFor websites with low scores, this creates a step-by-step plan to fix the content, makes a Trello task to track the work, and sends an urgent Slack alert.\n\n"
      }
    }
  ],
  "connections": {
    "Format Email HTML": {
      "main": [
        [
          {
            "node": "Send Analysis Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Remediation Plan Generator",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Create Trello Task": {
      "main": [
        [
          {
            "node": "Skip Duplicate Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Decodo Scraping Tool": {
      "ai_tool": [
        [
          {
            "node": "Content Intelligence AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Send Analysis Report": {
      "main": [
        [
          {
            "node": "Notify Team (Normal)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "GPT-4o Analysis Engine": {
      "ai_languageModel": [
        [
          {
            "node": "Content Intelligence AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Report Already Exists?": {
      "main": [
        [
          {
            "node": "No Operation, do nothing",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Aggregate Analysis Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Analysis Data": {
      "main": [
        [
          {
            "node": "Content Intelligence AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analysis Results Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Content Intelligence AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "Check Previous Analysis": {
      "main": [
        [
          {
            "node": "Report Already Exists?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Google Doc Report": {
      "main": [
        [
          {
            "node": "Update Google Doc Content",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Analysis Context": {
      "main": [
        [
          {
            "node": "Check Previous Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Analysis to Database": {
      "main": [
        [
          {
            "node": "Check Content Quality Threshold",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Google Doc Content": {
      "main": [
        [
          {
            "node": "Format Email HTML",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Remediation Plan Generator": {
      "main": [
        [
          {
            "node": "Create Trello Task",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content Analysis Request Form": {
      "main": [
        [
          {
            "node": "Prepare Analysis Context",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Content Intelligence AI Agent": {
      "main": [
        [
          {
            "node": "Save Analysis to Database",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Content Quality Threshold": {
      "main": [
        [
          {
            "node": "Remediation Plan Generator",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create Google Doc Report",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}