{
  "name": "Generate SEO blog posts from web searches with Mistral AI and Google Drive",
  "nodes": [
    {
      "id": "9993cc2b-317f-45c2-9126-b98243be6c1c",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -1280,
        512
      ]
    },
    {
      "id": "c7f941f5-64a8-4f0e-9255-5221fc7480c5",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -928,
        512
      ]
    },
    {
      "id": "59caec66-ca59-49d9-9f46-7d249d7ec09c",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -752,
        512
      ]
    },
    {
      "id": "d3b8b486-22f5-4893-84b1-ce634844fb07",
      "name": "Get content from URL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -560,
        512
      ]
    },
    {
      "id": "1ab856bb-c79b-4f3c-ba34-d95c1006f1de",
      "name": "Loop Over Items1",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -448,
        128
      ]
    },
    {
      "id": "81bd2156-1d61-455b-935b-1de0d465c115",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1312,
        464
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "0547bc88-a94f-41ae-b605-98974a9b4c02",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -528,
        48
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "1fa72a0c-bff0-4133-9102-2b576ad312ea",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -32,
        32
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "3b1dd383-0ae2-4344-8001-e686f0996d82",
      "name": "Create Body Text Code",
      "type": "n8n-nodes-base.code",
      "position": [
        -256,
        64
      ]
    },
    {
      "id": "bcff25e5-225a-4f67-a387-bf3c2e0bbdd9",
      "name": "Clean body text",
      "type": "n8n-nodes-base.code",
      "position": [
        -256,
        240
      ]
    },
    {
      "id": "2b38b897-9e59-41f2-84b1-a39927e3da39",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        368,
        512
      ]
    },
    {
      "id": "7ea2cf25-e8bc-4cce-9a0b-cba5bdca60df",
      "name": "Data extractor and summarizer1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        80,
        80
      ]
    },
    {
      "id": "c7c11922-eb61-4d3d-afa4-9b78bd3f99df",
      "name": "Seo Content1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        80,
        304
      ]
    },
    {
      "id": "d2588e5f-98f3-4524-a6b0-7fe4e7e121fa",
      "name": "Refine Content1",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        80,
        512
      ]
    },
    {
      "id": "6994702b-1fb6-4880-924c-9f68c97f638e",
      "name": "Ollama Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOllama",
      "position": [
        736,
        256
      ]
    },
    {
      "id": "9979b2bc-f4cf-4568-89a2-7cddd79d5563",
      "name": "Google Search (rapid api)",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1088,
        512
      ]
    }
  ],
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Seo Content1": {
      "main": [
        [
          {
            "node": "Refine Content1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Clean body text": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Loop Over Items1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get content from URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Refine Content1": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items1": {
      "main": [
        [
          {
            "node": "Create Body Text Code",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Clean body text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Ollama Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Data extractor and summarizer1",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Seo Content1",
            "type": "ai_languageModel",
            "index": 0
          },
          {
            "node": "Refine Content1",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Get content from URL": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Body Text Code": {
      "main": [
        [
          {
            "node": "Data extractor and summarizer1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Search (rapid api)": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Google Search (rapid api)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Data extractor and summarizer1": {
      "main": [
        [
          {
            "node": "Seo Content1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}