Building an AI project planner that answers clients before the first call
Most enquiries start with the same back-and-forth: what do you need, when, and what’s the budget? I built a project planner on my site that does that first step for me. A visitor describes their project, picks a budget range, and gets a tailored plan right away, with phases, a timeline and an honest fit check. A copy goes to their inbox, and the brief lands in mine.
Idea, UX, prompt design, development
Nov 2026 · 1 day
WordPress · Claude API · WP REST API

Per plan
Prices shown
Fit outcomes
Plans per hour
Places each brief lands
Answer the first questions before the first call
I wanted potential clients to see how I work before they ever book a call, the way many startups qualify leads with a short brief. The planner had to feel helpful, not like a gate, so I set a few rules before building:
- No prices on screen. Visitors pick a budget range, but the plan only says whether it fits. My rates stay a conversation.
- Honest about fit. If the budget is tight, the plan suggests launching the essentials first instead of pretending everything fits.
- AI drafts, I decide. Every plan says it’s an estimate, and I read every brief myself.
- Never lose a lead. Each brief is saved privately in WordPress, even if an email fails to send.
Three steps in, a full plan out
The form is three short steps, and the plan appears on the same page in a few seconds.
- 1. What are we building? Project type, rough size, timing and the features they need, picked from chips.
- 2. Tell me about it. A short description and a budget range, labelled clearly as only used to check fit.
- 3. Where should I send it? Name, email, and a quick human check.
- The plan. A summary in their own terms, a fit badge, a phase-by-phase timeline, what I’ll need from them and the questions I’ll ask on our call.
- The follow-up. They get the plan by email if they want it, and I get the full brief with their email set as the reply-to, so I can answer in one click.
Rules in code, writing by AI
The planner is one Code Snippet: a WordPress REST endpoint, a shortcode for the form and some CSS. It reuses the secure server-side Claude API connection from my homepage assistant, so the API key never reaches the browser.
- The fit check isn’t AI. A small PHP function compares the budget band with the project type, adjusting for size and heavy features, so the answer is consistent every time. The AI is only told the result.
- Typical timelines come from me. Each project type has a timeline range in the settings, and the AI adjusts it for scope and urgency.
- Money filter. Any line in the plan that mentions prices or costs is removed on the server, even if the prompt was ignored.
- Always a plan. If the AI is slow or returns bad JSON, it retries once, then falls back to a simple template.
// Budget fit is decided in PHP, not by the AI
$need = $c['types'][ $type ][2];
if ( in_array( $pages, [ '15', '16' ], true ) ) $need++;
if ( count( $heavy ) >= 2 ) $need++;
if ( $budget >= $need ) return [ 'good', 'Good fit' ];
if ( $budget === $need - 1 ) return [ 'tight', 'Tight but workable' ];
return [ 'phase', 'Best as a smaller first phase' ];Edge cases I designed for
AI can promise things I didn’t
In testing, a plan offered “one round of revisions” and promised to send a booking link this week. I told the AI not to state policies or commit me to actions, and made the closing line fixed text.
Names aren’t always first names
“Dr. Ana Reyes” first came out as “Hi, Dr.” The greeting now skips titles, and the AI writes to the client as “you” so it never guesses anyone’s gender.
A contact form can be abused
Because it sends email, the planner has a Cloudflare Turnstile check, a hidden honeypot field, 3 plans per visitor an hour and a shared daily AI cap.
The model can run out of room
One test came back with no text at all. I gave the model more room to answer, added one automatic retry and kept a template plan as the last fallback.
Use AI for the writing, not the decisions
The parts that need to be exact, like the budget fit, timelines and limits, work best as plain code. The AI is good at the part people actually read: turning a messy brief into a clear plan in their own words. Testing with realistic briefs mattered more than the prompt itself, because every real issue showed up there first.
What I’d build next
Add a booking link to the plan once I set up a calendar, send a short follow-up if a brief gets no reply in a few days, and add a simple dashboard to track which project types people ask for most.