Projects/AI Automation System
AI Automation System

VEDA

A 38-node autonomous n8n pipeline that aggregates daily current affairs from 10 Indian news RSS feeds, scores each article for competitive exam relevance (UPSC, SSC, Banking), auto-generates MCQ practice questions per article using LLMs, and delivers structured daily briefs and a weekly AI quiz to Telegram — fully hands-free at $0/month.

38 autonomous nodes

Pipeline Nodes

10 Indian RSS feeds

News Sources

$0 /month

Operating Cost

lockveda.automation.system
veda.automation.system screenshot 1

Overview

VEDA (Versatile Exam Daily Analyser) is a 38-node autonomous n8n pipeline designed for UPSC, SSC, and Banking exam aspirants. It monitors 10 Indian news RSS feeds daily, analyses each article using Gemini Flash (with Groq as automatic fallback), grades articles by exam relevance on a 1–10 scale, auto-generates 2 MCQ practice questions per article, deduplicates articles across runs, saves everything to a structured Google Sheet database, and delivers a formatted morning brief to Telegram at 7 AM IST — plus a weekly AI-curated quiz every Sunday. Operating cost: $0/month.

Technical Architecture

The workflow is designed as a single 38-node master workflow — not split into sub-workflows — to keep all state (staticData) accessible to every node including the weekly quiz chain. Two Schedule Triggers are used: daily at 7 AM IST (main) and Sunday-only at 7 AM IST (weekly quiz).

hexagon

Schedule Trigger

Daily 7 AM IST

hexagon

10 RSS Feed Nodes

Indian current affairs sources

hexagon

Merge Chain

3 Merge nodes (n8n max 10 inputs each)

hexagon

Filter + Dedup

Keyword filter + staticData cross-run dedup

hexagon

Gemini AI (Primary)

gemini-flash-latest · 1,500 req/day

hexagon

Groq Fallback

llama-3.1-8b-instant · 14,400 req/day

hexagon

Quality Gate

Exam Score ≥ 7 filter

hexagon

Google Sheets

16-column database + Trends + Error Log tabs

hexagon

Telegram Brief

Morning daily brief + weekly Sunday quiz

AI Relevance Scoring & MCQ Generation

Gemini Flash analyses each filtered article and returns a structured JSON: exam_score (1–10), one of 10 exam categories, a 2-sentence summary, 3 key_points (pipe-separated), and two full MCQs with 4 options each and the correct answer as exact option text. The single AI call replaces what would take a human content curator 2–3 hours daily.

GEMINI FLASHGROQ LLAMA 3.1MCQ GENERATION10-CATEGORY CLASSIFICATION

Stateful Cross-Run Deduplication

n8n's $getWorkflowStaticData('global') persists between separate workflow executions — unlike regular variables which reset each run. Every article URL is stored in seenLinks on save, and the next day's run skips any URL already in the set. The last 500 links are kept to bound storage. The same article can never appear in the brief twice.

N8N STATIC DATAURL DEDUPLICATIONCROSS-RUN PERSISTENCE

Groq Fallback Chain

Gemini HTTP Request node is configured with 'On Error: Continue (use error output)' — on any failure, execution routes to Groq Setup node which reads articles from staticData and builds a Groq-compatible request. Normalize Groq converts Groq's choices[0].message.content format back to Gemini's candidates[0].content.parts[0].text format — Code Node 3 (Parse) handles both identically.

N8N ERROR PATHGROQRESPONSE NORMALIZATION

Telegram Delivery & Anti-Crash

Daily brief shows top 7 articles with emoji category headers, relevance fire rating (🔥 for 9+/10, ⭐ for 7–8/10), 130-char summary, first key point, MCQ 1 + answer, and Read More link. Weekly quiz uses aiText.replace(/\*/g, '') to strip all AI-generated asterisks — a single unclosed * in Telegram Markdown (Legacy) crashes the entire send node.

TELEGRAM BOT APIMARKDOWN LEGACYWEEKLY QUIZANTI-CRASH

Performance Benchmarks

PIPELINE NODES

38

RSS FEEDS

10 sources

DAILY DELIVERY

7 AM IST

OPERATING COST

$0 / month

Results & Impact

link

Daily Automated Current Affairs

Competitive exam aspirants receive a structured, scored, MCQ-enriched brief at 7 AM IST every day — replacing 1–2 hours of manual news scanning with a 2-minute Telegram read.

link

MCQ Practice Generation

2 practice MCQs auto-generated per article with exam-category classification and exact-text answers — building a growing MCQ bank in Google Sheets updated every day.

link

Zero-Cost Autonomous Operation

Runs on free API tiers (Gemini Flash + Groq + n8n Cloud) with automatic AI failover and stateful deduplication — fully hands-free at $0/month.

Turning the day's news into tomorrow's exam preparation — autonomously.