RAIA™ Specification

4.1 Legacy Data Sources & Systems

A one-shot AI agent crawls an estate agent's existing PropTech stack, red-teams each application's API, and generates a consent-gated extraction plan — without a single line of manual integration code by the agency.

← Back to Developer Hub TEXTBOOK SPECIFICATION
§ 4.1 — Legacy Data Sources & Systems
3
Extraction methods per app
1-shot
AI agent crawl & report
0
Manual integration code by agency
∞
PropTech systems supported
ELI5 — In Plain English Think of an estate agent's computer systems like a house full of locked filing cabinets. Each cabinet belongs to a different company — one for property listings, one for client details, one for money. Nobody has all the keys. Our Background Data Agent is like a very polite locksmith: it visits every cabinet, checks which keys work, picks the safest way to open each one, and hands the agent a neatly labelled folder with everything inside — all without breaking anything or reading anyone's private diary.

1.Why — The Legacy PropTech Problem

Estate agents do not run one system. They run ten to fifteen disconnected PropTech applications — a CRM here, a property management platform there, an accounting package somewhere else, plus spreadsheets, email inboxes, and legacy databases that predate the smartphone. Each vendor locks its own data behind a different API, a different authentication model, and a different export format. Some have no API at all.

The result is the integration tax: every time an agency wants to answer a cross-system question — "which of my managed properties have an EPC expiring next quarter?" — someone has to manually log into three different systems, export CSVs, and stitch them together in Excel. This is slow, error-prone, and impossible to automate.

The Integration Tax A mid-size agency with 500 managed properties typically spends 12–20 hours per week on manual data stitching across disconnected systems. That is one full-time employee doing nothing but copy-paste between apps.

RAIA™ (Real estate Artificial Intelligence Agent) solves this not by asking vendors to change their APIs (they won't) and not by asking agencies to migrate to a new system (they can't), but by deploying a Background Data Agent that treats every application as a data source to be crawled, red-teamed, and extracted — automatically.

Legacy Data Sources — Migration Architecture AppSheet Properties / Units Rent Manager CSV Tenancy / Payments Intercom Exports Comms History ETL Pipeline Transform + Validate PII scrub + dedup Supabase Canonical Store PostgreSQL + RLS RAIA OS / AI Legacy Systems Transform Layer Single Source of Truth

2.How — The Background Data Agent

The Background Data Agent is a one-shot autonomous agent that runs when a new agency onboards. It receives a list of the agency's applications (from a simple intake form) and executes a five-phase crawl:

Phase 1 — Discovery

The agent visits each application's login page and public documentation. It identifies the vendor, the product version, and the authentication model (OAuth2, API key, session cookie, or none). For known vendors, it consults an internal registry of API quirks. For unknown vendors, it falls back to generic browser automation.

Phase 2 — Red-Team API Probe

With credentials supplied by the agency (via a consent-gated form), the agent probes each API surface. It tests rate limits, pagination behaviour, field completeness, and error handling. It does not exfiltrate data — it maps the API's shape. Think of it as a structural survey before renovation, not a break-in.

Phase 3 — Extraction Plan Generation

For each application, the agent selects the optimal extraction method from three options: (a) direct API sync for well-documented REST APIs, (b) scheduled browser automation for legacy web apps with no API, or (c) CSV/Excel ingestion for desktop software that can only export files. It generates a machine-readable extraction plan.

Phase 4 — Consent-Gated Activation

The extraction plan is presented to the agency owner for review. Nothing runs until the owner explicitly approves. The plan specifies exactly what data will be extracted, how often, and where it will be stored. GDPR Article 30 records are auto-generated.

Phase 5 — Continuous Sync

Once approved, the extraction plan runs on a schedule (typically hourly or daily). Data flows into RAIA™ (Real estate Artificial Intelligence Agent)'s unified schema, where it is deduplicated, validated, and made available to all downstream agents — from EPC backfill to tenant communication.

Zero Manual Code The agency never writes a line of integration code. The Background Data Agent generates all connectors, handles all authentication, and self-heals when APIs change. If a vendor updates their API, the agent detects the change during the next sync cycle and regenerates the affected connector.

Three Extraction Methods

Method Best For Latency Reliability Maintenance
Direct API Sync Modern SaaS with documented REST APIs (Alto, Street, Reapit) Near real-time (webhooks) or 5-min polling 99.9% — vendor SLA Auto-healing — agent regenerates connector on API version change
Browser Automation Legacy web apps with no public API (older CRMs, desktop-hosted portals) 15–60 min batches 95–98% — depends on UI stability Self-healing — agent re-learns UI selectors after vendor updates
File Ingestion Desktop software with CSV/Excel export only (older accounting packages) Daily or on-file-drop 99% — deterministic file format Zero — format locked by vendor

Security Model

Layer Control Detail
Credential Storage AES-256-GCM encryption at rest Credentials stored in Supabase Vault (pgcrypto), never in plaintext. Decryption keys split between RAIA™ (Real estate Artificial Intelligence Agent) and the agency's designated admin.
Network Isolation Tailscale VPN mesh All extraction traffic routed through the agency's Tailscale node. No data traverses the public internet unencrypted.
Consent Gate Explicit owner approval No extraction runs until the agency owner signs off on the auto-generated plan. Consent is logged with timestamp and IP for GDPR audit.
Data Minimisation Field-level filtering The agent extracts only fields required by downstream RAIA™ (Real estate Artificial Intelligence Agent) agents. PII fields not needed for property management are excluded by default.
Audit Trail Immutable event log Every API call, browser session, and file ingestion is logged with full request/response metadata. Retained for 7 years per UK GDPR.
Background Data Agent — Five-Phase Crawl Architecture
Estate Agent's Apps CRM (Alto / Street) Property Manager Accounting (Xero) Spreadsheets Legacy Database Email Inbox Portal Logins Consent Gate Estate Agent Consent Form Explicit owner approval required GDPR Article 30 auto-generated Background Data Agent 1. Discovery 2. Red-Team API Probe 3. Extraction Plan Gen 4. Consent-Gated Activation 5. Continuous Sync plan review approval Extraction Methods Direct API Sync Modern SaaS Webhooks / 5-min Browser Auto Legacy web apps 15–60 min batches File Ingestion Desktop software CSV / Excel export RAIA™ (Real estate Artificial Intelligence Agent) OS Unified Schema Deduplicated & validated Available to all agents EPC Backfill Agent Tenant Comms Agent API / Agent flow Cross-reference Red-team probe Scheduled / async RAIA™ (Real estate Artificial Intelligence Agent) OS layer Browser scrape

3.What — Known PropTech Application Map

The Background Data Agent maintains a living registry of PropTech applications, their API capabilities, and the optimal extraction strategy for each. Below is the current map for the UK market. This registry is updated automatically as new vendors are discovered and as existing vendors change their APIs.

Application Category API Status Extraction Method Auth Model Rate Limit Data Quality
Alto (VTUK) CRM + Property Management REST API v2 Direct API Sync OAuth2 + API Key 100 req/min High — structured JSON
Street CRM + Marketing REST API Direct API Sync API Key 60 req/min High — well documented
Reapit CRM + Property Management REST API Direct API Sync OAuth2 120 req/min High — webhook support
Xero Accounting REST API v2 Direct API Sync OAuth2 60 req/min High — accounting standard
Fixflo Maintenance Management Limited API Browser Automation Session Cookie N/A — UI scraping Medium — HTML parsing
Arthur Online Property Management Limited API Browser Automation Session Cookie N/A — UI scraping Medium — HTML parsing
PropertyFile Legacy Database No API File Ingestion N/A — CSV export N/A Medium — CSV format locked
Excel / Google Sheets Spreadsheets No API File Ingestion N/A — file drop N/A Low — unstructured
Email (IMAP) Communication No API Browser Automation IMAP credentials N/A Low — unstructured text
dominant listing aggregator Portal No public API Browser Automation Session Cookie N/A — aggressive rate limiting Medium — HTML parsing + anti-bot
incumbent property portal Portal No public API Browser Automation Session Cookie N/A — aggressive rate limiting Medium — HTML parsing + anti-bot
alternative listings channel Portal No public API Browser Automation Session Cookie N/A — aggressive rate limiting Medium — HTML parsing + anti-bot
Registry Auto-Update The Background Data Agent updates this registry automatically. When it encounters a new vendor during onboarding, it probes the API, documents the authentication model, and adds the vendor to the registry with a recommended extraction method. The registry is shared across all RAIA™ (Real estate Artificial Intelligence Agent) instances, so every new agency benefits from every previous agency's crawl.

B User Guide — Accessing Legacy Data

This section explains how to find, verify, and use data that originated from legacy systems (AppSheet, Rent Manager, Intercom) now migrated into RAIA.

Step-by-Step: Verifying Migrated Data

  1. Locate the record in Paperclip — search by property address or tenant name. Legacy-migrated records are flagged with a legacy_source tag.
  2. Cross-check the original source — if the source system is still accessible, compare key fields (rent amount, start date, tenant name) against the migrated record.
  3. Flag discrepancies — use the Paperclip "Flag for Review" button. This creates a data quality task in the kanban board.
  4. Do not edit legacy fields directly — request a data correction through the RAIA (Real estate Artificial Intelligence Agent) admin panel or via a support ticket. Direct edits may be overwritten by the next sync.
  5. After correction, re-verify — check the record again after the next overnight pipeline run (07:00 UTC).
Common Pitfall: AppSheet property IDs (e.g. AP-00123) do not map 1:1 to RAIA (Real estate Artificial Intelligence Agent) property UUIDs. Use the address or Supabase ID for cross-referencing — never the AppSheet row number.

Configuration Prerequisites

  • Access to Paperclip (estate agent role or above)
  • For ETL re-runs: SSH access to the VPS or Supabase admin credentials
  • For source-system access: AppSheet account or Rent Manager login (read-only is sufficient)

Pitfalls

Consent bypass. Never run extraction without explicit owner approval. The consent gate is not a formality — it is a legal requirement under UK GDPR. Bypassing it exposes the agency to regulatory action and invalidates the data processing agreement.
Rate limit violation. The agent respects vendor rate limits by default. Do not override this. A single aggressive crawl can get an agency's API key revoked by the vendor, breaking all future syncs.
UI selector drift. Browser automation relies on stable UI selectors. When a vendor updates their web app, selectors break. The agent self-heals by re-learning selectors, but there is a 24–48 hour window where sync may fail. Monitor the #alerts channel for extraction failures.
PII leakage. The agent filters PII by default, but custom extraction plans may include sensitive fields. Always review the field list in the consent form before approving. Once extracted, PII is subject to the full GDPR retention and deletion policy.
Schema mismatch. The unified schema expects specific field types (e.g., dates in ISO 8601, currency in GBP pence). If a vendor exports dates as "DD/MM/YYYY" or currency as "£1,234.56", the agent normalises during ingestion. But if the vendor changes their export format, the normalisation may fail silently. Validate the first sync manually.

Vibe Check

🧠How to Think About Legacy Data Sources

Do not think of legacy systems as obstacles. Think of them as pre-existing data pipelines that happen to have terrible interfaces. The agency has already spent years entering data into these systems. That data is valuable. It is just trapped.

The Background Data Agent does not replace these systems. It liberates the data inside them. The CRM still runs. The accounting package still balances the books. But now, every piece of data also flows into RAIA™ (Real estate Artificial Intelligence Agent), where it becomes actionable by autonomous agents.

This is the virtualisation layer for estate agency data. Just as VMware virtualised servers without replacing them, RAIA™ (Real estate Artificial Intelligence Agent) virtualises PropTech without replacing it. The agency keeps its existing workflows. RAIA™ (Real estate Artificial Intelligence Agent) adds intelligence on top.

Success Metric A successful legacy data source integration means: the agency owner answers "yes" to the question — "Can I ask RAIA™ (Real estate Artificial Intelligence Agent) about any property, any tenant, any transaction, and get an answer without logging into another system?"