← All N8N workflows
AI & researchChain Retrieval QaChat TriggerDocument Default Data LoaderEmbeddings Open AiGoogle Drive

Load data into database

Configured with Chain Retrieval Qa, Chat Trigger, Document Default Data Loader, Embeddings Open Ai, and additional nodes. Review the connections and setup before adapting this template.

Workflow preview
Files / mediaGoogle DriveGoogle DriveTransformRecursive CharacterText SplitterText Splitter Recursive …AI & modelsEmbeddings OpenAIEmbeddings Open AiFiles / mediaDefault Data LoaderDocument Default Data Lo…AI & modelsQuestion and AnswerChainChain Retrieval QaAI & modelsOpenAI Chat ModelOpenAI Chat ModelAI & modelsEmbeddings OpenAI2Embeddings Open AiAI & modelsVector Store RetrieverRetriever Vector StoreData storeRead Pinecone VectorStoreVector Store PineconeData storeInsert into Pineconevector storeVector Store PineconeTriggerWhen clicking 'Chat'button belowChat TriggerTriggerWhen clicking 'TestWorkflow' buttonManual TriggerTransformSet Google Drive fileURLEdit Fields

Node categories in this workflow

  • Files / media
  • Transform
  • AI & models
  • Data store
  • Trigger

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Google DriveFiles / mediaGoogle Drivedownload
Recursive Character Text SplitterTransformText Splitter Recursive Character Text SplitterSee node parameters
Embeddings OpenAIAI & modelsEmbeddings Open AiSee node parameters
Default Data LoaderFiles / mediaDocument Default Data LoaderSee node parameters
Question and Answer ChainAI & modelsChain Retrieval QaSee node parameters
OpenAI Chat ModelAI & modelsOpenAI Chat ModelSee node parameters
Embeddings OpenAI2AI & modelsEmbeddings Open AiSee node parameters
Vector Store RetrieverAI & modelsRetriever Vector StoreSee node parameters
Read Pinecone Vector StoreData storeVector Store PineconeSee node parameters
Insert into Pinecone vector storeData storeVector Store PineconeSee node parameters
When clicking 'Chat' button belowTriggerChat TriggerSee node parameters
When clicking 'Test Workflow' buttonTriggerManual TriggerSee node parameters
Set Google Drive file URLTransformEdit FieldsSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • googleDriveOAuth2Api
  • openAiApi
  • pineconeApi

Workflow notes

Load data into database

Load data into database

Fetch file from Google Drive, split it into chunks and insert into Pinecone index

Chat with database

Chat with database

Embed the incoming chat message and use it retrieve relevant chunks from the vector store. These are passed to the model to formulate an answer

Try me out

Try me out

  1. In Pinecone, create an index with 1536 dimensions and select it in both Pinecone nodes
  2. Click 'test workflow' at the bottom of the canvas to load data into the vector store
  3. Click 'chat' at the bottom of the canvas to ask questions about the data
Load data into database

Load data into database

Purpose and structure

This folder contains the Load data into database workflow. Its executable nodes use chainRetrievalQa, chatTrigger, documentDefaultDataLoader, embeddingsOpenAi, googleDrive, lmChatOpenAi, manualTrigger, retrieverVectorStore, set, textSplitterRecursiveCharacterTextSplitter, vectorStorePinecone. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

When clicking 'Chat' button below, When clicking 'Test Workflow' button

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Manual/1319_Manual_Stickynote_Automation_Triggered.json MIT; preserve source notices.

More in AI & research