Knowledge > System Architecture > Routes Catalog
Routes Catalog — churchwiseai-web
The churchwiseai-web codebase serves multiple brands via hostname rewrites in middleware.ts:
- churchwiseai.com — base hostname
- sermonwise.ai →
/sermons/* - sharewiseai.com →
/social/* - wiseaiagency.com →
/wiseaiagency/* - funeralwiseai.com →
/funeralwiseai/* - veterinarywiseai.com →
/vetwiseai/* - {slug}.john316.church →
/s/[slug]
Routes derivable from src/app/<route>/page.tsx are not all listed here — only those with non-obvious behavior (subdomain rewrite, token gating, lifecycle rules, lens-gating, etc.).
ChurchWiseAI core
| Route | Purpose |
|---|---|
/ | Homepage (hero, products, trust, CTA) |
/voice, /chatbot, /pricing, /care, /demo | Product marketing pages |
/integrations, /integrations/[slug] | Partners grid + detail |
/compare/[slug] | Competitor comparison |
/ai-for/[denomination] | Denomination SEO pages (param appears as [lens] in code) |
/apps | App marketplace (Coming Soon cards) |
/contact, /book, /thank-you | Lead capture |
/blog, /blog/[slug] | Blog |
/about, /privacy, /terms, /refund-policy, /ai-safety, /ethics, /security, /hear, /resources | Static |
/admin/[token] | Full church admin dashboard (Overview/Calls/Requests/Care/Settings/Upgrade) — admin_token gated |
/onboard | New church onboarding (Stripe checkout → provision → magic link email) |
/founder/[token] | Founder-only internal dashboard (metrics, watchtower, outreach, QA) — FOUNDER_TOKEN gated |
/founder/[token]/morning-brief | Daily Morning Brief composed at 7am Toronto by /api/cron/morning-brief-compose. P0/P1 counts, customer count, founder action items. Emailed to john@churchwiseai.com. |
/founder/[token]/daily-ops | (1) GSC manual-indexing: curated URL queue + rolling-24h global quota dial (GSC cap is per-Google-account, not per-property — see gsc_url_suggestions/gsc_indexing_submissions); (2) social-media post queue per property+platform+day with auto-rendered branded LinkedIn PNG (/api/og/social/[id]). |
/founder/[token]/outreach-engine | Outreach Engine dashboard — campaign list, funnel metrics, prospect timeline, manual actions. Phase 5 scrape-and-demo engine admin UI. |
/test/chatbot | Chatbot test lab (founder token-gated) |
Pro Website
| Route | Purpose |
|---|---|
/s/[slug] | Pro Website public renderer (ISR, accessed via {slug}.john316.church subdomain) |
/s/[slug]/[page] | Multi-page Pro Website extra page (About/Ministries/Sermons/Contact/blank). ISR, SimplePageTemplate + BlockRenderer. Up to 8 per site. See knowledge/acceptance/pro-website-multipage.md. |
/s/[slug]/privacy, /s/[slug]/terms | Per-church privacy/terms (rendered under Pro Website subdomain) |
/pro-website | Marketing landing page (sells the standalone $19.95/mo product) |
/p/[token] | Outreach short-link resolver — stamps pro_website_clicked_at, 302s to /preview/[slug]?ref=outreach_{token}. See knowledge/flows/cold-outreach-no-website-pro-website.md. |
/preview/[slug] | Cold-outreach landing preview — 3-template switcher, share-with-board button, no-chatbot/no-custom-hero, 30-day lifecycle, deep-links to /onboard for activation. noindex. |
/help/pro-website | Customer-facing help doc |
Living Word (gamified Bible curriculum)
| Route | Purpose |
|---|---|
/living-word | 2D Bible adventure prototype (scenes, scribes, quests, XP, theological lenses). Live-ops 2026-05-24: in-HUD liturgical calendar chip + CalendarEventModal — three-feast default (Christmas/Easter/Pentecost); lens-gated Advent/Lent/Christ the King for Catholic/Orthodox/Anglican/Lutheran/Methodist. |
/living-word/about | Backstory, methodology, team, philosophy, contact. Phase-1A lead-gen surface (PR #559). |
/living-word/educator | UGC Phase 1A. Lists educator's quizzes with status badges (draft / submitted / checking / auto_approved / editorial_review / rejected / published / retired). Layout-gated by paid educator tier. See knowledge/acceptance/living-word-ugc-phase1.md. |
/living-word/educator/new | Kahoot-style single-screen quiz creator. Live linter (regex + scripture + reading-level). Save-as-draft or submit-for-review. |
/living-word/educator/[id]/edit | Edit draft/submitted/rejected quiz. Published quizzes are immutable (spec §9). |
/living-word/educator/preview | Student-view preview of educator's published quizzes (read-only). |
/from-living-word | ChurchWiseAI lead-gen landing for Living Word players. All in-game CTAs (footer, scene-completion bloom, NPC chat-close, Legacy Bloom finale) route here with UTM tagging. |
/from-living-word/educator | Educator authoring upsell landing — the redirect target when an unauth or ineligible user hits /living-word/educator. Surfaces the three planned educator tiers ($79/$299/$999/yr), seminary fast-track, EducatorEarlyListForm, and sign-in path. |
SermonWise + ShareWise (hostname rewrites)
| Route | Purpose |
|---|---|
/sermons/* | SermonWise AI app (sermonwise.ai hostname rewrite) |
/social | ShareWiseAI marketing page (sharewiseai.com hostname rewrite) |
/social/pricing | ShareWiseAI pricing (Free/Pro/Business/Agency) |
/social/app/* | ShareWiseAI app (dashboard, compose, calendar, analytics, campaigns, library, platforms, settings, ai-advisor) |
WiseAI Agency hub (wiseaiagency.com rewrite)
| Route | Purpose |
|---|---|
/wiseaiagency | Meta-brand home — parent/tech/trust brand for the vertical family |
/wiseaiagency/verticals | All vertical brands directory |
/wiseaiagency/technology | LiveKit voice, multi-agent orchestration, HEAR protocol, per-vertical training |
/wiseaiagency/playground | Phase 4c Demo Playground — product (chatbot/voice) × vertical (funeral, vet, dental, restaurant, law, real estate) live demos |
/wiseaiagency/about, /contact, /privacy, /terms, /security | Hub-scoped pages |
/wiseaiagency/[city] | Local SEO landing — ingersoll, london-ontario, woodstock, tillsonburg. JSON-LD LocalBusiness schema. Target Oxford / SW Ontario. |
/wiseaiagency/pricing | Hub-level cross-vertical pricing comparison. USD/CAD toggle defaults by Vercel geo-IP. Display-only; checkout on each vertical's own pricing page. |
/wiseaiagency/skills | Cross-vertical prompt-pack marketplace (Pastor + Funeral Director packs). Paste-into-AI prompts — NOT Claude Code skills (audience pivoted 2026-05-15). |
/wiseaiagency/ai-front-desk | Local Business Platform Lane 3 offer — $1,245 setup + $295/mo. Voice agent + chatbot + lead capture + intake/follow-up. Not yet linked in nav (founder review pending). |
/wiseaiagency/missed-lead-recovery | Lane 3 — $745 setup + $145/mo. Shared lead inbox + status pipeline + 24h reminders. Not yet linked. |
/wiseaiagency/review-engine | Lane 3 — $295 setup + $95/mo. Email/SMS Google-review requests with private-feedback routing for unhappy customers. Not yet linked. |
/wiseaiagency/local-authority | Lane 3 — $1,995 setup + $495/mo. AI Front Desk + Review Engine + monthly reporting + local SEO content. Not yet linked. |
/business/[token] | Local Business Platform customer dashboard (wiseaiagency.com hostname). Per-business admin_token gated; tabbed shell (Overview/Leads/Follow-ups/Review Requests/Setup/Modules/Monthly Report) module-gated; non-entitled tabs shown disabled-as-upsell. Token-link only — no public login. noindex. |
/r/[token] | Local Business Platform private-feedback landing (wiseaiagency.com). Unhappy-path of Review Engine — star-rating + feedback form, creates review_feedback lead, alerts owner. Never shows/redirects to Google. noindex. |
/intake/[slug] | Local Business Platform public lead-intake form (wiseaiagency.com). Per-business keyed by local_businesses.slug; submission creates a form-source lead. Rate-limited + BotID soft-gate. noindex. |
/embed/brand | Iframe-hosted brand sales chatbot (Phase 4a) — loaded by public/embed/churchwiseai-widget.js when data-brand-scope is set. Talks to /api/chatbot/unified with brand param. noindex. |
FuneralWiseAI (funeralwiseai.com rewrite)
| Route | Purpose |
|---|---|
/funeralwiseai | Home — first new commercial vertical (AI answering for funeral homes) |
/funeralwiseai/how-it-works | HEAR protocol, call flow, integration, privacy |
/funeralwiseai/pricing | $745 USD / $995 CAD setup + $199 USD / $249 CAD per month. Setup revised 2026-05-02 per knowledge/decisions/2026-05-02-vertical-setup-pricing-revision.md. |
/funeralwiseai/about, /book | Founder pastoral story; demo request form |
/funeralwiseai/checkout | Self-serve checkout — USD/CAD + email/name form, POSTs to /api/stripe/funeral-checkout. Sales-led demo at /book remains primary CTA. noindex. |
/funeralwiseai/thank-you | success_url target from /api/stripe/funeral-checkout. Reads session_id + source. Subdued (not celebratory) confirmation, 24-hour white-glove follow-up promise. noindex. |
/funeralwiseai/skills | Funeral Director Prompt Pack index — 5 free MIT-licensed paste-into-AI prompts. Email-gated via EmailGate → /api/newsletter with tag skill-pack-funeral. Drip from MailerLite automation 187733617933288772. Faith-neutral default; HEAR-anchored; trauma-informed cause-of-death language. Slate + copper + bone brand. |
/funeralwiseai/skills/[slug] | Individual prompt page — monospace <pre> PromptBlock with Copy. Pack-level localStorage unlock (wiseai-skill-unlocked:skill-pack-funeral); drip-email links carry ?u=skill-pack-funeral for cross-device unlock. |
/funeralwiseai/funeral-home-answering-service, /after-hours-answering-service-funeral-homes, /ai-receptionist-for-funeral-homes, /asd-alternative | SEO landing pages (keyword targets / ASD competitor comparison) |
/funeralwiseai/resources, /resources/first-call-script, /resources/first-call-intake-checklist, /resources/after-hours-price-calls, /resources/funeral-price-call-script, /resources/funeral-rule-phone-checklist, /resources/what-to-ask-when-someone-dies-at-home | Free guides, scripts, checklists for funeral-home phone handling |
/funeralwiseai/tools/missed-call-calculator | Interactive missed-call revenue-loss calculator |
VetWiseAI (veterinarywiseai.com rewrite)
| Route | Purpose |
|---|---|
/vetwiseai | Home — second commercial vertical. Full marketing site shipped Phase 4 #8. |
/vetwiseai/how-it-works | HEAR protocol + ASPCA Poison Control triage |
/vetwiseai/pricing | $745 setup + $199/mo (Starter) or $299/mo (Pro). USD/CAD toggle |
/vetwiseai/about, /book | About + demo request form (POSTs to /api/contact source=vetwiseai) |
/vetwiseai/checkout | Tier selector (Starter/Pro) + USD/CAD, POSTs to /api/stripe/vet-checkout. noindex. |
/vetwiseai/thank-you | success_url target from /api/stripe/vet-checkout. ASPCA Poison Control + DVM on-call rotation noted in next-steps. noindex. |
Prompt Packs (churchwiseai.com)
| Route | Purpose |
|---|---|
/skills | Pastor AI Prompt Pack index — 7 free MIT-licensed prompts. Email-gated → /api/newsletter tag skill-pack-church. Drip from MailerLite automation 187733559994221623. AI Bridge anchored; tradition-aware (17 traditions); voice-checked banned-phrase enforcement. Sacred gold + navy + cream brand. Audience pivoted 2026-05-15 from Claude Code skills to paste-into-chat AI prompts. Archived Claude Code skill content remains at content/skill-packs/. |
/skills/[slug] | Individual prompt page — PromptBlock with Copy. Pack-level localStorage unlock (wiseai-skill-unlocked:skill-pack-church); drip-email ?u=skill-pack-church for cross-device unlock. |