AutomationFlowsAI & RAG › Google Drive to Pinecone AI Knowledge Pipeline

Google Drive to Pinecone AI Knowledge Pipeline

Original n8n title: AI Workflow Knowledge Ingestion Pipeline

AI Workflow Knowledge Ingestion Pipeline. Uses vectorStorePinecone, embeddingsOpenAi, documentDefaultDataLoader, googleDriveTrigger. Event-driven trigger; 7 nodes.

Event trigger★★☆☆☆ complexityAI-powered7 nodesPinecone Vector StoreOpenAI EmbeddingsDocument Default Data LoaderGoogle Drive Trigger
AI & RAG Trigger: Event Nodes: 7 Complexity: ★★☆☆☆ AI nodes: yes Added:

This workflow follows the Documentdefaultdataloader → OpenAI Embeddings recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "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": []
}

Credentials you'll need

Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.

Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

AI Workflow Knowledge Ingestion Pipeline. Uses vectorStorePinecone, embeddingsOpenAi, documentDefaultDataLoader, googleDriveTrigger. Event-driven trigger; 7 nodes.

Source: https://github.com/borisvillanueva/AI-Workflow-Generator-for-n8n/blob/main/workflows/workflow-knowledge-ingestion.json — original creator credit. Request a take-down →

More AI & RAG workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

AI & RAG

RAG Pipeline & Chatbot. Uses stickyNote, googleDriveTrigger, googleDrive, vectorStorePinecone. Event-driven trigger; 12 nodes.

Google Drive Trigger, Google Drive, Pinecone Vector Store +6
AI & RAG

🔍 What This Workflow Does

Google Drive Trigger, Google Drive, Pinecone Vector Store +6
AI & RAG

This n8n template automatically classifies incoming emails (Sales, Support, Internal, Finance, Promotions) and routes them to a dedicated OpenAI LLM Agent for processing. Depending on the category, th

OpenAI, Gmail, Text Classifier +16
AI & RAG

Automate Outreach Prospect automates finding, enriching, and messaging potential partners (like restaurants, malls, and bars) using Apify Google Maps scraping, Perplexity enrichment, OpenAI LLMs, Goog

@Devlikeapro/N8N Nodes Waha, Google Drive Trigger, @Apify/N8N Nodes Apify +14
AI & RAG

This n8n workflow implements a fully automated Retrieval-Augmented Generation (RAG) pipeline powered by Google Drive, OpenAI embeddings, and Pinecone.

Pinecone Vector Store, Document Default Data Loader, Text Splitter Recursive Character Text Splitter +10