AI SDK + AI Gateway
Turn a short business brief into an editable draft. The schema checks structure, Gateway can try fallback models, and a clearly labeled template keeps onboarding usable if generation fails.
Customer walkthrough · Lone Star Local Marketing (demo agency)
One multi-tenant Vercel app replaces a separate site stack for each client. AI drafts each site from the owner's answers, and every quote request runs a durable follow-up until someone calls back.
Fictional showcase. Use sample business and contact details only.
1 · What you told me
Copy, page-builder setup and DNS per client. The agency can't onboard faster than its slowest designer.
A new phone number or seasonal promo means signing in to one of ~20 separate sites and hoping nothing else breaks.
A 9 PM quote request waits until someone checks a shared inbox. A lead that waits a day is often a lost job, and the ad spend that bought it is wasted.
Contact forms fill with bots, so owners stop trusting the inbox at all.
Illustrative, not measured: Five delayed quote requests × a 20% close rate × $1,000 per job puts $1,000 in potential revenue at risk.
“When a homeowner fills out a quote form at 9 PM, who sees it, and how long until someone calls them back?”
2 · Today's stack and the target boundary
Every edit is a login per site. Nothing tracks whether a lead was called.
A new client gets a site in the shared app, not a separate project.
3 · Product choices
Turn a short business brief into an editable draft. The schema checks structure, Gateway can try fallback models, and a clearly labeled template keeps onboarding usable if generation fails.
One app hosts many businesses. Publish invalidates only the edited tenant’s content; other sites retain their cache. The owner—not the model—decides what goes live.
Save the quote, notify the owner in-app, sync to the external CRM, and wait for follow-up. Retries and the contacted callback live in the workflow rather than a cron-driven state machine.
Supporting pieces: Routing Middleware, Global Config with a database fallback, Postgres, BotID and Firewall. Storage and custom domains are outside the live walkthrough.
4 · Live demo
Start a sandbox with fictional business details. Check whether the editor labels the draft as model-generated or a template.
Publish, edit one detail, and compare the updated site with the unchanged second business.
Submit fictional contact details, then look for the same CRM receipt ID in the agency dashboard and external mock.
Wait for the short demo timer, look for Overdue, then mark the lead contacted. Rehearse CRM failure separately, not against the shared demo.
5 · Rollout, measures and limits
Every change ships to a preview deployment first; we check the two demo businesses and run the quote flow end to end.
One real client on a platform subdomain, built from their current content. Their old site stays live; leads go to both.
Point that client's domain at Vercel. The old site stays up for a week as a fallback.
Move the rest in batches of five, quietest clients first.
Repoint DNS or remove the domain. Keep the lead store intact and reconcile pending or failed CRM receipts before declaring the rollback complete.
Demo counters are not pilot results. Start with three pilot customers over 30 days. Production identity, tenant-owned domains, CRM replay and business analytics are follow-on work. AI validation: check the schema, verify the model/template label, and review claims before publishing.