{
  "name": "AI Workflow Knowledge Ingestion Pipeline",
  "nodes": [
    {
      "parameters": {
        "mode": "insert",
        "pineconeIndex": {
          "__rl": true,
          "value": "your-pinecone-index",
          "mode": "list",
          "cachedResultName": "your-pinecone-index"
        },
        "embeddingBatchSize": 1000,
        "options": {
          "pineconeNamespace": "workflows"
        }
      },
      "type": "@n8n/n8n-nodes-langchain.vectorStorePinecone",
      "typeVersion": 1.3,
      "position": [
        576,
        48
      ],
      "id": "f9c82990-92c6-4448-8e72-b60cd9b57e32",
      "name": "Pinecone Vector Store1",
      "credentials": {
        "pineconeApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.embeddingsOpenAi",
      "typeVersion": 1.2,
      "position": [
        592,
        256
      ],
      "id": "284fb504-ae31-464b-8d10-41d9fbc4c3ab",
      "name": "Embeddings OpenAI1",
      "credentials": {
        "openAiApi": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.documentDefaultDataLoader",
      "typeVersion": 1.1,
      "position": [
        800,
        240
      ],
      "id": "2a4c8ca2-a78a-423b-ac27-aabea053ca4b",
      "name": "Default Data Loader"
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            },
            {}
          ]
        },
        "triggerOn": "specificFolder",
        "folderToWatch": {
          "__rl": true,
          "mode": "list",
          "value": "your-google-drive-folder-id"
        },
        "event": "fileCreated",
        "options": {}
      },
      "type": "n8n-nodes-base.googleDriveTrigger",
      "typeVersion": 1,
      "position": [
        432,
        48
      ],
      "id": "88a984c2-5b2b-4724-be34-6b8a2b53aa26",
      "name": "Google Drive Trigger",
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      }
    },
    {
      "parameters": {
        "content": "## Trigger watches for new workflow/template uploads"
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        112,
        32
      ],
      "typeVersion": 1,
      "id": "8c92299f-f503-47ea-a339-749cbf1247e3",
      "name": "Sticky Note"
    },
    {
      "parameters": {
        "content": "## Documents are converted into embeddings"
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        512,
        400
      ],
      "typeVersion": 1,
      "id": "373c3df0-e982-4760-87ba-461ce7d0d520",
      "name": "Sticky Note1"
    },
    {
      "parameters": {
        "content": "## Embeddings stored in Pinecone for RAG retrieval"
      },
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        576,
        -128
      ],
      "typeVersion": 1,
      "id": "0a6079b2-29e0-4cf7-995f-840f595e75fd",
      "name": "Sticky Note2"
    }
  ],
  "connections": {
    "Embeddings OpenAI1": {
      "ai_embedding": [
        [
          {
            "node": "Pinecone Vector Store1",
            "type": "ai_embedding",
            "index": 0
          }
        ]
      ]
    },
    "Default Data Loader": {
      "ai_document": [
        [
          {
            "node": "Pinecone Vector Store1",
            "type": "ai_document",
            "index": 0
          }
        ]
      ]
    },
    "Google Drive Trigger": {
      "main": [
        [
          {
            "node": "Pinecone Vector Store1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "tags": []
}