OLLAMA QWEN3 + GEMMA3 • BK2021 CPV • PLAYWRIGHT • SQLITE CRM • TELEGRAM
$0 Tokens • 24/7 Autonomous B2B Lead Generation, Tender Monitoring & Local AI CRM System
Nightly Mac mini pipeline (qwen3:8b + gemma3:12b): BK2021 CPV tenders & Lookalike event discovery, Deep Contact Miner, Active Learning memory, RAG sales pitches, Web CRM, Telegram Bot & Google Calendar before 08:00.
0 zł / API
Two-tier local AI (qwen3:8b + gemma3:12b on Mac mini)
< 08:00
Daily pre-08:00 tender/event qualification & RAG sales pitches
8 klastrów
Lookalike discovery + BK2021 CPV + Active Learning memory
Industry
B2B Video & Photo Production (events, sports, conferences, corporate)
Verification Status
Autonomous production system running nightly before 08:00 on Mac mini ($0 API cost)
My Role
Built the entire autonomous system from scratch: BK2021 CPV & Playwright scraping engine, two-tier local AI pipeline (Ollama qwen3:8b + gemma3:12b), custom Web CRM, Telegram bot, Google Calendar sync & macOS launchd orchestration.
01 // INTERACTIVE N8N DATA PIPELINE ARCHITECTURE
Animated workflow topology & node execution order
Drag any node to bend workflow links
Stage 1 & 2: Ingestion (BK2021 + Playwright + Lookalike) → Two-Tier Ollama (qwen3:8b + gemma3:12b)
1 BK2021 CPV API → 2 Playwright + Attachments → 3 Lookalike (8 Clusters) → 4 qwen3:8b JSON Schema (A/B/C) → 5 gemma3:12b RAG + Pitch → 6 Active Learning Few-Shot
Stage 3 & 4: Deep Contact Miner → Nightly Auditor → Web CRM + Telegram + Google Calendar (launchd 24/7)
1 Deep Contact Miner → 2 Nightly Quality Auditor (SQLite) → 3 Web CRM (Cloudflare Tunnel) → 4 Telegram Bot (Actions 🔴/🟡/🟢) → 5 Google Calendar Sync → 6 launchd + ram-warden 24/7
02 // LIVE SYSTEM & OUTPUT SCREENSHOTS (CLICK TO ZOOM)
Real CRM tables, Klaviyo lists & automated Telegram alerts
03 // Business Context & Bottleneck
- • Scattered sources & missed deadlines: high-value photo/video CPV tenders and major sports/corporate events appeared across a dozen separate portals.
- • Heavy signal-to-noise ratio: most public notices involved hardware procurement, CCTV maintenance, or venue rental, requiring tedious manual attachment reading.
- • Slow manual research & outreach: finding decision-makers, reviewing organizer websites, and writing custom pitches consumed hours every week.
- • Cloud LLM token costs & data privacy: running hundreds of daily web pages and tender PDFs through paid APIs created recurring overhead and exposed proprietary sales data.
04 // Engineered Solution
- ✓ Multi-Channel Ingestion Layer: BK2021 CPV tender API, Playwright headless portal scraping with tender attachment analysis, Lookalike event discovery across 8 thematic clusters (with Human-in-the-Loop source approval), inbox filtering, and a Client Reactivation Radar.
- ✓ Two-Tier Local AI Engine (Ollama): fast qwen3:8b classifies leads via strict JSON Schema into 🔴 Class A / 🟡 Class B / 🟢 Class C while extracting deadlines, budgets, and bid bonds; gemma3:12b enriches organizer context, matches relevant portfolio reels (RAG), and pre-generates tailored Polish outreach pitches — continuously improving via Active Learning (Few-Shot Memory).
- ✓ Deep Contact Miner & Nightly Quality Auditor: scrapes direct decision-maker emails, phones, and social links, then audits data completeness and deduplicates SQLite records before morning dispatch.
- ✓ Custom Web CRM over Cloudflare Tunnel, interactive Telegram Bot alerts (Claim, Reject, Add to Calendar), Google Calendar deadline sync, and 24/7 macOS launchd + ram-warden orchestration with power-loss auto-recovery.
05 // Verified Scope & Outcomes
- ◆ Zero manual tender or event portal browsing — full discovery, attachment parsing, and contact mining finish autonomously overnight before 08:00.
- ◆ 100% local AI with $0 variable token costs — complete ownership of commercial lead data across hundreds of daily pages and tender documents.
- ◆ Unattended 24/7 resilience: macOS launchd + ram-warden automatically restore all services and remote Cloudflare Tunnel CRM access after power loss or reboot.
Technologies & API Integrations
Ollama (qwen3:8b & gemma3:12b)Playwright (Headless)BK2021 CPV APISQLite & RAG MemoryDeep Contact MinerActive Learning (Few-Shot)Cloudflare TunnelTelegram Bot APIGoogle Calendar APImacOS launchd & ram-warden
Explore Other AI & n8n Case Studies
iOS Swift • CarPlay
Automated Car Trip Telemetry (iOS, CarPlay & Apple Shortcuts) + Supabase Realtime
Zero-Cloud • $0 AI
Private Zero-Cloud Medical AI Assistant (MedCabinet OS) — IKP, Biometrics & NFZ Queues
< 5s • 10+ hrs/wk
Automated Web Form Lead Qualification into Zoho CRM & Klaviyo
-1 FTE • 90% Faster
Customer Call Recording Analytics & 3-Second Conversational AI Reports
P1 15m • L0–L2 SLA
Automated Email Ticket Triage (P1–P4) & 24/7 SLA Escalation Engine
Voice AI • 3 n8n Flows