title: Asynchronous Microservice Pipeline Architecture

content: The system uses a modular, asynchronous design decoupled by a message queue (Redis or n8n internal queues). Request initiation is separated from execution, allowing the frontend to return an immediate 'processing' response while distinct microservices (Scraper, Fetcher, Analyzer) communicate via the queue or API calls.


title: Sunaiva Radar Automated Audit Engine

content: The product is an automated website audit tool designed for agencies. It delivers a sub-60-second comprehensive audit including a scored analysis, video walkthrough, and an immediate outbound phone call to the lead. It supports white-labeling via agency IDs.


title: Audit Pipeline Execution Sequence

content: The 7-step pipeline flow is: 1. User Input/Validation (Web/API), 2. Audit Orchestration (n8n), 3. Playwright Scraping (DOM/Screenshots), 4. External Data Enrichment (SimilarWeb/APIs), 5. AI Analysis/Scoring (Gemini/Qdrant), 6. Report/Video Generation, 7. Notification & Outbound Call Trigger.


title: Speed and Multi-Modal 'Warm' Lead Gen

content: The primary moat is the sub-60-second delivery speed combined with a 'warm' lead generation touchpoint (the Telnyx call). Unlike static PDF reports, this creates an immediate human connection, significantly increasing conversion rates for the agency client.


title: Trust vs Alarm Scoring Strategy

content: The scoring algorithm is tuned to produce initial free audit scores in the 40-70 range. This psychological lever creates 'alarm' for sub-40 scores (critical issues) while maintaining 'trust' for higher scores, ensuring users value the data but see enough room for 'optimization' to drive paid service interest.


title: n8n Workflow to Telnyx Outbound Call

content: The n8n workflow listens for the 'AuditCompletion' event and triggers a Telnyx API outbound call to the lead's phone number. It injects agency-specific script parameters and pushes lead data to the agency's CRM via API.


title: Playwright Anti-Detection Scraper Config

content: To bypass crawler blocking, the scraper utilizes 'playwright-extra' with anti-detection plugins, rotates User-Agents, and implements residential proxy rotation (e.g., Bright Data). It waits for 'networkidle' or specific selectors to ensure Single-Page Apps fully render before capturing DOM and screenshots.


title: Scoring Algorithm Dimensions & Weights

content: The scoring normalizes metrics to 0-10, then applies weights: Design (15% - with Speed/Performance at 50% weight) and Content (20%). Metrics include LCP/CLS for speed, distinct font families for visual consistency, and readability scores for content.


title: Graceful Degradation on Scraping Failure

content: If the Playwright scraper fails after retries (due to blocks or CAPTCHAs), the system captures an error state and falls back to publicly available data rather than failing the entire request, ensuring the user always receives some value.


title: White-Label Branding Implementation

content: The system uses an 'agency_id' to inject specific branding (logos, colors, CTAs) into the HTML report and determine sender credentials for email and script logic for the Telnyx call, enabling full white-labeling for agency resellers.