Context
This project is an end-to-end AI sales ecosystem built around three interconnected n8n workflows.
The system covers the complete lead journey: an AI chatbot qualifies inbound leads using the BANT framework, stores qualification data in Zoho CRM, a second workflow analyzes conversations for problems and successful patterns, and a third combines CRM metrics with conversation analytics to generate a weekly executive report for the CEO.
The goal was to connect lead qualification, conversation analysis, and sales reporting into one automated system where data from each stage is used by the next.
Problem
- Delayed Follow-ups: Inbound leads faced response delays, directly reducing conversion rates.
- Lack of Systematic QA: Customer interactions were not analyzed automatically, leaving script errors and objections unnoticed.
- Manual Reporting Overhead: Compiling weekly performance reports required pulling data manually from CRMs and spreadsheets.
Solution
Engineered a closed-loop ecosystem of 3 interconnected n8n workflows that fully automate the lead lifecycle from first contact to executive reporting:
- WF1 (AI Qualification Bot): A GPT-4o chatbot with Postgres-backed memory that qualifies leads via the BANT framework and creates lead records in Zoho CRM.
- WF2 (Dialogue QA Analytics): Daily scheduled extraction of conversation histories from Postgres Memory via
sessionId, evaluating agent/bot errors and pushing structured QA data to Google Sheets. - WF3 (CEO Dashboard & Monitoring): Weekly aggregation of quantitative CRM metrics and qualitative Google Sheets analytics, generating a structured executive report sent directly to Telegram.
Process
- WF1 — Qualify inbound leads: A GPT-4o chatbot gathers Budget, Authority, Need and Timeline information using the BANT framework. PostgreSQL Chat Memory maintains a 50-message context window.
- WF1 — Create CRM records: The Zoho CRM tool parses contact details, assigns lead scores and creates structured lead records. The conversation sessionId is mapped to the Skype_ID field in Zoho CRM.
- WF2 — Review conversations daily: A scheduled workflow retrieves conversation histories from PostgreSQL by sessionId, analyzes agent or bot errors and successful patterns, and writes structured QA results to Google Sheets.
- WF3 — Compile the weekly report: A weekly workflow combines quantitative Zoho CRM metrics with qualitative conversation analytics from Google Sheets. Structured output parsing enforces the expected JSON format.
- WF3 — Deliver to Telegram: The executive report is formatted and sent through the Telegram Bot API, connecting qualification data, conversation quality and sales reporting.
Results
- Automated Lead Qualification: Inbound leads are qualified using the BANT framework and automatically added to Zoho CRM with structured qualification data.
- Automated Conversation Analysis: Lead conversations are reviewed daily for recurring problems, errors, and successful patterns.
- Automated Executive Reporting: CRM metrics and conversation analytics are combined into a weekly report and delivered automatically via Telegram.
- Connected Data Flow: Information collected during qualification is reused throughout the analytics and reporting workflows, reducing manual data handling.
Tech Stack
- Automation: n8n (Advanced AI, Chat Trigger, Structured Output Parser)
- AI Models: OpenAI API
- Backend: Zoho CRM, PostgreSQL (Chat Memory), Google Sheets, Telegram Bot API
- Infrastructure: VPS, Linux, Domain & DNS management


