<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Chatbot Minds</title>
    <description>The latest articles on DEV Community by Chatbot Minds (@chatbotminds).</description>
    <link>https://dev.to/chatbotminds</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4284967%2F6c4f5dda-24ab-49f5-9bcd-42096da6adc9.png</url>
      <title>DEV Community: Chatbot Minds</title>
      <link>https://dev.to/chatbotminds</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chatbotminds"/>
    <language>en</language>
    <item>
      <title>What we learned building an AI receptionist on WhatsApp that is not allowed to touch the database</title>
      <dc:creator>Chatbot Minds</dc:creator>
      <pubDate>Sat, 05 Dec 2026 15:02:15 +0000</pubDate>
      <link>https://dev.to/chatbotminds/what-we-learned-building-an-ai-receptionist-on-whatsapp-that-is-not-allowed-to-touch-the-database-53pm</link>
      <guid>https://dev.to/chatbotminds/what-we-learned-building-an-ai-receptionist-on-whatsapp-that-is-not-allowed-to-touch-the-database-53pm</guid>
      <description>&lt;p&gt;We build &lt;a href="https://chatbotminds.com/en" rel="noopener noreferrer"&gt;Chatbot Minds&lt;/a&gt;, an AI receptionist that answers customers on WhatsApp and books their appointments. Its first users are clinics, which means two things: the data is sensitive, and a wrong booking is a real person standing at a closed door. Here are the design rules that came out of that, in case you are building something similar.&lt;/p&gt;

&lt;h2&gt;
  
  
  1. The model never touches the database
&lt;/h2&gt;

&lt;p&gt;The LLM can only call a short list of tools. Every call goes through one gateway: the arguments are checked against a schema, then a permission policy decides whether the action runs on its own, waits for a human's approval, or is refused, and only then does ordinary application code do the work.&lt;/p&gt;

&lt;p&gt;The model never sends an account id, a customer id or a raw date and time. Free slots are handed to it as opaque signed tokens made by the server, so it can pick a slot but cannot invent one.&lt;/p&gt;

&lt;h2&gt;
  
  
  2. Treat every customer message as untrusted input
&lt;/h2&gt;

&lt;p&gt;Prompt injection is not a theory when anyone can message your number. So safety never depends on the model refusing; it depends on the model being unable. If a tool doesn't exist, no clever message can call it.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. Code first, model second
&lt;/h2&gt;

&lt;p&gt;Confirmations, cancellations, opt-outs, button replies and reminders are handled by plain code. The model is only used to understand free text. That makes the common paths instant, cheap and predictable, and leaves the model for what it is actually good at.&lt;/p&gt;

&lt;h2&gt;
  
  
  4. Emergencies are caught before the model
&lt;/h2&gt;

&lt;p&gt;A clinic's assistant must never give medical advice. Messages that look like an emergency are detected by code before the model sees them, the customer is pointed to emergency services, and the team is alerted.&lt;/p&gt;

&lt;h2&gt;
  
  
  5. The webhook does almost nothing
&lt;/h2&gt;

&lt;p&gt;WhatsApp webhooks are verified against the signature on the raw body, de-duplicated by message id, queued, and answered within about 100 ms. The web request never waits on the LLM.&lt;/p&gt;

&lt;h2&gt;
  
  
  6. Time zones with daylight saving are a trap
&lt;/h2&gt;

&lt;p&gt;Store times in UTC and convert per date through the tz database. A fixed offset will move appointments by an hour twice a year.&lt;/p&gt;

&lt;h2&gt;
  
  
  7. Encrypt what identifies people
&lt;/h2&gt;

&lt;p&gt;Names, phone numbers and message bodies are encrypted at rest. Lookups use a keyed hash column, and none of them ever reaches a log.&lt;/p&gt;




&lt;p&gt;None of this is exotic, but together it lets a small team run an assistant that books real appointments without hoping the model behaves. If you want to see it working, Chatbot Minds is at &lt;a href="https://chatbotminds.com/en" rel="noopener noreferrer"&gt;chatbotminds.com&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>whatsapp</category>
      <category>security</category>
      <category>architecture</category>
    </item>
  </channel>
</rss>
