Why Finite State Machines Are Better Than Prompt-Based AI for Patient Dialogues

Published 5 July 2026

I remember sitting across from a practice manager, her frustration palpable as she explained the chaos in her clinic's patient interactions. Calls were missed, messages were ignored, and patients were left hanging. She had recently implemented a prompt-based AI system that was supposed to streamline communications, but it was anything but seamless. The AI struggled with context, often providing irrelevant answers that left patients confused and staff overwhelmed. There’s a lesson here: when it comes to patient dialogues, finite state machines (FSMs) have distinct advantages over prompt-based AI.

The Pitfalls of Prompt-Based AI

Prompt-based AI systems rely heavily on the context provided in the conversation. They generate responses based on patterns and previous interactions, which sounds great in theory but falters in practice. For instance, in a dental clinic, a patient might ask about the aftercare for a specific procedure. A prompt-based AI might misinterpret the query if the patient doesn’t provide enough context or uses ambiguous language. This can lead to incorrect information being relayed or, worse, patients feeling unheard.

I witnessed this firsthand when a clinic I worked with decided to adopt a prompt-based AI solution. During a busy afternoon, a patient sent a message asking about the recovery time for a wisdom tooth removal. The response generated by the AI was generic and didn’t address the specific procedure, leaving the patient unsure and frustrated. In a clinical setting, where clarity is paramount, this could lead not only to a poor patient experience but also potential compliance issues with the Care Quality Commission (CQC) standards for patient communication.

Finite State Machines: A More Reliable Alternative

Finite state machines, on the other hand, operate on a defined set of states and transitions, leading to predictable and structured interactions. In simpler terms, they follow a set path based on the input received, which is particularly useful in a medical environment where clarity and consistency are key.

Take the example of appointment scheduling. An FSM can guide a patient through the entire process step by step, ensuring that they provide necessary information at each point. This not only reduces the chances of miscommunication but also ensures that the patient feels engaged and understood. For practice managers, this means fewer repeat queries and reduced administrative overhead.

During an implementation at a dental practice in London, I observed how FSMs handled patient inquiries about booking appointments. A patient would initiate a conversation, and the FSM would respond with specific questions, leading to a scheduled appointment without missing any critical data. No ambiguity, no confusion — just straightforward interaction.

Compliance and Data Security Considerations

In the UK, compliance with regulations like the General Data Protection Regulation (GDPR) is non-negotiable. Using a prompt-based AI system can introduce risks if the AI inadvertently collects or mishandles personal data during its conversation flows. FSMs, by contrast, can be programmed to adhere strictly to compliance requirements, ensuring that only necessary data is collected and that it is handled securely. This can be a key consideration for clinics, especially with the scrutiny from bodies like the Information Commissioner's Office (ICO).

Furthermore, finite state machines can be designed to log interactions methodically, which is essential for audits and reviews. For clinics under the CQC, maintaining accurate records of patient interactions is crucial for demonstrating compliance and quality of care.

Making the Switch: What to Consider

If you’re considering an AI solution for your clinic, think carefully about the type of technology you want to implement. Here are a few factors to weigh:

  • Complexity of Interactions: If your patient dialogues are straightforward and follow predictable paths, FSMs are a better fit.

  • Regulatory Compliance: Ensure any chosen system adheres to GDPR and CQC standards.

  • Scalability: Consider whether the technology can grow with your practice.
  • If your reception staff are currently juggling missed calls and after-hours messages manually, transitioning to an FSM-based system, like ilmove AI, can help automate these processes. It can handle WhatsApp enquiries 24/7, ensuring that patients receive timely responses without additional staffing costs.

    A practice manager I work with in Leeds has seen firsthand how automating patient dialogues has freed up her team to focus on in-clinic patients rather than chasing appointments. It's not just about technology; it's about improving patient experience and operational efficiency.

    The next time you think about enhancing your patient communications, consider whether a finite state machine is the right tool. It might just be the difference between a satisfied patient and a lost opportunity.

    Ready to see it in action?

    Book a 20-minute walkthrough — we'll show you how ilmove AI handles your specific use case.

    Book a demo →