Amazon Automation Series — Over several months, Pasindu Piumal engineered 6 production Chrome extensions targeting Amazon's hiring and scheduling platforms. Each tackled a different layer of the same hard problem: making browser automation reliable under conditions specifically designed to prevent it — millisecond UI races, authentication friction, CAPTCHA walls, and active bot detection.
Project Overview
This is a showcase of a complete, battle-tested toolkit for Amazon workforce automation. Every project below is verified with a live Upwork contract, showing real client delivery across real adversarial conditions.
1. Amazon Shift Sniper — Real-Time Slot Monitor & Auto-Booker
A real-time monitoring extension that watches Amazon shift and interview availability pages, then clicks the moment a slot opens. Built with millisecond-level detection logic, dynamic retry intervals, and instant error-recovery when Amazon's "schedule no longer available" message appears.
Later evolved to support multi-profile broadcast control — a single trigger from a main profile fires a click signal across every connected browser session simultaneously, with automatic retry on failure.
Key Features:
- Sub-second slot detection across deep DOM layers
- Configurable click-interval tuning
- Multi-profile broadcast triggering across connected sessions
- Automatic retry logic on transient errors
- Dual-layer script injection (Isolated World + Main World)
- CloudFront 403 auto-cooldown bridge with jittered backoff
👉 View Upwork Contract — Amazon Shift Sniper
2. Amazon Hiring Automation with OTP & AI-Sync
Handles the full Amazon hiring application flow end-to-end — automated login, OTP capture (including 16-digit verification codes via IMAP fetching), and smart retry/restart logic when a verification attempt fails.
If an invalid-code error appears, the system waits, re-fetches the latest OTP from Gmail via IMAP, retries, and restarts the entire flow if needed — looping until success with no human intervention.
Key Features:
- Automated Gmail-based OTP retrieval via IMAP
- Self-healing verification loop with cooldown timing
- Full hiring flow automation: login → OTP → confirmation
- 16-digit Amazon verification code parsing
- Retry-on-failure with automatic flow restart
👉 View Upwork Contract — Amazon Hiring Automation + OTP
3. AI-Powered Chrome Extension + SaaS Dashboard
A broader project pairing a Chrome extension with a backend SaaS dashboard for real-time data synchronization. Demonstrates full-stack capability beyond pure browser automation — extension-to-server communication, live data pipelines, and a remote dashboard for monitoring extension activity.
Key Features:
- Extension-to-server real-time data sync
- Live dashboard for monitoring extension state remotely
- Full-stack architecture: MV3 extension + Node.js backend + dashboard UI
👉 View Upwork Contract — AI Extension + SaaS Dashboard
4. Amazon Real-Time Slot Tracker
A high-fidelity data extraction engine for Amazon hiring and scheduling pages, surfacing live statistics as the page updates in real time: job title, total orders, total positions, open positions, filled positions, soft matches, hard matches, and denied applications.
Key Features:
- Real-time stat extraction as the DOM updates
- Surfaces: total orders, open/filled positions, soft/hard matches, denied applications
- High-speed DOM polling with MutationObserver
- Live display panel with auto-refresh
👉 View Upwork Contract — Amazon Real-Time Slot Tracker
5. Amazon Portal Session Recovery — URL Auto-Repair
Automatically detects and repairs broken hiring-portal URLs and session states — timeout pages, 404 errors, and "no available shift" dead ends — by rewriting them to the correct job-confirmation path and retrying with a built-in cooldown if the broken state persists.
Key Features:
- URL pattern detection and automatic correction
- Timeout and 404 dead-end recovery
- Retry-with-cooldown logic for persistent broken states
- Zero manual user intervention required
👉 View Upwork Contract — Amazon Portal Session Recovery
6. AWS WAF & Amazon CAPTCHA Auto-Recovery (Shadow DOM Bypass)
The most technically demanding build in the series: a Shadow DOM–aware smart reloader designed to detect and recover from AWS WAF challenges and CAPTCHA interruptions without breaking the automation flow.
This required navigating deeply nested shadow roots and bot-detection countermeasures to keep the extension resilient under fully adversarial conditions — where Amazon actively deploys fingerprinting and behavioral analysis to detect and block automation.
Key Features:
- Shadow DOM traversal across nested roots
- AWS WAF challenge detection and recovery
- CAPTCHA interrupt detection + graceful reload
- Bot-detection countermeasure bypass
- Keeps automation flow intact without user involvement
👉 View Upwork Contract — AWS WAF & CAPTCHA Auto-Recovery
Engineering Architecture (Amazon Shift Sniper Core)
Core Technologies (Across the Series)
- Chrome Extension API:
chrome.scripting.executeScript(world: 'MAIN'),chrome.offscreen,chrome.storage,chrome.alarms,chrome.declarativeNetRequest - Shadow DOM Traversal: Nested shadow root detection, WAF challenge recovery
- OTP Automation: IMAP email fetching, 16-digit code parsing, self-healing retry loops
- Frontend UI: React.js, Tailwind CSS, Lucide Icons, glassmorphic HUDs
- Resilience Engine: Exponential backoff, jitter calculation, MutationObserver DOM watcher, circuit breaker pattern
Engineering Metrics
| Metric | Manual Baseline | Automated Pipeline | Impact |
|---|---|---|---|
| Slot Detection Speed | 2–15 seconds (human) | Sub-500ms | 95%+ faster |
| Booking Success Rate | 30–50% (manual) | 95%+ automated | 3x improvement |
| OTP Capture Time | 30–90 seconds manual | Auto-fetched via IMAP | Near-instant |
| WAF Recovery | Manual browser refresh | Auto-detected & recovered | Zero downtime |
| 24/7 Uptime | Impossible manually | Offscreen Keepalive | 100% continuous |
Frequently Asked Questions
QHow does the multi-profile broadcast work?
A 'main' controller profile sends a broadcast signal through a shared channel (e.g., chrome.storage or WebSocket relay). All connected 'follower' profiles receive the trigger simultaneously and execute the booking click within milliseconds. This multiplies throughput and increases the probability of securing a slot when it appears.
QHow does the OTP system handle invalid codes?
When Amazon returns an 'invalid code' error, the system enters a cooldown wait period, then re-fetches the latest OTP from Gmail via IMAP, and retries the verification step. If the retry also fails, it restarts the entire hiring flow from the beginning — looping until success with zero human intervention.
QHow does the Shadow DOM bypass work for AWS WAF challenges?
AWS WAF challenges are injected into the page inside deeply nested Shadow DOM roots, which standard DOM queries cannot reach. The extension uses recursive shadow root traversal to detect WAF challenge elements, then triggers a controlled reload with a backoff delay — resuming the automation flow once the challenge clears.
QWhich Amazon platforms does this work on?
The series covers Amazon Flex shift monitoring, Amazon workforce (warehouse) scheduling portals, the Amazon hiring application flow, and Amazon job confirmation portals. The core architecture — session interception, CloudFront bypass, MV3 keepalive — is adaptable across all Amazon hiring-related URLs.
.png&w=1200&q=75)