{
  "name": "Analyze brand mentions on Reddit with GPT-4o mini and Notion integration",
  "nodes": [
    {
      "id": "4238ae60-fd5a-471e-9c62-b5afb1e84054",
      "name": "Sticky Note11",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2960,
        2180
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e2716292-5034-416e-8d86-55ae78d7c168",
      "name": "Sticky Note12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2660,
        2180
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8d668675-04a5-407f-8ca8-e1b43bfb2fb2",
      "name": "Sticky Note13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3260,
        2520
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "74a0935d-0192-44c9-9fb2-49a74c119e7e",
      "name": "Sticky Note14",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3260,
        2180
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "2c8b65c3-5acb-4a11-9ac1-567d67c0e814",
      "name": "Sticky Note15",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1980,
        2520
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "44f9363b-a56f-458b-9d84-1ce49a0831fa",
      "name": "Sticky Note16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2340,
        2180
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ad5546d8-58eb-41c0-b1b6-1291f5763f84",
      "name": "Sticky Note17",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2440,
        2520
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e2c9ca9d-8127-4aa6-987b-94533961a795",
      "name": "json schema ",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -2120,
        2640
      ]
    },
    {
      "id": "05779b77-4e90-455f-901c-80aef1b0f99d",
      "name": "Sticky Note18",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1980,
        2780
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1d5b5fa8-3cec-4c6b-9fc6-4fa33aba5623",
      "name": "Sticky Note19",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3260,
        1920
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "31bb6c62-b7d0-4e65-8a9d-f7293ce99cdc",
      "name": "Sticky Note20",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2660,
        1920
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ca895719-7768-4b08-b186-65df283aec5e",
      "name": "Sticky Note21",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2060,
        1920
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8177ea2f-bed2-4027-ac2d-24e23e4fb2d5",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -2300,
        2900
      ]
    },
    {
      "id": "81185481-9b48-4553-9879-a9a6ef8bab9d",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -3180,
        2320
      ]
    },
    {
      "id": "5d56e06b-d09d-468d-b8aa-b9b9e91d6ff2",
      "name": "Report to Notion",
      "type": "n8n-nodes-base.notion",
      "position": [
        -1760,
        2580
      ]
    },
    {
      "id": "7a80fc75-b4f1-4cce-9d9e-4b8c9c56b2cb",
      "name": "analyze",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -2340,
        2700
      ]
    },
    {
      "id": "5dd264c4-6596-4406-b906-98cda2032a8b",
      "name": "iterate_on_misspellings",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -2660,
        2820
      ]
    },
    {
      "id": "04383dd1-5d0a-4664-8384-2831fe46bfe4",
      "name": "Loop Over Misspellings",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -2680,
        2620
      ]
    },
    {
      "id": "7532cb4f-6bec-4ff2-bf43-4505aaa037dd",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -2880,
        2720
      ]
    },
    {
      "id": "130c8372-639f-45fe-a59a-3eb13ef1efc0",
      "name": "misspellings",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -3200,
        2820
      ]
    },
    {
      "id": "e1db38a9-db93-47f1-aeef-5fa5f0b26cf0",
      "name": "Exclude Existing",
      "type": "n8n-nodes-base.merge",
      "position": [
        -1620,
        2300
      ]
    },
    {
      "id": "78f09193-d6d6-4165-a85b-9cf9fc235543",
      "name": "search for existing",
      "type": "n8n-nodes-base.notion",
      "position": [
        -1960,
        2260
      ]
    },
    {
      "id": "e8aee646-bb9e-4cd0-ae64-134c32b85bde",
      "name": "Merge Reddit Posts",
      "type": "n8n-nodes-base.merge",
      "position": [
        -2280,
        2300
      ]
    },
    {
      "id": "a6fd80d0-221f-4046-ac57-fa9eb1086307",
      "name": "search brand name",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -2580,
        2320
      ]
    },
    {
      "id": "eedadaf8-1f33-48f9-a80b-cb6163fc19cc",
      "name": "Add Your Info",
      "type": "n8n-nodes-base.set",
      "position": [
        -2880,
        2320
      ]
    },
    {
      "id": "faadc4cb-0a6d-4084-9c00-412800c57035",
      "name": "json schema",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -3020,
        2780
      ]
    },
    {
      "id": "8dde3189-2d3e-4770-9e43-21eeacc1efba",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -3260,
        1660
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "analyze": {
      "main": [
        [
          {
            "node": "Report to Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Loop Over Misspellings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "json schema": {
      "ai_outputParser": [
        [
          {
            "node": "misspellings",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "json schema ": {
      "ai_outputParser": [
        [
          {
            "node": "analyze",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "misspellings": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Your Info": {
      "main": [
        [
          {
            "node": "search brand name",
            "type": "main",
            "index": 0
          },
          {
            "node": "misspellings",
            "type": "main",
            "index": 0
          },
          {
            "node": "search for existing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Exclude Existing": {
      "main": [
        [
          {
            "node": "analyze",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Add Your Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "analyze",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "misspellings",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "search brand name": {
      "main": [
        [
          {
            "node": "Merge Reddit Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge Reddit Posts": {
      "main": [
        [
          {
            "node": "Exclude Existing",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "search for existing": {
      "main": [
        [
          {
            "node": "Exclude Existing",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Misspellings": {
      "main": [
        [
          {
            "node": "Merge Reddit Posts",
            "type": "main",
            "index": 1
          }
        ],
        [
          {
            "node": "iterate_on_misspellings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "iterate_on_misspellings": {
      "main": [
        [
          {
            "node": "Loop Over Misspellings",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}