πŸ’¬ Automated lead capture & business Q&A with GPT-4o, Pinecone, and Google Sheets

⚑ 686 views Β· πŸ’¬ Lead Nurturing & AI Sales Agents

πŸ’‘ Pro Tip β€” For lead enrichment, ScraperNode can pull LinkedIn profiles, company data, and job listings directly into your pipeline β€” useful for building prospect lists without manual research.

View All Scrapers

Description

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 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.

Perfect for teams that need to:


Target Audience:

Sales teams, business owners, marketing departments, customer support reps, startup founders, or anyone looking to automate AI-powered lead generation and customer engagement.


What Does It Do?

Part One – Knowledge Ingestion

Part Two – AI Chatbot Engagement


Key Features

πŸ”„ Google Drive integration for real-time file processing


🧰 Setup Instructions

Prerequisites:


πŸ“¦ Installation Steps

1. Import the Workflow Upload the JSON files into your n8n instance.

2. Configure Credentials In n8n > Credentials, connect:

3. Set Pinecone Index & Namespace Example:

4. Test the Flow


How It Works (Behind the Scenes)

Part 1 – Data Preparation:

  1. Company files are uploaded to Google Drive.

  2. File is detected, downloaded, and chunked.

  3. Embeddings are created using OpenAI.

  4. Data is stored in Pinecone for semantic retrieval.

Part 2 – Chat Interaction:

  1. A chat message triggers the workflow via webhook.

  2. The AI agent interprets the intent and accesses company data via newCompany_q.

  3. If lead data is gathered, it is appended to a Google Sheet using the AI-parsed values.


Need help customizing?

Contact me for consulting and support or add me on Linkedin.

πŸ”— Nodes Used

Google Drive, Google Drive Trigger, AI Agent, Embeddings OpenAI, OpenAI Chat Model, Simple Memory

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup