TL;DR: A booking agent that books before it knows the budget, and one that fires six questions at once like a paper form, usually share the same underlying problem, which is that the model has been left to decide when it knows enough. A qualification gate takes that decision away from it. The required questions are mapped to contact fields, and the tools that act on the answers (offering times, booking, opening tickets, handing off) are withheld from the model until those fields hold values, so it can’t book early however persuasive the customer is. This post explains how the gate works, why the contact field is where a question really finishes, how to write questions people will answer, and how a gate can quietly stop anyone booking at all.
For much of the nineteenth century, the most dangerous stretch of a railway was a single line of track worked in both directions, because two trains could enter it from opposite ends and meet in the middle. Timetables and telegraph messages depended on people remembering and agreeing, and when they failed the result was a head-on collision. In the late 1870s the engineer Edward Tyer introduced a better answer, the electric train tablet. A pair of linked instruments sat in the signal boxes at either end of the section, each holding a stack of metal tablets, and the electrical connection between them allowed only one tablet to be out at a time. A driver was not permitted onto the single line without a tablet in his cab, so whether the line was clear no longer depended on anyone’s judgement in the moment.

AI agents that can book appointments, open tickets or hand a conversation to a person face a smaller version of the same problem. Before they act, certain things ought to be known, such as what the customer needs and roughly what they can spend, and someone has to decide that those things are known. This post is about handing that decision to something like Tyer’s tablet, a gate in code that holds the booking tools back until the required answers exist, and about choosing questions and fields that let the gate open.
Why the model shouldn’t judge when it knows enough
The simplest way to build a qualifying agent is to write the questions into its instructions, along the lines of “before booking, find out the customer’s project type, budget and timeline”, and trust the model to follow them. It mostly does, which is what makes the approach so convincing in a demo, and the failures arrive later in two recognisable shapes.
The first is the eager booking. A customer opens with “do you have anything Thursday afternoon?”, and the model, which has been trained at great length to be helpful and to respond to what people actually ask, offers Thursday afternoon. The instruction about budget is still there, but it is one sentence among thousands of words of context, weighed against a direct request from a real person, and the request usually wins. The sales team then discovers on Thursday that the customer wanted a $2,000 job from a company whose projects start at $15,000.
The second shape is the opposite, an agent so conscientious about its list that it asks everything at once. “Great! To get you booked, could you tell me your project type, budget, timeline, address and the best email to reach you?” is a paper form wearing a chat bubble, and people treat it the way they treat long forms, by answering the easy parts or leaving. Baymard Institute’s long-running research on online checkouts consistently finds a long or complicated checkout among the most common reasons people abandon a purchase, and an opening message with five questions in it asks for the same kind of effort.
Both failures come from asking the model to balance a rule against a conversation on every turn. The OWASP Top 10 for LLM Applications lists Excessive Agency, an agent having more capability than the task in front of it needs, among the main risks of putting language models in charge of tools, and among its recommended defences is limiting which tools the agent can reach at all. Anthropic’s guide Building Effective Agents makes a related point in friendlier language, borrowing the manufacturing idea of poka-yoke, which means arranging a tool so that the mistake is hard to make in the first place. A qualification gate applies both ideas to the question of whether the agent may act yet. The wider family of deterministic checks around a turn is covered in pre-gates and post-gates, and this post stays with one particular gate.
How a gate works
A qualification gate has three parts, each simple on its own. There is a list of questions, each tied to a contact field where its answer will be stored and marked as required or optional. There is a list of tools that should wait for the required answers, which for a booking agent usually means offering times, booking, moving an appointment, opening a ticket and handing off. And there is a check, run in code before the model sees anything, that compares the two.

On every turn, the check reads the contact’s record and works out which required fields are still empty. If any are, the waiting tools are removed from the list the model is offered, so as far as the model can tell, booking doesn’t exist, and it can’t be talked into booking early because there is nothing to call. What it does have is a tool that picks the next question and a short block of state telling it where things stand. In Myna, that block looks like this:
FilesQUALIFICATION CONTEXT
Qualification Goals:
- Required total: 3
- Completed required: 1
- Next required field: project_type
- Pending required fields (in order):
- project_type
- budget_range
- Pending optional fields: none
- Available after the required answers: modify_appointment, offer_appointment, schedule_appointment
The last line lets the model see what is waiting, so it can tell a customer who asks about Thursday that it will gladly look at Thursday once it knows a little about the project, which is a far better reply than booking blindly or ignoring the question. The check also runs again after every tool that changes data, so when the last required answer is saved, the booking tools reappear for the next step of the same turn and the customer who gives their budget can be offered times in the same reply.
A few refinements keep the gate from becoming a nuisance. Questions whose fields are already filled are skipped. Optional questions have a limited number of attempts (three by default in Myna), after which the agent stops asking. Required questions have no such cap, since giving up would mean opening the gate without the answer, but the agent won’t pick a question again straight after the customer has passed over it, and it words a second attempt differently from the first. One exception is written into the rule itself: if the customer asks for a person, the handoff tool stays available whatever is pending, since holding someone to a budget question after they’ve asked for a human is a poor way to treat them.
The lock also applies only when the agent has the tool for asking qualification questions, because without it nothing could collect the pending answers and the gate would stay shut for good. The post on tool contracts describes how each tool should state exactly what it may do, and the gate adds a condition about when it may be used at all.
Contact fields are where questions finish
It is tempting to think of a qualification question as finished once it has been asked and answered, but the gate works from the contact’s record, and a question counts as done only when the field it is mapped to holds a value. This sounds like a technicality, and it turns out to be the part that decides whether a gate works at all.
Saving an answer is its own step, carried out by a tool that reads the customer’s message, proposes a field and a value, and quotes the words the value came from. In Myna, Update Contact saves only when that evidence is the customer’s own words and the field is one the agent may write. That permission is set per agent, field by field, as Visible (the agent can see it) and Writable (it can save to it), so an agent can read a customer’s address without ever being able to change it. A qualification forces its own field to visible and writable, since an answer that can’t be saved can never complete the question, though a short list of fields stays locked even then, including internal notes, contact type and lead source, which the code treats as belonging to the business.
Reading completion from the field has a pleasant side effect. Answers arrive from plenty of places besides the agent, such as a web form, a teammate typing a budget into the CRM after a phone call, or a list imported from a trade show, and because the gate looks at the field, all of them count. With “Skip if already filled” switched on (the default), a customer who gave their project type on a form isn’t asked for it again. The same reasoning is why Myna won’t publish an agent with a qualification that has no mapped field, since such a question would sit in the pending list forever.
Writing questions people will answer
Once the mechanics are right, the quality of a qualifying conversation depends almost entirely on the questions, and most of the habits that make good questions are much older than AI. Sales teams have argued about them for decades, and the acronym many of them learned, BANT, for budget, authority, need and timeline, is usually credited to IBM. It is a sound list of what to find out and an awkward order in which to ask, since budget is the most intrusive question on it and need is the most natural.

A handful of principles hold up well in conversation:
- Ask one thing at a time: each question should be answerable in a few words, with the agent waiting for the answer before moving on. Myna asks one qualification per turn, and a post-gate sends back for repair any reply that combines more than one of a booking offer, a handoff and a qualification question.
- Start with the cheapest question: what the customer needs is easy to answer and feels like help, while budget and decision-makers feel like assessment, so the easy questions build a little goodwill before the harder ones arrive.
- Say why, once: “so I can send the right technician” turns a question about postcode into a favour to the customer. Explaining every question in the same words soon sounds scripted, so the reason is best given the first time and again only if the customer asks.
- Let people answer out of order: when someone mentions their timeline while describing the project, a good agent saves both instead of dutifully asking about the timeline next.
- Keep the options in reserve: five budget bands read like a form, so ask openly and offer the bands only when the customer says they’re unsure.
- Keep the required list short: every required question is a point at which someone can stop replying, so only the answers a booking genuinely can’t happen without belong there, and the rest can be optional.
In Myna, each qualification has a goal, a mapped field and up to 400 characters of guidance, which the agent reads as notes (when to ask, how to read a vague answer, why it matters) and never copies into a message, so it can be as blunt as the business likes.
How gates go wrong
Most of the ways a gate goes wrong are quiet ones, since nothing errors, the agent stays polite and the only symptom is a calendar that fills more slowly than it should.
| Failure | What you notice | What is usually happening |
|---|---|---|
| A required field the agent can never write | Nobody books, and the agent circles one question | The question is mapped to a locked field such as notes, so the answer is heard but never saved |
| Gating too much | Plenty of conversations, very few bookings | Five or six required questions stand between the customer and a time slot |
| Asking for what you already have | Customers reply “I already told you” or “it’s on the form" | "Skip if already filled” is off, or the form saves to a different field from the one the question reads |
| A question nobody can answer | The same question returns in new wording | The customer doesn’t know the answer, such as exact square footage, and there is no acceptable “not sure” |
| Locking the only way out | A customer asks for a person and gets another question | Handoff is gated with no exception for explicit requests |
The first row deserves the most attention because it is invisible from the outside, since every turn looks reasonable and the field stays empty only because the save was refused. Myna refuses those locked fields even when a qualification names them, which is a good reason to give every qualification a dedicated custom field of its own.
The fourth row is worth planning for in the guidance. A required question about something customers often don’t know, such as the age of their boiler, should say in its notes what counts as an answer, for example that “not sure, maybe ten years” is fine to save, because Myna has no disqualify step and an unanswerable required question leaves the gate closed. The third row has a safety net of its own, a post-gate that repairs any reply asking for a name, email, phone number, address or saved custom field already on file.
In Myna: the Schedule Appointments engine comes with Ask Qualification switched on and scheduling locked until the required qualifications are answered, and each Agent Node chooses which tools and calls to action wait, by default offering, booking, moving, creating tickets and handoff. The state builder removes those tools before the planner runs, keeps handoff when the contact asks for a person, and recalculates after Update Contact saves an answer, so scheduling opens up in the same turn. Questions are asked one per turn, required before optional and then in the order you set, and skipped when their field already has a value.
Letting the train through
Tyer’s tablet worked because it moved one dangerous decision out of the driver’s head and into a piece of equipment that could not be argued with, while leaving the driver to do everything else that took skill. A qualification gate makes the same trade. The model still decides how to word each question and how to follow a customer down a tangent, and the gate decides only the one thing that should never come down to persuasion.
Once the gate exists, the interesting work is mostly in the questions and fields behind it. A business that keeps its required list short, maps every question to a field the agent can actually write, and lets forms and CRM records answer whatever they already know will find that most customers never notice the gate is there, since by the time they ask for a time, the agent already knows enough to offer one.