{
  "name": "Find Reddit prospects & generate personalized responses with Llama3 AI and Google Sheets",
  "nodes": [
    {
      "id": "6e6dbef8-5068-4e08-b5c9-356bfa92bacd",
      "name": "When clicking â€˜Test workflowâ€™",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -1160,
        2750
      ]
    },
    {
      "id": "7c5387d7-c96f-4d1d-b35f-edb3687a8a69",
      "name": "Get Existing Posts1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -720,
        2650
      ]
    },
    {
      "id": "bcfab50a-cb46-4546-8351-9f15f8fddcce",
      "name": "Log Irrelevant Post",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        756,
        2500
      ]
    },
    {
      "id": "da43e4b5-90cc-4e19-a793-1ff0edd0b379",
      "name": "Log Relevant Post",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        756,
        2850
      ]
    },
    {
      "id": "af58b686-b86d-4484-99b8-b575d479fe3e",
      "name": "Post Reddit Comment",
      "type": "n8n-nodes-base.reddit",
      "position": [
        976,
        2950
      ]
    },
    {
      "id": "136b95ed-15f1-46dc-8e37-c1864cb4c206",
      "name": "Is Post Relevant?",
      "type": "n8n-nodes-base.if",
      "position": [
        536,
        2500
      ]
    },
    {
      "id": "3015d949-5bea-48df-b3d2-4d39ec8f220c",
      "name": "Parse AI Response",
      "type": "n8n-nodes-base.code",
      "position": [
        316,
        2500
      ]
    },
    {
      "id": "5a7e3ca1-6beb-438f-ae7b-c41b0c456758",
      "name": "Ollama Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOllama",
      "position": [
        -40,
        2740
      ]
    },
    {
      "id": "1e9b7447-d5b5-405c-854d-b5e0c3b877dd",
      "name": "AI Relevance Analysis",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -60,
        2400
      ]
    },
    {
      "id": "c35aa9a2-d727-4e4a-a7f6-18129b8c758f",
      "name": "Process One Post at a Time",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -280,
        2750
      ]
    },
    {
      "id": "75122d4c-687b-468b-98d6-66cc80dca814",
      "name": "Filter New Posts",
      "type": "n8n-nodes-base.code",
      "position": [
        -500,
        2750
      ]
    },
    {
      "id": "a46dd2d7-8843-4999-bf7c-2e8c209fae48",
      "name": "Process Post Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        -720,
        2850
      ]
    },
    {
      "id": "6c37690a-b6fd-409c-b94b-cb056197cc08",
      "name": "Get Reddit Posts",
      "type": "n8n-nodes-base.reddit",
      "position": [
        -940,
        2750
      ]
    },
    {
      "id": "f7279c5b-f67b-494f-bf7b-720c664993d8",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1260,
        2140
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Filter New Posts": {
      "main": [
        [
          {
            "node": "Process One Post at a Time",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Reddit Posts": {
      "main": [
        [
          {
            "node": "Process Post Fields",
            "type": "main",
            "index": 0
          },
          {
            "node": "Get Existing Posts1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Post Relevant?": {
      "main": [
        [
          {
            "node": "Log Relevant Post",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Log Irrelevant Post",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Relevant Post": {
      "main": [
        [
          {
            "node": "Post Reddit Comment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ollama Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Relevance Analysis",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI Response": {
      "main": [
        [
          {
            "node": "Is Post Relevant?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Existing Posts1": {
      "main": [
        [
          {
            "node": "Filter New Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log Irrelevant Post": {
      "main": [
        [
          {
            "node": "Process One Post at a Time",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Post Reddit Comment": {
      "main": [
        [
          {
            "node": "Process One Post at a Time",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process Post Fields": {
      "main": [
        [
          {
            "node": "Filter New Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Relevance Analysis": {
      "main": [
        [
          {
            "node": "Parse AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Process One Post at a Time": {
      "main": [
        [
          {
            "node": "Get Reddit Posts",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "AI Relevance Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking â€˜Test workflowâ€™": {
      "main": [
        [
          {
            "node": "Get Reddit Posts",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}