Dev.to WebDev 🛠 Dev 👁 2 📖 1 min read

How We Built a Region-Aware AI Receptionist Landing Page with Live Google Sheets CRM Sync & Zero SaaS Lock-in

When building an AI automation agency serving both local and international markets, a one-size-fits-all website hurts conversions. Local clients expect regional currency and bilingual support (English + Roman Urdu), whil

When building an AI automation agency serving both local and international markets, a one-size-fits-all website hurts conversions. Local clients expect regional currency and bilingual support (English + Roman Urdu), while global clients in the US, UK, and UAE expect USD pricing and polished business English.

Here is how we architected the frontend and live webhook pipeline for Asani Tech using lightweight HTML, Tailwind CSS, Vanilla JavaScript, and webhook-driven AI workflows.

1. Zero-Latency Region Detection (Intl.DateTimeFormat)

Instead of slowing down page load with heavy third-party IP geolocation APIs, we detect the visitor's timezone directly in the browser using Intl.DateTimeFormat().resolvedOptions().timeZone to check for 'Asia/Karachi' and dynamically switch between PKR and USD.

This single check dynamically adapts:

  • Setup and infrastructure pricing tiers
  • Our interactive split-screen AI chat simulation
  • The ROI & staff-hours savings calculator
  • Quick-prompt chips inside the floating AI assistant

2. Interactive Split-Screen Demo (Chat + Live CRM Sync)

Rather than embedding heavy MP4 videos that hurt Core Web Vitals, we built a pure DOM-based split-screen simulation. Visitors can switch between Clinics, E-Commerce, and Real Estate scenarios to watch how an AI agent qualifies a lead on the left while syncing a new row into a Google Sheets CRM on the right.

3. Lightweight Webhook Chat Widget

Our floating assistant connects directly to a backend AI agent webhook via standard fetch() POST requests with session persistence, falling back gracefully to a local responder if offline.

You can test the live interactive experience here: https://asanitech.tech

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.