Web Automation - Demo

Smart form filling · Pre-click validation · Robust logging
95%+ success
FastAPI · Playwright · Pydantic · AWS
Localhost Demo
Visible browser • Real-time actions • Development mode

Live demo - automation run

Development environment demonstration showing browser actions in real-time. Watch form filling, validation checks, and submission processes as they happen in the visible browser window.

AWS Production
Headless mode • Server execution • Batch processing

Production workflow - AWS server automation

Production server demonstration running the same automation in headless mode. No visible browser - all actions happen server-side with n8n orchestration and Salesforce integration.

Core Automation Engine

Foundational capabilities that power both development demos and production deployments

🔎 Pre-Submission Validation

Element existence, HTML5 :invalid checks, Kendo and general error scanning, required-field detection and visual red-text checks.

🧩 Advanced Form Processing

Dynamic field mapping for 25+ business/vehicle fields, multi-input support, real-time progress and error recovery.

📦 Smart Button Interaction

Multi-selector strategy, button text recognition, form state validation and post-click monitoring.

🛠️ Error Logging & Audit

Request IDs, validation_errors.log, field-level success/failure, URL & page-state snapshots during errors.

🖥️ Development Mode

Localhost testing with visible browser actions

Visible browser window for debugging
Real-time action observation
Step-by-step validation testing
Interactive form element inspection
localhost:8000 FastAPI server

☁️ Production Mode

AWS server with headless batch processing

Headless browser execution
n8n workflow orchestration
Salesforce record batch processing
Automatic status updates
AWS EC2 scalable infrastructure

Key Benefits & Tech Stack

✨ Key Benefits

  • 95%+ success - catches validation before submit
  • Zero false positives - only submits truly valid forms
  • Smart recovery - continues on partial failures
  • Complete audit trail with contextual logs
  • Scalable batch processing via n8n workflows
  • Real-time Salesforce integration and updates

🛠️ Tech Stack

Backend
FastAPI 0.104.1
ASGI Server
Uvicorn 0.24.0
Automation
Playwright 1.40.0
Validation
Pydantic 2.5.0
Workflow
n8n Integration
CRM
Salesforce API
Cloud
AWS EC2 · Docker

Logging & Architecture

📊 Logging & Observability

Structured JSON logs with custom JSONFormatter, multi-destination logging and request tracking for easy tracing during failures.

requests.log
validation_errors.log
state.json

🔄 Workflow Integration

n8n orchestrates the complete pipeline: Salesforce record retrieval → automation trigger → headless execution → status updates. Supports batch processing with configurable concurrency limits.

Salesforce API
n8n Webhooks
Batch Processing

🏗️ Quick Architecture

FastAPI endpoints serve automation jobs. Playwright workers execute sessions (headless). n8n orchestrates workflows from Salesforce. Logs and validation contexts are written to files for audit and retries.