Block 1 - Google Drive Trigger
- Type / Role
- n8n-nodes-base.googleDriveTrigger - googleDriveTrigger
- Config choices
- Version 1
This workflow is provided as-is. Please review and test before using in production.
What Problem Does This Solve? This workflow automates the end to end process of capturing company information from Google Drive, storing it semantically in Pinecone, and interacting with users via ...
n8n-nodes-base.googledrivetrigger, n8n-nodes-base.googledrive, @n8n/n8n-nodes-langchain.vectorstorepinecone, @n8n/n8n-nodes-langchain.embeddingsopenai, @n8n/n8n-nodes-langchain.documentdefaultdataloader, @n8n/n8n-nodes-langchain.textsplitterrecursivecharactertextsplitter, @n8n/n8n-nodes-langchain.chattrigger, @n8n/n8n-nodes-langchain.agent
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Belgacem Dhiflaoui.
Original n8n.io sourceThis workflow automates the end-to-end process of capturing company information from Google Drive, storing it semantically in Pinecone, and interacting with users via an intelligent AI chatbot. It eliminates the need for manual customer service, lead tracking, and company information retrieval—offering a fully automated, intelligent engagement system.
Maintain accurate, AI-readable company knowledge bases
Answer customer inquiries 24/7 using AI
Automatically collect and log lead information
Embed a chatbot into their website to assist potential customers
Sales teams, business owners, marketing departments, customer support reps, startup founders, or anyone looking to automate AI-powered lead generation and customer engagement.
Monitors a Google Drive folder for new .txt or document uploads.
Downloads the document and splits the content into manageable chunks using a recursive character splitter.
Generates embeddings via OpenAI.
Stores the embeddings in a Pinecone vector database under the Q&A namespace.
Purpose: This knowledge base is later used to answer business-related questions through AI.
Listens for incoming chat messages using n8n’s chatTrigger node.
Activates an AI agent (powered by GPT-4o) to respond to inquiries regarding business hours, services, products, or general company info.
Retrieves knowledge using a vector search tool connected to Pinecone (newCompany_q).
Captures leads: If a user shows interest, the AI collects and stores:
Name
Phone number
Specific interest
into a connected Google Sheet automatically.
🔄 Google Drive integration for real-time file processing
🧠 OpenAI embedding + Pinecone vector store for semantic memory
🤖 LangChain agent with tool-based reasoning
🗃️ Google Sheets integration for dynamic lead storage
💬 GPT-4o model for accurate, human-like conversation
⚙️ Modular design to expand into CRM, Notion, or email workflows
🌐 Website-ready chatbot endpoint
Prerequisites:
n8n instance (cloud or self-hosted)
Google Drive account (for uploading company data)
Pinecone account (for vector storage)
OpenAI API key
Google Sheets access with OAuth2 credentials
1. Import the Workflow Upload the JSON files into your n8n instance.
2. Configure Credentials In n8n > Credentials, connect:
Google Drive
OpenAI
Pinecone
Google Sheets
3. Set Pinecone Index & Namespace Example:
Index: comanyName
Namespace: Q&A
4. Test the Flow
Upload a sample .txt or pdf file to the monitored Drive folder.
Send a message to the chatbot (e.g., "What are your opening hours?").
Check the Google Sheet for collected user info.
Part 1 – Data Preparation:
Company files are uploaded to Google Drive.
File is detected, downloaded, and chunked.
Embeddings are created using OpenAI.
Data is stored in Pinecone for semantic retrieval.
Part 2 – Chat Interaction:
A chat message triggers the workflow via webhook.
The AI agent interprets the intent and accesses company data via newCompany_q.
If lead data is gathered, it is appended to a Google Sheet using the AI-parsed values.
Contact me for consulting and support or add me on Linkedin.
This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Automated lead capture & business Q&A with GPT-4o, Pinecone, and Google Sheets |
|---|---|
| Complexity | advanced |
| Nodes | 17 |
| Categories | Lead Nurturing, AI Chatbot |
| Author | Belgacem Dhiflaoui |
| Published | 17 Jul 2025 |
Use the JSON export at /data/workflows/6080/6080.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
What Problem Does This Solve? This workflow automates the end to end process of capturing company information from Google Drive, storing it semantically in Pinecone, and interacting with users via ...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Lead Nurturing, AI Chatbot use case.