{
  "name": "Monitor competitors' websites for changes with OpenAI and Firecrawl",
  "nodes": [
    {
      "id": "5690844d-5322-4c62-8c83-eb4d4dc9c481",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1400,
        340
      ]
    },
    {
      "id": "3b1c034f-501b-423c-844f-9cb607fa91e6",
      "name": "Gmail",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1580,
        340
      ]
    },
    {
      "id": "4d448a02-4569-451e-8be5-59bfc48f36d8",
      "name": "parse results",
      "type": "n8n-nodes-base.code",
      "position": [
        1180,
        -160
      ]
    },
    {
      "id": "238298c4-5bba-4ac1-b3cc-ab5a28888560",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1420,
        -120
      ],
      "parameters": {
        "width": 260,
        "height": 180,
        "content": "## Note: almost never works right away\nAdjust the prompts in the 'Tools agent' and 'Gmail' node as desired to steer the agent's behavior in the right direction"
      }
    },
    {
      "id": "0d519c06-aa30-4a33-895f-9185936d27cf",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        480,
        100
      ],
      "parameters": {
        "width": 150,
        "height": 80,
        "content": "Connect your Firecrawl account"
      }
    },
    {
      "id": "9e327bbe-0096-4a4d-aec2-2e4cae7d91bd",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1740,
        80
      ],
      "parameters": {
        "width": 150,
        "height": 80,
        "content": "Connect your own OpenAI account\n"
      }
    },
    {
      "id": "30ce0e22-f536-462f-8f94-f3fd92ae036f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1660,
        300
      ],
      "parameters": {
        "width": 150,
        "height": 80,
        "content": "Connect your own Gmail account\n"
      }
    },
    {
      "id": "bc003781-3d91-49b6-b6bb-b2970b39256a",
      "name": "convert message to website url & instruction",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        940,
        -160
      ]
    },
    {
      "id": "6a8c172d-ac39-4cb0-b601-39fc770695ed",
      "name": "New espionage assignment",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        700,
        -160
      ]
    },
    {
      "id": "c5c64e5c-88de-45e3-bb9b-4096e74a6e83",
      "name": "wait 1 day",
      "type": "n8n-nodes-base.wait",
      "position": [
        940,
        80
      ]
    },
    {
      "id": "62a278ff-ed00-4e54-a608-001237551113",
      "name": "scrape page - 1",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        700,
        80
      ]
    },
    {
      "id": "89c15d8f-7f8e-4391-b24a-07579964ca5c",
      "name": "scrape page - 2",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1180,
        80
      ]
    },
    {
      "id": "7b148c5b-d4ae-498a-b7ef-2ed4ecc0a665",
      "name": "send e-mail?",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1420,
        80
      ]
    },
    {
      "id": "7897d707-2c27-43bf-9ea0-90ab7996bf4a",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        920,
        -260
      ],
      "parameters": {
        "width": 150,
        "height": 80,
        "content": "Connect your own OpenAI account\n"
      }
    }
  ],
  "connections": {
    "Gmail": {
      "ai_tool": [
        [
          {
            "node": "send e-mail?",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "wait 1 day": {
      "main": [
        [
          {
            "node": "scrape page - 2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "send e-mail?": {
      "main": [
        [
          {
            "node": "scrape page - 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "parse results": {
      "main": [
        [
          {
            "node": "scrape page - 1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "scrape page - 1": {
      "main": [
        [
          {
            "node": "wait 1 day",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "scrape page - 2": {
      "main": [
        [
          {
            "node": "send e-mail?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "send e-mail?",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "New espionage assignment": {
      "main": [
        [
          {
            "node": "convert message to website url & instruction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "convert message to website url & instruction": {
      "main": [
        [
          {
            "node": "parse results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}