FPM Admin Dashboard
Admin tools for members, clinics, and operational debugging (Netlify Identity + Functions).
Env
prod
Session
Checking session…
Login
Logout
Loading…
Functions base
If you ever move paths, you can override here without touching code.
Admin role name
Must exist in Identity
app_metadata.roles
for admin access.
Run self-test
Idle
Navigation
Member lookup / edit
Invoice / coverage debug
Clinic accounts
Roster import / export
System logs
Observability
These panels store the last raw request/response so you can debug without opening DevTools.
Last request
—
Last response
—
Last error
—
Member lookup / edit
Search by Member ID, phone, owner, pet name, rabies tag. Update plan/status/preexisting notes.
Idle
Search
Search
Clear
Member
Member ID
Owner name
Pet name
Phone
Pet photo URL
Plan + status
Plan tier
Gold
Silver
Bronze
Status
Active
Inactive
Cancelled
Preexisting conditions (notes)
Save / upsert
Set status = Inactive
Ready
This requires a server function to persist updates. If you don’t have one yet, the UI will still show you the payload you need.
Raw member record (debug)
—
—
Invoice / coverage debug
Send a PDF to the same OCR function used by clinics, but with admin observability.
Idle
Target member
Member ID (required)
This is used for server-side enforcement (status + preexisting).
Upload invoice PDF
Upload PDF → OCR
Clear
Idle
Parsed items + coverage (server preferred)
Service
Flags
Price
Coverage
FPM
Patient
—
FPM Pays
$0.00
Patient Pays
$0.00
Please Call 939-325-1259 for FPM payment
—
Raw OCR response
Exactly what the function returned.
—
Clinic accounts
Create clinic logins (Identity invites) and list existing clinic accounts.
Idle
Create / invite clinic
Clinic name
Clinic email (login)
Roles (comma-separated)
Create / invite
Ready
Requires an admin server function that creates a Netlify Identity user (or sends an invite) and stores clinic metadata.
List clinics
Refresh list
Idle
Name
Email
Roles
Status
—
Roster import / export
Upload a CSV roster to your database. Export members for backups.
Idle
Import CSV roster
CSV file
CSV format notes (optional)
Upload / import
Clear
Idle
Requires a server function that parses the CSV and upserts into your Members table.
Export roster
Downloads a JSON export (you can later convert to CSV).
Export members
Idle
—
System logs
Ping functions, view health payloads, and run simple checks.
Idle
Health endpoints
Function name
admin_health
clinic-search
clinic_upload_invoice
Ping
Idle
—
Notes
This page is “safe by default”:
Requires Identity login.
Blocks admin actions unless your role matches
admin
(editable above).
Stores last request/response/error for debugging.