Articles

Ask Your Business Anything: AI That Looks Things Up in Your Systems

A plain-English question about customers who haven't ordered in 90 days, answered live from the business system with the lookup shown.

“Which customers haven’t ordered in 90 days?” “How much stock of part AX-2207 do we have?” “What were sales last month, by region?”

Today, answering questions like these usually means waiting on whoever knows how to run the report. What if anyone on your team could just ask, in plain English, and get the answer straight from your systems?

That’s possible now. Here’s how it works, and what to watch out for.

Documents vs. numbers: the big fork

In Ask Your Files Anything, we explained how AI can answer questions from your documents: policies, procedures, specs. That’s called RAG.

But a lot of business questions aren’t about documents. They’re about numbers that live in your systems: your ERP, CRM or accounting software. Those need a different approach.

  • Document questions (“What’s our return policy?”) point to RAG.
  • Number questions (“Which customers haven’t ordered in 90 days?”) point to live lookups.

This matters more than it sounds. If someone uploads a spreadsheet export to a chatbot to answer number questions, the answers go stale the next day, and may be quietly wrong.

How live lookups work, in four steps

  1. Understand the question. “Customers who haven’t ordered in 90 days.”
  2. Write the lookup. The AI turns your question into a database query, or picks a ready-made action.
  3. Run it live against the real system, so the answer is current.
  4. Answer in plain English, and show which lookup it ran. These are the receipts, so anyone can check the work.

Two ways to build it

There are two main approaches, and the difference matters:

  • The AI writes the query itself. The technical term is text-to-SQL. It’s flexible: you can ask almost anything. But it can also write a wrong query and return a precise-looking wrong number.
  • The AI picks from a menu of safe, pre-built actions. The technical term is tool calling. You decide ahead of time what it’s allowed to look up, like “sales by customer” or “stock by part number.” It’s less flexible, but much more controlled.

For most small businesses, we recommend starting with the menu. It’s easier to trust, easier to test and much harder to misuse.

Where it goes wrong

  • Confident wrong numbers. A wrong query gives a precise-looking wrong answer. “$412,388.17” sounds authoritative even when it’s off.
  • Fuzzy definitions. Does “sales” mean gross, net, shipped or invoiced? Your business has an answer, but the AI doesn’t, unless you write it down.
  • Safety. The AI should have read-only access, so it can look but never change anything. And each person should only see what they’re allowed to see. The warehouse doesn’t need payroll.

How to do it safely

  1. Write down your definitions. What counts as a sale, an active customer, a late order.
  2. Start with a short menu of five to ten common questions, not “ask anything.”
  3. Use read-only access, always.
  4. Test it like a new report. Compare its answers with reports you already trust before anyone relies on it.
  5. Always show the receipts: which lookup ran and when.

The bottom line

Documents and databases are different kinds of knowledge, and they need different tools. Together, they cover most of the questions your team asks every day: RAG for what’s written down, live lookups for what’s in your systems.

Wondering whether your ERP or CRM could answer questions like this? Book a free 15-minute call, and we’ll talk through what’s possible with the systems you already have.

Keep reading

See all articles

Want help putting this into practice?

A free, no-pressure 15-minute call about your business. You'll leave with at least one idea you can use right away.