Home » Work » A Spanish-language sales chatbot that can’t invent a price

A Spanish-language sales chatbot that can’t invent a price

A live sales chatbot for a cabin builder in Chile that gives instant quotes in Spanish, with every price set by a separate pricing engine.

Client
A cabin builder in Chile
Stack
  • Python
  • FastAPI
  • OpenAI tool calling
  • Streaming replies
  • SQLAlchemy/SQLite
  • WordPress web component
  • nginx
  • CI with automatic rollback
Outcome
Live since September 2026: instant quotes in Spanish that can’t be invented, at about one cent per conversation

The problem

Visitors wanted a price before talking to anyone, quoting by hand was slow, and an ordinary chatbot could make a price up.

What I built

I was the sole engineer. The chatbot runs on the client’s WordPress site as a web component and talks with visitors in Spanish, with replies streamed as they’re written.

The language model never sets a price. When a visitor asks for a quote, it calls a separate pricing engine through tool calling, and every price comes from that engine. That is why a quote can’t be invented.

Behind it: Python and FastAPI, SQLAlchemy with SQLite, served through nginx, with CI that rolls a release back automatically if it fails.

What changed

  • Live since September 2026
  • Visitors get instant quotes in Spanish
  • A separate pricing engine sets every price, so quotes can’t be invented
  • 800+ automated tests
  • About one cent per conversation

I build chatbots and agents like this one. See RAG chatbots and AI agents.

Need a chatbot that can’t make things up?

A few lines is enough: what it should answer, and where its answers have to come from.

From the $150 scoping session: 60 minutes and a written plan, credited toward the build.