Sample AI & n8n Workflow Builds

AI Workflows & Architectures We Have Built

Inspect real n8n pipelines, RAG vector stores, NL2SQL firewalls, and WhatsApp AI agents we have built. Each is a working build we can adapt to your business.

n8n Local Lead Finder full workflow using Webhook, Google Places API, Filter No Website, and Google Sheets
Click to Zoom & Inspect Nodes
Lead Gen & CRMπŸš€ Lead Automation

Automated Local Lead Finder & Google Places Pipeline

The Problem

Sales teams often spend hours every week manually searching Google Maps for local businesses without websites and copy-pasting contact details into spreadsheets.

The Engineering Solution

Engineered an automated n8n webhook pipeline that queries the Google Places API, splits multi-item business arrays, filters strictly for high-intent local businesses with no existing website, standardizes the fields, and appends qualified rows directly into Google Sheets.

n8n Pipeline Node Chain:
POST Webhook Trigger→
Google Places API Search→
Split Out Business Items→
Filter: No Website Only→
Format & Clean Lead Data→
Append Row in Google Sheets
REST Webhook
Trigger
No-Website Only
Filter
Google Sheets
Output
n8nGoogle Places APIREST WebhooksData ParsingGoogle Sheets API
n8n RAG AI Agent workflow with Google Drive ingestion, Google Gemini Embeddings, Supabase Vector Store, and Postgres Chat Memory
Click to Zoom & Inspect Nodes
AI Agents & RAGπŸš€ RAG Q&A Agent

Enterprise RAG Knowledge Base Agent (Supabase & Gemini)

The Problem

Support and operations teams often lose hours searching across scattered Google Drive PDFs and internal SOPs to answer recurring technical and client questions.

The Engineering Solution

Built a dual-stage Retrieval-Augmented Generation (RAG) architecture. An ingestion pipeline downloads files from Google Drive, generates vector embeddings with Google Gemini, and indexes them in Supabase Vector Store. A live AI Agent connected to Postgres Chat Memory retrieves exact document chunks to answer queries grounded in your own documents.

n8n Pipeline Node Chain:
Google Drive File Ingestion→
Default Data Loader & Chunking→
Google Gemini Vector Embeddings→
Supabase Vector Store Indexing→
Chat Trigger & Postgres Memory→
Gemini AI Agent Vector Retrieval
Google Gemini
Embeddings
Persistent Postgres
Memory Type
24/7 Instant Q&A
Availability
n8nGoogle GeminiSupabase Vector StorePostgreSQL MemoryGoogle Drive APIRAG
n8n AI Agent connected to Google Gemini Chat Model, Simple Memory, Gmail Send Message, and Google Contacts tools
Click to Zoom & Inspect Nodes
AI Agents & RAGπŸš€ Tool-Calling Agent

Autonomous Gmail & Google Contacts Executive AI Agent

The Problem

Founders and account managers often lose hours each week switching between address books and email clients to look up recipient details and draft routine follow-ups.

The Engineering Solution

Deployed a tool-calling AI Executive Assistant powered by the Google Gemini Chat Model and conversational memory. From a single plain-English chat instruction, the agent queries Google Contacts to resolve the recipient's email address and composes and dispatches a tailored message through Gmail.

n8n Pipeline Node Chain:
Chat Message Trigger→
Google Gemini Reasoning Engine→
Simple Session Memory Context→
Tool Call: Search Google Contacts→
Tool Call: Send Gmail Message
Natural Language Chat
Interface
Automated
Contact Lookup
Gmail Send
Action
n8nGoogle Gemini Chat ModelGmail APIGoogle Contacts APIAI Tool Calling
n8n conditional workflow reading Google Sheets rows, filtering records, and routing via a multi-rule Switch node to three Gmail branches
Click to Zoom & Inspect Nodes
Lead Gen & CRMπŸš€ Rule-Based Routing

Multi-Branch CRM Lead Triage & Conditional Email Router

The Problem

Operations teams often review spreadsheet leads by hand to decide which follow-up email sequence each prospect should receive, which slows response times and invites routing errors.

The Engineering Solution

Created an automated sheet-to-inbox routing pipeline in n8n. The workflow pulls lead rows from Google Sheets, filters for eligible contacts, evaluates multi-tier business rules inside a Switch node (Branch 0, Branch 1, and Fallback), and dispatches the exact matching Gmail template automatically.

n8n Pipeline Node Chain:
Workflow Execution Trigger→
Read Rows from Google Sheets→
Filter Qualified Records→
Rule-Based Switch Router (0 / 1 / Fallback)β†’
Multi-Branch Automated Gmail Dispatch
Rule-Based
Routing
3 Dynamic Tiers
Branches
Eliminated
Manual Entry
n8nGoogle Sheets APISwitch & Filter LogicGmail APICRM Automation
n8n Enterprise NL2SQL workflow with 4 parallel Switch branches, OpenRouter LLM SQL translators, JavaScript Query Safety Firewalls, ERP Query execution, and Webhook response
Click to Zoom & Inspect Nodes
ERP & SecurityπŸš€ Read-Only SQL Guard

Enterprise NL2SQL ERP Database Agent with Query Safety Firewall

The Problem

Executives want instant answers from live ERP databases using plain English, but exposing raw SQL generation to an LLM risks destructive queries or unauthorized data access.

The Engineering Solution

Architected a 4-branch Natural Language to SQL (NL2SQL) ERP system triggered via webhook. Domain-specific Switch routes pass user prompts to an LLM NL2SQL translator, then enforce a strict JavaScript Query Safety Firewall that audits and blocks any unsafe SQL before executing read-only ERP queries, merging results, and returning a formatted chat response.

n8n Pipeline Node Chain:
Chat Interface Webhook→
4-Domain ERP Switch Router→
LLM NL2SQL Query Translator→
JS Query Safety Firewall & IF Gate→
Execute ERP Database Query→
Merge, Format & Respond to Webhook
JS Query Firewall
SQL Guard
4 Parallel Modules
ERP Pipelines
Read-Only
Access
n8nNL2SQLOpenRouter LLMJavaScript Security FirewallERP DatabaseREST Webhooks
Live WhatsApp AI Agent chat alongside n8n workflow with WhatsApp Trigger, Google Drive PDF download, PDF text extraction, Google Gemini AI Agent, and WhatsApp reply node
Click to Zoom & Inspect Nodes
WhatsApp & VoiceπŸš€ 24/7 WhatsApp Agent

24/7 WhatsApp Business AI Support Agent with Live PDF Extraction

The Problem

Inbound WhatsApp inquiries that arrive outside office hours can wait hours for a human reply, costing businesses high-intent leads who want immediate service and pricing details.

The Engineering Solution

Built an end-to-end WhatsApp Business Cloud API automation in n8n. Whenever a prospect sends a WhatsApp message, the workflow fetches the latest company capability PDF from Google Drive, extracts the document text dynamically, processes the conversation through a Google Gemini AI Agent with memory, and replies on WhatsApp automatically.

n8n Pipeline Node Chain:
WhatsApp Incoming Message Trigger→
Google Drive PDF Download→
Automated PDF Text Extraction→
Google Gemini AI Agent + Memory→
Instant WhatsApp Formatted Reply
WhatsApp Cloud API
Channel
24/7 Autonomous
Support Coverage
Live Google Drive PDF
Knowledge Sync
n8nWhatsApp Business APIGoogle GeminiPDF ExtractionGoogle Drive APIConversational AI
Have a Workflow in Mind?

Need a Custom Automation Architecture for Your Business?

Tell us about your biggest operational bottleneck. We will map out your exact triggers, AI models, and database integrations in a free 48-hour blueprint.

Request a Custom Workflow AuditBook a Free Call