{
  "name": "Transform Reddit questions into SEO blog posts with OpenAI and Google Sheets",
  "nodes": [
    {
      "id": "5b9da2a1-7d77-4e17-ab04-cd7a34305dda",
      "name": "When clicking ‘Test workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "4b4d05f4-7494-4f3f-8e33-4b09a4920996",
      "name": "Reddit",
      "type": "n8n-nodes-base.reddit",
      "position": [
        220,
        0
      ]
    },
    {
      "id": "3da806b8-d52a-470b-a280-a31b0d9d1c55",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        440,
        0
      ]
    },
    {
      "id": "c9df91c8-d370-45a4-bfc9-e682ce677f78",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        660,
        0
      ]
    },
    {
      "id": "60e828fb-90aa-42f9-ac75-d59ff732b706",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1140,
        20
      ]
    },
    {
      "id": "ae951b39-5394-4f3e-bd28-e08dab4abe8e",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1160,
        160
      ]
    },
    {
      "id": "381cc813-a2e7-4da3-958e-15c916df5661",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1300,
        160
      ]
    },
    {
      "id": "3a8b3d6e-6f14-4c52-bab1-47a71c321534",
      "name": "Google Sheets1",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1780,
        20
      ]
    },
    {
      "id": "ddf4c5cd-3668-413e-ba80-0644f663b47e",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2200,
        -200
      ]
    },
    {
      "id": "84eaa3ce-4eba-4c97-98c4-b2fa5d39b002",
      "name": "Simple Memory1",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2340,
        -200
      ]
    },
    {
      "id": "57ab383f-0279-4d4a-977c-bbe8dd9953f3",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        880,
        0
      ]
    },
    {
      "id": "74f3d988-82eb-4722-9796-a9594cd563c7",
      "name": "OpenAI Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2200,
        60
      ]
    },
    {
      "id": "4583f24f-8199-4725-bfc2-23eb04fb0c2d",
      "name": "Simple Memory2",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2360,
        60
      ]
    },
    {
      "id": "8e529c7f-764f-46a8-8010-49e5f801012c",
      "name": "OpenAI Chat Model3",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2200,
        360
      ]
    },
    {
      "id": "bfb7a49b-5688-4dbd-a5f2-5505d3445ef8",
      "name": "Simple Memory3",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2360,
        360
      ]
    },
    {
      "id": "e747447f-1f00-470c-bb1c-2e588fcd3a47",
      "name": "OpenAI Chat Model4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2200,
        660
      ]
    },
    {
      "id": "53623375-a153-49fc-b3cd-24b4a7df4486",
      "name": "Simple Memory4",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2360,
        660
      ]
    },
    {
      "id": "fb62267e-2601-49ea-ac1f-b4cfa3d2466d",
      "name": "Google Sheets2",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        3420,
        820
      ]
    },
    {
      "id": "d2e1f412-c24f-4341-b3e4-1392b37617c1",
      "name": "Edit Fields",
      "type": "n8n-nodes-base.set",
      "position": [
        2560,
        -320
      ]
    },
    {
      "id": "5fe4ac5d-1eb0-41eb-b9b4-b2b12df9dfa0",
      "name": "Edit Fields1",
      "type": "n8n-nodes-base.set",
      "position": [
        2560,
        -80
      ]
    },
    {
      "id": "35aebbc3-a15a-43a5-92e3-1834c406e37f",
      "name": "Edit Fields2",
      "type": "n8n-nodes-base.set",
      "position": [
        2560,
        220
      ]
    },
    {
      "id": "b971d073-8336-4de5-9de5-88d6bf4397e8",
      "name": "Intro",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2200,
        -80
      ]
    },
    {
      "id": "bf226067-d9fc-4234-8bfd-20d57bb67d71",
      "name": "Steps",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2200,
        220
      ]
    },
    {
      "id": "7b9bf3b5-d34f-438c-bb1a-14b14ba08ca0",
      "name": "Conclusion",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2200,
        520
      ]
    },
    {
      "id": "10b9d9f6-cd23-4503-b854-7cebdf63abb1",
      "name": "Edit Fields3",
      "type": "n8n-nodes-base.set",
      "position": [
        2560,
        520
      ]
    },
    {
      "id": "74ba76b2-7994-4be2-b2a7-fed168aed7b3",
      "name": "slug",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2200,
        -320
      ]
    },
    {
      "id": "43a92b74-e779-4b45-9801-e4fe62eebd1f",
      "name": "Edit Fields4",
      "type": "n8n-nodes-base.set",
      "position": [
        1500,
        20
      ]
    },
    {
      "id": "2007fdc6-1fed-4aad-b2e9-28f73e162336",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -80
      ],
      "parameters": {
        "width": 460,
        "height": 280,
        "content": "# Send data"
      }
    },
    {
      "id": "2d6c5238-cfda-43cb-97c2-5e3cdb95c1cc",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2100,
        -440
      ],
      "parameters": {
        "width": 600,
        "height": 1280,
        "content": "# Article factory"
      }
    },
    {
      "id": "fef9e95f-59db-4104-b4bd-c12c1f4b7052",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1060,
        -80
      ],
      "parameters": {
        "width": 780,
        "height": 440,
        "content": "# Enhancer"
      }
    },
    {
      "id": "3509ee41-42a8-4280-a91e-018931912fc9",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        400,
        -80
      ],
      "parameters": {
        "width": 400,
        "height": 280,
        "content": "# Data cleaner"
      }
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "slug": {
      "main": [
        [
          {
            "node": "Edit Fields",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Intro": {
      "main": [
        [
          {
            "node": "Edit Fields1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Steps": {
      "main": [
        [
          {
            "node": "Edit Fields2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reddit": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Edit Fields4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Conclusion": {
      "main": [
        [
          {
            "node": "Edit Fields3",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields": {
      "main": [
        [
          {
            "node": "Google Sheets2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields1": {
      "main": [
        [
          {
            "node": "Google Sheets2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields2": {
      "main": [
        [
          {
            "node": "Google Sheets2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields3": {
      "main": [
        [
          {
            "node": "Google Sheets2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Edit Fields4": {
      "main": [
        [
          {
            "node": "Google Sheets1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets1": {
      "main": [
        [
          {
            "node": "Intro",
            "type": "main",
            "index": 0
          },
          {
            "node": "Steps",
            "type": "main",
            "index": 0
          },
          {
            "node": "Conclusion",
            "type": "main",
            "index": 0
          },
          {
            "node": "slug",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets2": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory1": {
      "ai_memory": [
        [
          {
            "node": "slug",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory2": {
      "ai_memory": [
        [
          {
            "node": "Intro",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory3": {
      "ai_memory": [
        [
          {
            "node": "Steps",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory4": {
      "ai_memory": [
        [
          {
            "node": "Conclusion",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [],
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "slug",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Intro",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model3": {
      "ai_languageModel": [
        [
          {
            "node": "Steps",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Conclusion",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Reddit",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}