default data loader and download google drive and receive chat events
Configured with Chain LLM, Chat Trigger, Document Default Data Loader, Embeddings Open Ai, and additional nodes. Review the connections and setup before adapting this template.
Node categories in this workflow
- Trigger
- AI & models
- Files / media
- Transform
- Code
- Data store
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.
| Node | Category | Type | Operation |
|---|---|---|---|
| When clicking "Execute Workflow" | Trigger | Manual Trigger | See node parameters |
| Embeddings OpenAI | AI & models | Embeddings Open Ai | See node parameters |
| Default Data Loader | Files / media | Document Default Data Loader | See node parameters |
| Set file URL in Google Drive | Transform | Edit Fields | See node parameters |
| Add in metadata | Code | Code | See node parameters |
| Download file | Files / media | Google Drive | download |
| Chat Trigger | Trigger | Chat Trigger | See node parameters |
| Prepare chunks | Code | Code | See node parameters |
| Embeddings OpenAI2 | AI & models | Embeddings Open Ai | See node parameters |
| OpenAI Chat Model | AI & models | OpenAI Chat Model | See node parameters |
| Set max chunks to send to model | Transform | Edit Fields | See node parameters |
| Structured Output Parser | Transform | Output Parser Structured | See node parameters |
| Compose citations | Transform | Edit Fields | See node parameters |
| Generate response | Transform | Edit Fields | See node parameters |
| Answer the query based on chunks | AI & models | Chain LLM | See node parameters |
| Get top chunks matching query | Data store | Vector Store Pinecone | See node parameters |
| Add to Pinecone vector store | Data store | Vector Store Pinecone | See node parameters |
| Recursive Character Text Splitter | Transform | Text Splitter Recursive Character Text Splitter | See node parameters |
Setup
- Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
- Connect your own credentials through n8n’s credential store. Replace
REPLACE_WITH_*values with your resource identifiers. - Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
- 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
googleDriveOAuth2ApiopenAiApipineconeApi
Workflow notes
1. Setup: Fetch file from Google Drive, split it into chunks and insert into a vector database
1. Setup: Fetch file from Google Drive, split it into chunks and insert into a vector database
Note that running this part multiple times will insert multiple copies into your DB
Try me out
Try me out
- In Pinecone, create an index with 1536 dimensions and select it in the two vector store nodes
- Populate Pinecone by clicking the 'test workflow' button below
- Click the 'chat' button below and enter the following:
Which email provider does the creator of Bitcoin use?
Sticky Note4
Will fetch the Bitcoin whitepaper, but you can change this
default data loader and download google drive and receive chat events
default data loader and download google drive and receive chat events
Purpose and structure
This folder contains the default data loader and download google drive and receive chat events workflow. Its executable nodes use chainLlm, chatTrigger, code, documentDefaultDataLoader, embeddingsOpenAi, googleDrive, lmChatOpenAi, manualTrigger, outputParserStructured, 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 "Execute Workflow", Chat Trigger
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/1376_Manual_GoogleDrive_Automation_Triggered.json MIT; preserve source notices.
Canvas section labels
These name areas of the original canvas; they do not include explanatory instructions.
- 2. Chat with file, getting citations in reponse