Tool · Automation · August to October 2026
An in-app assistant that answers from your live data, without the data risk.
A help bubble for the workforce portals I built. It knows who is asking, reads a fixed snapshot of what that person may see, and answers in plain words.
The problem
The first version could only say "I'm not able to see that information". It sent a bare question to a general AI with no idea who was asking or what was on the page.
The quick fix, letting an AI query the database, would turn a payroll database into a data leak waiting to happen. This design gives the model answers to read and no way to ask for more.
How it works
- Who is askingThe scope comes from the signed-in user's verified token, never from what the browser sends.
- Build a snapshotA fixed set of read-only queries. A worker gets only their own shifts and timesheets; office staff get the business view.
- Read the screenThe bubble sends a map of the visible controls, so "where is X?" is answered with the real place on that screen.
- AnswerNine AI providers are tried in turn, 12 seconds each, so one provider going down does not break help.
- TraceEvery answer carries its snapshot time and which provider answered, so a wrong number can be traced.
What it did
What it looks like
Drawn in text from the real tool, with sample content. Not a screenshot.
Safety notes
- The model never writes SQL. It reads a snapshot built by fixed queries.
- Scope comes from the verified token, so a worker can never ask about someone else.
- Hours only: no rates or dollar figures go into the prompt.
- Plain text out, with a timestamp, so answers are checkable.
Custom version
Want this for your business, or a version built around your problem?
Tell me what it should do in two or three lines. I reply within 24 hours on working days with an idea and a price range.