Atharv Pathak is a Python developer, full-stack web developer, and IT engineering student based in India.

Service Bot

AUTOMATION & BACKEND PIPELINE

Scroll to explore↓
Service BotAUTOMATION & BACKEND PIPELINE
The work

Service Bot — High-Throughput Scraper Pipeline

Automated paid land-record document extraction handling 25,000+ government records with Playwright workers, RabbitMQ queues, and WhatsApp delivery.

PRODUCTIONInternship Project (Pureframe Labs)•2026
AUTOMATIONPLAYWRIGHTRABBITMQPOSTGRESQL
01 // The Problem

Citizens endured hours of manual searching on unstable government websites to download property land records. A batch run of 5,000 records previously took over 8 hours and failed frequently with HTTP 503 errors.

02 // The Solution

A distributed worker pipeline using RabbitMQ, Playwright headless browsers, exponential backoff, and idempotent queue consumers that reduced retrieval failures to near zero.

03 // Engineering Deep Dive

Developed during my Software Developer Internship at Pureframe Labs (May 2026 – June 2026), Service Bot was built to automate a complex, manual document-retrieval workflow for official land and property records.

When a user requests a record and completes payment, an asynchronous job is dispatched to a RabbitMQ message queue. Headless Playwright workers pick up the job, navigate intricate legacy state government portals with dynamic form states, extract the corresponding PDF document, and store the file in persistent storage.

The processed document is then delivered directly to the citizen via WhatsApp webhooks, and an administrative telemetry dashboard provides real-time monitoring of worker queues, retries, and error rates.

04 // System Architecture & Visual Breakdown

Architecture in Action

Visual walk-through of the operational pipeline, core algorithmic stages, and execution telemetry. Click any diagram to inspect in full resolution.

Distributed RabbitMQ Queue & Worker Architecture
Click to enlarge view
FIGURE 01 // 03AUTOMATION ENGINE

Distributed RabbitMQ Queue & Worker Architecture

Scalable worker architecture utilizing RabbitMQ message brokers, durable task exchanges, and dead-letter queues. Batches incoming requests across a pool of 16 concurrent headless Playwright instances with idempotent processing guarantees.

Headless Playwright Automation & PDF Extraction
Click to enlarge view
FIGURE 02 // 03SCRAPER PIPELINE

Headless Playwright Automation & PDF Extraction

Multi-stage headless crawler navigating legacy state government land record portals. Automatically cascades dynamic dropdown selects, resolves verification captchas in 42ms, bypasses transient HTTP 503 errors with exponential backoff, and validates PDF checksums.

Production Operations Dashboard & WhatsApp Webhook Delivery
Click to enlarge view
FIGURE 03 // 03PRODUCTION METRICS

Production Operations Dashboard & WhatsApp Webhook Delivery

Telemetry dashboard tracking 25,480 official land records processed during the Pureframe Labs internship with a 99.82% retrieval success rate. Completed documents are dispatched automatically to citizens via WhatsApp Business API webhooks within seconds.

05 // Architecture Stack

System Components

Client / UI

Admin monitoring dashboard built with TypeScript and Hono / Bun

Backend & API

Python automation engine, RabbitMQ message brokers, Playwright workers

Data & Storage

PostgreSQL tracking job states, payment confirmations, and document hashes

Protocols / Services

WhatsApp Business API webhook delivery, RabbitMQ dead-letter queues

06 // Capabilities

Core Implemented Features

  • Large-scale scraper targeting 20,000–25,000 government land registry records
  • RabbitMQ task distribution ensuring web requests never block on long-running scrapes
  • Exponential backoff and jitter algorithms mitigating external portal HTTP 503 and 500 errors
  • Idempotent task processing ensuring duplicate messages never trigger duplicate payments or downloads
  • Automated PDF document integrity validation and text indexing
  • Instant WhatsApp document delivery webhook with user delivery confirmation tracking
07 // Technical Challenge & Retrospective

Overcoming Bottlenecks

The target government portal frequently dropped connections and returned HTTP 503 errors during heavy traffic. I redesigned the scraping architecture from synchronous execution to an event-driven queue with dead-letter exchanges and rate-limiting delays.

Verification & Scope Note

Engineered under corporate internship guidelines at Pureframe Labs Pvt. Ltd. Code references respect confidential company parameters and compliance rules.

Project Gallery

Visual Artifacts & Diagrams

Service Bot preview
Enlarge
Service Bot preview
Enlarge
Service Bot preview
Enlarge
Service Bot preview
Enlarge
Back to theall works.