Back to All Guides
September 1, 20267 min read
EngineeringCareer TechNext.jsAI Architecture

How I Built RoleWin: From 200+ ATS Rejections to Automated Interview Pipelines

The architectural journey of building an automated career engine using Next.js 14, Supabase RLS, and Google Gemini 2.5 Flash without hallucinating candidate credentials.

N
Nirmallya Koner
Creator & Lead Architect, RoleWin AI

Searching for a high-leverage software engineering role in 2026 has become an asymmetric endurance contest. With AI-assisted job applications flooding every posted listing on Greenhouse, Lever, and Ashby within three hours, hiring managers and Applicant Tracking Systems (ATS) now apply aggressive semantic filters to cull 95% of candidates.

The classic advice—'tailor your resume manually for each company'—collapses when you are balancing multiple opportunities. At 45 minutes per tailored PDF, you quickly hit cognitive exhaustion.

I built RoleWin AI to level this playing field. Not to generate spam or hallucinate false credentials, but to bridge the semantic divide between what candidates have genuinely accomplished and what target job descriptions demand.

The Core Architecture: Two Tracks to the Offer

We broke the problem into two distinct engines:

1. **Track A (The Generation Engine):** Parses an uploaded resume into a canonical Profile Vault. When a job description URL or text is ingested, Google Gemini 2.5 Flash performs semantic keyword alignment with strict zero-hallucination guardrails, re-ranking real bullet points and pairing them with target action verbs.
2. **Track B (The Outreach Engine):** Finds the exact decision-maker (Engineering Director, Tech Lead, or Hiring Manager) rather than blasting generic HR inboxes. It generates concise, contextual cold emails under 120 words with 1-click Gmail deep links.

Solving the Hallucination Problem

Most AI resume generators fail because they invent skills, embellish metrics, or add companies the candidate never worked for. In RoleWin AI, we enforce strict schema grounding. If an achievement is not present in your Profile Vault, the engine is programmatically forbidden from generating it. It can only reframe, highlight, and quantify genuine experience.

The result? Real interview callbacks without compromise.

Ready to put these strategies to work?

RoleWin AI connects your real background with target job requirements, generating single-column ATS PDFs that sail through filters.