Feature: AI Legal Background & Eviction Scraper
Overview:
This feature automates legal background checks by scraping public eviction and housing tribunal databases based on an applicant’s first name, last name, and province. It returns a clean, structured JSON summary indicating whether the applicant has been involved in relevant legal proceedings.
Core Functionality:
Input: First Name, Last Name, Province (from Airtable via Make.com) Scrape relevant databases by province: Quebec → CanLII, SOQUIJ, TAL Alberta → Alberta Courts / QP Alberta summary: 1–2 sentence context (via OpenAI) sourceLink: direct link to case or listing JSON Output Example:
json
CopyEdit
{
"name": "Jane Doe",
"province": "Ontario",
"match": "YES",
"summary": "Jane Doe was involved in a 2023 eviction dispute related to non-payment of rent.",
"sourceLink": "https://openroom.ca/.../janedoe-case"
}
Edge Case Handling:
If no results: return "match": "NO" with empty summary and null link If loading or site unreachable: return "match": "PENDING" or "ERROR" with status message Handles empty Airtable rows, invalid characters, and inconsistent data formatting
Tools:
Make.com – for automating trigger + data flow Crawl4AI – for scraping speed and reliability ChatGPT API – for natural language case summarization Airtable – as source and destination for input/output
Testing Interface:
Temporary frontend built in Next.js to manually trigger and test workflows before integrating with production at .
Logins:
Make.com
Airtable