American Real Estate University: Compliance & CRM Automation

Engineering custom education platforms, dynamic PDF certificate generation engines, anti-scraping lead de-obfuscation tools, and QuickBooks billing automation.

Role
Lead Software Architect & Developer
Scope
Automated PDF Generation, Anti-Obfuscation Scraping Tools, QuickBooks OAuth Integration, SMS Notification Queues
Ecosystem Scale
500,000+ Real Estate Leads | Dynamic Regulated CE Certificates | 50-State Database
Core Stack
PHP, MySQL, FPDF/FPDI Libraries, Mailgun API, QuickBooks Online SDK, Twilio SMS API

The Context & Executive Summary

American Real Estate University is a premier provider of regulated licensing and continuing education (CE) courses for real estate professionals.

Scaling operations across multiple states introduced severe administrative overhead—particularly in manually generating complex regulatory completion certificates and managing corporate sponsor invoicing.

Alexander Online Media built custom automation systems to eliminate manual processing, reverse-engineer secure public directories to compile over half a million leads, and integrate persistent QuickBooks Online token synchronization for automated sponsorship billing.

0

Leads Compiled

Custom Parser & Scraping Engine

0%

Admin Overhead Saved

15 mins down to a single click

0%

Invoice Sync Reliability

Zero connection drops

The Challenges: Education & Compliance Hurdles

Managing a highly regulated educational institution requires solving strict data management and automated workflow challenges:

Regulated Certificate Delivery

State regulatory boards mandate exact layouts for course completion certificates. Manually copying data and printing documents for thousands of graduates created massive administrative bottlenecks and delivery delays.

Obfuscated Directory Scraping

Compiling lead lists of active agents was blocked by regional MLS directories using advanced JavaScript string obfuscation. Bypassing these shields was necessary to extract clean outreach directories.

Stateful API Integrations

Billing class sponsors required integrating the QuickBooks Online API. However, maintaining persistent OAuth 2.0 sessions during automated server cron jobs frequently failed due to token expiration.

Engineering Architecture: The Custom Administrative Backend

We engineered lightweight PHP engines and native API integrations to bypass standard plugin limitations and guarantee compliance.

The Custom Infrastructure & Automation Matrix

Every feature was custom-built to prioritize execution speed, automation security, and data integrity:

Operational Domain

Custom Engineered Capabilities & Automation Logic

Core Technologies & Libraries

Regulated Certificates

Parses student names and coordinates bulk data into vector PDF templates. Programmatically renders coordinates, centers text, draws dynamic instructor signatures, and routes them via high-volume Mailgun relay.

FPDF / FPDI PDF Libraries, PHPMailer, Mailgun SMTP Relay

Lead Catalog Scraping

Queries directories via custom cURL headers. Parses member elements, reverse-engineers JavaScript string-scrambling arguments, reconstructs clean email strings, and writes them to local databases.

Simple HTML DOM Parser, cURL Execution Loops, CSV Streams

OAuth 2.0 Invoicing Link

Synchronizes QuickBooks token pairs in local databases, refreshing them programmatically prior to expiration. Automates invoice creation and logs payouts instantly upon class sponsorship checkout.

QuickBooks Online SDK, Stateful Token Serialization

Automated SMS Queues

Monitors class registration lists and schedules automated reminders at specific offsets. Automatically sends student notifications to lower class no-show rates.

Twilio SMS API, Server Cron Schedulers

Technical Deep-Dive: Dynamic PDF Certificate Compilation

To eliminate manual compliance reporting, we developed an automated certificate engine. Upon course completion, the administrative portal processes raw lists of student names, emails, and license numbers, exploding the lines into isolated memory arrays.

The system loads a vector certificate template, dynamically calculates horizontal page centers, and overlays text variables at precise coordinates.

Instructor signatures are generated dynamically, and the final document is attached to a transactional email SMTP transaction routed via Mailgun.

This automation reduced the processing time from 15 minutes per student to a single, instant execution click. It successfully eliminated compliance backlogs and accelerated certificate delivery to real estate graduates.

Data Scraping & Billing Automation

To bypass the JavaScript email obfuscation on public MLS directories, we engineered a custom scraper.

The engine parses directory nodes, identifies the arguments passed to the obfuscation algorithms, and reverse-engineers the array indexing rules to extract and save clean agent emails.

To prevent administrative connection timeouts, we implemented a serialized database token sync.

The application automatically retrieves, refreshes, and updates OAuth 2.0 keys in the background, ensuring real-time sponsorship invoicing is never interrupted.

The Project Outcomes

Zero-Overhead Certificate Compliance: Automated certificate generation and delivery, eliminating manual staff overhead.

State-Level Scale: Built a robust, queryable database of over 500,000+ real estate professionals across the United States for outreach campaigns.

Persistent Financial Sync: Fully automated sponsor invoice mapping with background QuickBooks token management, eliminating invoicing delays.

Active Registration Recovery: Deployed Twilio SMS queues to automate class reminders, significantly reducing no-shows and driving registration rates.

Ready to build your custom software and database systems?

Schedule a Strategy Session