{
  "name": "Monitor competitors & generate content ideas with GPT4 & Gemini to Google Sheets",
  "nodes": [
    {
      "id": "a149649c-c695-4500-8f51-81e64bdbf06c",
      "name": "README – Template Description",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -32
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "95f893f2-809d-40e9-bf46-be5e32bd36fa",
      "name": "Submission Checklist",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -96,
        576
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0abdda3e-3949-4a35-88bd-eba9f3a2f3de",
      "name": "Cron: Weekly (Sun 5 PM)",
      "type": "n8n-nodes-base.cron",
      "position": [
        608,
        392
      ]
    },
    {
      "id": "8011bf83-bb44-42ad-b80d-585c623bb567",
      "name": "Set: Configuration (edit me)",
      "type": "n8n-nodes-base.set",
      "position": [
        832,
        392
      ]
    },
    {
      "id": "cb3bc91a-bb09-4f3e-a80b-6162ed03141d",
      "name": "Code: Build URL Items",
      "type": "n8n-nodes-base.code",
      "position": [
        1056,
        392
      ]
    },
    {
      "id": "56dc4d0e-c874-4b07-95b0-d0ba157d1dce",
      "name": "HTTP: Firecrawl Scrape",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1280,
        392
      ]
    },
    {
      "id": "fba41f3e-094b-4235-abef-f24c2a79b40d",
      "name": "Code: Normalize Content",
      "type": "n8n-nodes-base.code",
      "position": [
        1504,
        344
      ]
    },
    {
      "id": "a30fba28-172c-46bb-b3a0-4ceecfb9021c",
      "name": "HTTP: OpenAI Summarize",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1728,
        320
      ]
    },
    {
      "id": "29df9e22-8917-47a9-bbed-0085af371803",
      "name": "HTTP: Gemini Ideas",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1728,
        608
      ]
    },
    {
      "id": "3c20d79e-3141-4d0f-b0ca-391d22661bed",
      "name": "Code: Extract OpenAI",
      "type": "n8n-nodes-base.code",
      "position": [
        1952,
        272
      ]
    },
    {
      "id": "9c54023c-af65-404a-89c7-e6584f708024",
      "name": "Code: Extract Gemini",
      "type": "n8n-nodes-base.code",
      "position": [
        1952,
        680
      ]
    },
    {
      "id": "2bceb17d-fbe5-497a-856f-5f2bd5aef2d9",
      "name": "Merge: Summaries + Ideas",
      "type": "n8n-nodes-base.merge",
      "position": [
        2176,
        344
      ]
    },
    {
      "id": "edaaea99-84ce-49db-9f16-238862bd1ac8",
      "name": "Code: Compile Row",
      "type": "n8n-nodes-base.code",
      "position": [
        2400,
        344
      ]
    },
    {
      "id": "b4fbe243-8ab9-4661-aa87-3287f5b864a4",
      "name": "Google Sheets: Append",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2624,
        344
      ]
    },
    {
      "id": "45f7ac9c-b80a-496c-93cb-95b540c8e477",
      "name": "Code: Build Digest",
      "type": "n8n-nodes-base.code",
      "position": [
        2848,
        344
      ]
    },
    {
      "id": "697aeab2-2e06-48e5-9769-497f04417294",
      "name": "Email: Send Digest",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        3072,
        344
      ]
    },
    {
      "id": "f1dccdcb-48df-4cdb-8776-dc92c5ac33ce",
      "name": "IF: Telegram Enabled?",
      "type": "n8n-nodes-base.if",
      "position": [
        608,
        904
      ]
    },
    {
      "id": "be937308-4e20-4542-89d1-ffe2dd23dc14",
      "name": "Telegram: Notify",
      "type": "n8n-nodes-base.telegram",
      "position": [
        832,
        904
      ]
    },
    {
      "id": "28295ca0-d671-44b2-887d-7952f6062671",
      "name": "Catch: Error Handling",
      "type": "n8n-nodes-base.set",
      "position": [
        1952,
        488
      ]
    },
    {
      "id": "323f386b-7a0a-4fea-b8a4-8a99c0adb429",
      "name": "Format: Error Payload",
      "type": "n8n-nodes-base.code",
      "position": [
        2176,
        584
      ]
    },
    {
      "id": "fac110f8-23cc-4fd0-b9fa-4ea2bc98a7ec",
      "name": "Email: Error Notification",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        2400,
        584
      ]
    },
    {
      "id": "e32e2262-6311-454d-932d-03f1c4a2a3df",
      "name": "Credentials – Attach After Import",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        -32
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Code: Compile Row": {
      "main": [
        [
          {
            "node": "Google Sheets: Append",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code: Build Digest": {
      "main": [
        [
          {
            "node": "Email: Send Digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP: Gemini Ideas": {
      "main": [
        [
          {
            "node": "Code: Extract Gemini",
            "type": "main",
            "index": 0
          },
          {
            "node": "Catch: Error Handling",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code: Extract Gemini": {
      "main": [
        [
          {
            "node": "Merge: Summaries + Ideas",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Code: Extract OpenAI": {
      "main": [
        [
          {
            "node": "Merge: Summaries + Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Catch: Error Handling": {
      "main": [
        [
          {
            "node": "Format: Error Payload",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code: Build URL Items": {
      "main": [
        [
          {
            "node": "HTTP: Firecrawl Scrape",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format: Error Payload": {
      "main": [
        [
          {
            "node": "Email: Error Notification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets: Append": {
      "main": [
        [
          {
            "node": "Code: Build Digest",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF: Telegram Enabled?": {
      "main": [
        [
          {
            "node": "Telegram: Notify",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP: Firecrawl Scrape": {
      "main": [
        [
          {
            "node": "Code: Normalize Content",
            "type": "main",
            "index": 0
          },
          {
            "node": "Catch: Error Handling",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP: OpenAI Summarize": {
      "main": [
        [
          {
            "node": "Code: Extract OpenAI",
            "type": "main",
            "index": 0
          },
          {
            "node": "Catch: Error Handling",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Code: Normalize Content": {
      "main": [
        [
          {
            "node": "HTTP: OpenAI Summarize",
            "type": "main",
            "index": 0
          },
          {
            "node": "HTTP: Gemini Ideas",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Cron: Weekly (Sun 5 PM)": {
      "main": [
        [
          {
            "node": "Set: Configuration (edit me)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge: Summaries + Ideas": {
      "main": [
        [
          {
            "node": "Code: Compile Row",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set: Configuration (edit me)": {
      "main": [
        [
          {
            "node": "Code: Build URL Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}