{
  "name": "Build & query RAG system with Google Drive, OpenAI GPT-4o-mini, and Pinecone",
  "nodes": [
    {
      "id": "71812204-ccca-4757-a52f-0cd30c7ef393",
      "name": "Google Drive Trigger",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -440,
        -80
      ]
    },
    {
      "id": "e4302b23-c964-421e-a8fd-3e84935a1fea",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -220,
        -80
      ]
    },
    {
      "id": "9990d9d8-3c56-49af-beb9-d9a335ed7874",
      "name": "Pinecone Vector Store",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        40,
        -80
      ]
    },
    {
      "id": "ee09de71-4146-4f51-a036-5eeb0d72044a",
      "name": "Embeddings OpenAI",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        -40,
        140
      ]
    },
    {
      "id": "b1edcf2c-4b19-43dc-9985-dad03a0e6df2",
      "name": "Default Data Loader",
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "position": [
        180,
        140
      ]
    },
    {
      "id": "1db4c053-9953-4a63-91cc-676fc59d434d",
      "name": "Recursive Character Text Splitter",
      "type": "@n8n/n8n-nodes-langchain.textSplitterRecursiveCharacterTextSplitter",
      "position": [
        200,
        260
      ]
    },
    {
      "id": "80e69d74-18ca-4d47-8900-9fa070fd2b22",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -440,
        440
      ]
    },
    {
      "id": "9679f79a-cbee-4d6e-9633-76c96e5c7ffc",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -720,
        440
      ]
    },
    {
      "id": "3ea509ac-f5dd-410f-b310-587382770773",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -440,
        620
      ]
    },
    {
      "id": "6bbee514-a4c6-4ea9-97fb-02d0343c93a9",
      "name": "Pinecone Vector Store1",
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "position": [
        -140,
        600
      ]
    },
    {
      "id": "37fd9772-35c6-4310-b449-f1b07b729f6d",
      "name": "Embeddings OpenAI1",
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "position": [
        60,
        760
      ]
    },
    {
      "id": "51c6804d-6b49-4a5f-a475-26abef7925b0",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1220,
        80
      ],
      "parameters": {
        "width": 460,
        "height": 620,
        "content": "## Instant RaG Builder: Drive to Pinecone\n\n**Author** **David Olusola**\n\n**Set Up** :✅ Connect credentials:\n    Google Drive, OpenAI, Pinecone\n\n📁 Upload file to:\n    Google Drive folder (auto-watched)"
      }
    }
  ],
  "connections": {
    "Google Drive": {
      "main": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Embeddings OpenAI1": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store1",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Pinecone Vector Store",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive Trigger": {
      "main": [
        [
          {
            "node": "Google Drive",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pinecone Vector Store1": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Recursive Character Text Splitter": {
      "ai_textSplitter": [
        [
          {
            "node": "Default Data Loader",
            "type": "ai_textSplitter",
            "index": 0
          }
        ]
      ]
    }
  }
}