Upload a TruthFinder PDF
Choose whether to send the main lead or relatives to Airtable.
Setup (one-time)
- Install
Python 3.10+. - Open a terminal in this folder and run:
python -m venv .venv && . .venv/bin/activate(Windows:.venv\Scripts\activate). - Install dependencies:
pip install -r requirements.txt. - Copy
.env.exampleto.envand fill in:- AIRTABLE_PAT – your Airtable Personal Access Token (scopes: data.records:read and data.records:write).
- AIRTABLE_BASE_ID – your base id.
- AIRTABLE_TABLE_NAME – main leads table, e.g.
NRS_Leads. - AIRTABLE_RELATIVES_TABLE_NAME – relatives table, e.g.
Relatives.
- Run the app:
python app.py, then open http://localhost:5001.
You can deploy this to your internal site (nexusrecoveryportal.com) behind a login using any Python-friendly host (Render, Railway, Fly.io, Azure Web Apps, etc.).