{
  "name": "Generate AI market research reports from NewsAPI and competitor sites to Notion, Sheets and Slack",
  "nodes": [
    {
      "id": "37c68439-80ab-43f2-96fa-f0e3d1fbca27",
      "name": "Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        928,
        -800
      ]
    },
    {
      "id": "7425fba1-9fc8-49b3-bdd8-5862126b1af5",
      "name": "Main Overview1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1648,
        -1840
      ],
      "parameters": {
        "width": 520,
        "height": 548,
        "content": "## 📊 Generate market research reports from news and competitor sites to Notion and Slack\n\n### How it works\nThis workflow automates market and competitive intelligence. It triggers on a schedule to gat"
      }
    },
    {
      "id": "fa465f81-ed01-43dc-9394-2df0a1dcf08a",
      "name": "Section ",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -896,
        -1536
      ],
      "parameters": {
        "width": 492,
        "height": 336,
        "content": "## 1. Config & Triggers\nSets the schedule and defines search keywords or competitor URLs."
      }
    },
    {
      "id": "51100b42-2a10-4a1b-b045-0353d455305d",
      "name": "Section 6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -288,
        -1536
      ],
      "parameters": {
        "width": 524,
        "height": 592,
        "content": "## 2. Data Collection\nFetches latest industry news and scrapes competitor site content simultaneously."
      }
    },
    {
      "id": "d69f3c56-2d39-448c-9b9c-d3e9c7a54936",
      "name": "Section 7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        288,
        -1424
      ],
      "parameters": {
        "width": 840,
        "height": 368,
        "content": "## 3. AI Intelligence Layer\nConsolidates raw data, prepares the analysis prompt, and runs the GPT-4o model."
      }
    },
    {
      "id": "1a61e1e2-312b-47e1-8142-cfcbb0133a34",
      "name": "Section 8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1200,
        -1520
      ],
      "parameters": {
        "width": 640,
        "height": 576,
        "content": "## 4. Multi-Channel Export\nSaves the structured report to Notion/Sheets and alerts the team via Slack."
      }
    },
    {
      "id": "66a475b4-f622-4b75-a195-dc3a0236690e",
      "name": "Section 9",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        880,
        -912
      ],
      "parameters": {
        "width": 540,
        "height": 272,
        "content": "## 5. Error Monitoring\nCatches any API failures and sends an immediate alert to the admin Slack channel."
      }
    },
    {
      "id": "8b0da5b7-8ba0-4572-984b-b0bb58debf34",
      "name": "Schedule Trigger1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -848,
        -1424
      ]
    },
    {
      "id": "8ceba372-f262-4e73-81f8-73ca9e46dfe1",
      "name": "Research Configuration1",
      "type": "n8n-nodes-base.code",
      "position": [
        -528,
        -1424
      ]
    },
    {
      "id": "3c095fe2-18ca-4a42-8175-10b5d6245899",
      "name": "Fetch News Data1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -208,
        -1424
      ]
    },
    {
      "id": "1da16642-afd5-4e49-9c78-0e378c72e4c8",
      "name": "Scrape Competitor Site1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -208,
        -1136
      ]
    },
    {
      "id": "0f406a22-0c9c-4c23-87f3-7aaf93496ce3",
      "name": "Merge Data1",
      "type": "n8n-nodes-base.merge",
      "position": [
        128,
        -1280
      ]
    },
    {
      "id": "1f5aef77-6b7b-4d17-af22-fb2ed34ff3b6",
      "name": "Prepare AI Analysis Prompt1",
      "type": "n8n-nodes-base.code",
      "position": [
        448,
        -1280
      ]
    },
    {
      "id": "99bc11e7-5bba-4c53-b1b6-1fd06a435435",
      "name": "Execute OpenAI Analysis1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        688,
        -1280
      ]
    },
    {
      "id": "e31ef046-2f5c-457d-8ed4-0fbc57712ca7",
      "name": "Structure Analysis Results1",
      "type": "n8n-nodes-base.code",
      "position": [
        1008,
        -1280
      ]
    },
    {
      "id": "3fe0e2e1-b66c-47e0-b873-e6f8deea40b5",
      "name": "Save Report to Notion1",
      "type": "n8n-nodes-base.notion",
      "position": [
        1328,
        -1392
      ]
    },
    {
      "id": "4d445021-ba67-4550-bc42-303b948f7402",
      "name": "Log Data to Google Sheets1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1328,
        -1152
      ]
    },
    {
      "id": "9cc8ce74-93fe-4751-9fb6-130142ac8d69",
      "name": "Slack Completion Notification1",
      "type": "n8n-nodes-base.slack",
      "position": [
        1648,
        -1280
      ]
    },
    {
      "id": "11c8adbd-a781-45f7-92a0-e89f69948eec",
      "name": "Slack Error Notification1",
      "type": "n8n-nodes-base.slack",
      "position": [
        1184,
        -800
      ]
    }
  ],
  "connections": {
    "Merge Data1": {
      "main": [
        [
          {
            "node": "Prepare AI Analysis Prompt1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Error Trigger": {
      "main": [
        [
          {
            "node": "Slack Error Notification1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch News Data1": {
      "main": [
        [
          {
            "node": "Merge Data1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger1": {
      "main": [
        [
          {
            "node": "Research Configuration1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Save Report to Notion1": {
      "main": [
        [
          {
            "node": "Slack Completion Notification1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Research Configuration1": {
      "main": [
        [
          {
            "node": "Fetch News Data1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Scrape Competitor Site1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Scrape Competitor Site1": {
      "main": [
        [
          {
            "node": "Merge Data1",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Execute OpenAI Analysis1": {
      "main": [
        [
          {
            "node": "Structure Analysis Results1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Data to Google Sheets1": {
      "main": [
        [
          {
            "node": "Slack Completion Notification1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare AI Analysis Prompt1": {
      "main": [
        [
          {
            "node": "Execute OpenAI Analysis1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structure Analysis Results1": {
      "main": [
        [
          {
            "node": "Save Report to Notion1",
            "type": "main",
            "index": 0
          },
          {
            "node": "Log Data to Google Sheets1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}