← All N8N workflows
AI & researchChain LLMChat TriggerCodeDocument Default Data LoaderEmbeddings Open Ai

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.

Workflow preview
TriggerWhen clicking "ExecuteWorkflow"Manual TriggerAI & modelsEmbeddings OpenAIEmbeddings Open AiFiles / mediaDefault Data LoaderDocument Default Data Lo…TransformSet file URL in GoogleDriveEdit FieldsCodeAdd in metadataCodeFiles / mediaDownload fileGoogle DriveTriggerChat TriggerChat TriggerCodePrepare chunksCodeAI & modelsEmbeddings OpenAI2Embeddings Open AiAI & modelsOpenAI Chat ModelOpenAI Chat ModelTransformSet max chunks to sendto modelEdit FieldsTransformStructured OutputParserOutput Parser StructuredTransformCompose citationsEdit FieldsTransformGenerate responseEdit FieldsAI & modelsAnswer the query basedon chunksChain LLMData storeGet top chunks matchingqueryVector Store PineconeData storeAdd to Pinecone vectorstoreVector Store PineconeTransformRecursive CharacterText SplitterText Splitter Recursive …

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.

Workflow node names, types, and operations
NodeCategoryTypeOperation
When clicking "Execute Workflow"TriggerManual TriggerSee node parameters
Embeddings OpenAIAI & modelsEmbeddings Open AiSee node parameters
Default Data LoaderFiles / mediaDocument Default Data LoaderSee node parameters
Set file URL in Google DriveTransformEdit FieldsSee node parameters
Add in metadataCodeCodeSee node parameters
Download fileFiles / mediaGoogle Drivedownload
Chat TriggerTriggerChat TriggerSee node parameters
Prepare chunksCodeCodeSee node parameters
Embeddings OpenAI2AI & modelsEmbeddings Open AiSee node parameters
OpenAI Chat ModelAI & modelsOpenAI Chat ModelSee node parameters
Set max chunks to send to modelTransformEdit FieldsSee node parameters
Structured Output ParserTransformOutput Parser StructuredSee node parameters
Compose citationsTransformEdit FieldsSee node parameters
Generate responseTransformEdit FieldsSee node parameters
Answer the query based on chunksAI & modelsChain LLMSee node parameters
Get top chunks matching queryData storeVector Store PineconeSee node parameters
Add to Pinecone vector storeData storeVector Store PineconeSee node parameters
Recursive Character Text SplitterTransformText Splitter Recursive Character Text SplitterSee 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

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

  1. In Pinecone, create an index with 1536 dimensions and select it in the two vector store nodes
  2. Populate Pinecone by clicking the 'test workflow' button below
  3. 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

More in AI & research