Skip to main content

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

RoutePurpose
/Homepage (hero, products, trust, CTA)
/voice, /chatbot, /pricing, /care, /demoProduct marketing pages
/integrations, /integrations/[slug]Partners grid + detail
/compare/[slug]Competitor comparison
/ai-for/[denomination]Denomination SEO pages (param appears as [lens] in code)
/appsApp marketplace (Coming Soon cards)
/contact, /book, /thank-youLead capture
/blog, /blog/[slug]Blog
/about, /privacy, /terms, /refund-policy, /ai-safety, /ethics, /security, /hear, /resourcesStatic
/admin/[token]Full church admin dashboard (Overview/Calls/Requests/Care/Settings/Upgrade) — admin_token gated
/onboardNew church onboarding (Stripe checkout → provision → magic link email)
/founder/[token]Founder-only internal dashboard (metrics, watchtower, outreach, QA) — FOUNDER_TOKEN gated
/founder/[token]/morning-briefDaily 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-engineOutreach Engine dashboard — campaign list, funnel metrics, prospect timeline, manual actions. Phase 5 scrape-and-demo engine admin UI.
/test/chatbotChatbot test lab (founder token-gated)

Pro Website

RoutePurpose
/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]/termsPer-church privacy/terms (rendered under Pro Website subdomain)
/pro-websiteMarketing 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-websiteCustomer-facing help doc

Living Word (gamified Bible curriculum)

RoutePurpose
/living-word2D 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/aboutBackstory, methodology, team, philosophy, contact. Phase-1A lead-gen surface (PR #559).
/living-word/educatorUGC 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/newKahoot-style single-screen quiz creator. Live linter (regex + scripture + reading-level). Save-as-draft or submit-for-review.
/living-word/educator/[id]/editEdit draft/submitted/rejected quiz. Published quizzes are immutable (spec §9).
/living-word/educator/previewStudent-view preview of educator's published quizzes (read-only).
/from-living-wordChurchWiseAI 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/educatorEducator 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)

RoutePurpose
/sermons/*SermonWise AI app (sermonwise.ai hostname rewrite)
/socialShareWiseAI marketing page (sharewiseai.com hostname rewrite)
/social/pricingShareWiseAI 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)

RoutePurpose
/wiseaiagencyMeta-brand home — parent/tech/trust brand for the vertical family
/wiseaiagency/verticalsAll vertical brands directory
/wiseaiagency/technologyLiveKit voice, multi-agent orchestration, HEAR protocol, per-vertical training
/wiseaiagency/playgroundPhase 4c Demo Playground — product (chatbot/voice) × vertical (funeral, vet, dental, restaurant, law, real estate) live demos
/wiseaiagency/about, /contact, /privacy, /terms, /securityHub-scoped pages
/wiseaiagency/[city]Local SEO landing — ingersoll, london-ontario, woodstock, tillsonburg. JSON-LD LocalBusiness schema. Target Oxford / SW Ontario.
/wiseaiagency/pricingHub-level cross-vertical pricing comparison. USD/CAD toggle defaults by Vercel geo-IP. Display-only; checkout on each vertical's own pricing page.
/wiseaiagency/skillsCross-vertical prompt-pack marketplace (Pastor + Funeral Director packs). Paste-into-AI prompts — NOT Claude Code skills (audience pivoted 2026-05-15).
/wiseaiagency/ai-front-deskLocal 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-recoveryLane 3 — $745 setup + $145/mo. Shared lead inbox + status pipeline + 24h reminders. Not yet linked.
/wiseaiagency/review-engineLane 3 — $295 setup + $95/mo. Email/SMS Google-review requests with private-feedback routing for unhappy customers. Not yet linked.
/wiseaiagency/local-authorityLane 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/brandIframe-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)

RoutePurpose
/funeralwiseaiHome — first new commercial vertical (AI answering for funeral homes)
/funeralwiseai/how-it-worksHEAR 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, /bookFounder pastoral story; demo request form
/funeralwiseai/checkoutSelf-serve checkout — USD/CAD + email/name form, POSTs to /api/stripe/funeral-checkout. Sales-led demo at /book remains primary CTA. noindex.
/funeralwiseai/thank-yousuccess_url target from /api/stripe/funeral-checkout. Reads session_id + source. Subdued (not celebratory) confirmation, 24-hour white-glove follow-up promise. noindex.
/funeralwiseai/skillsFuneral 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-alternativeSEO 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-homeFree guides, scripts, checklists for funeral-home phone handling
/funeralwiseai/tools/missed-call-calculatorInteractive missed-call revenue-loss calculator

VetWiseAI (veterinarywiseai.com rewrite)

RoutePurpose
/vetwiseaiHome — second commercial vertical. Full marketing site shipped Phase 4 #8.
/vetwiseai/how-it-worksHEAR protocol + ASPCA Poison Control triage
/vetwiseai/pricing$745 setup + $199/mo (Starter) or $299/mo (Pro). USD/CAD toggle
/vetwiseai/about, /bookAbout + demo request form (POSTs to /api/contact source=vetwiseai)
/vetwiseai/checkoutTier selector (Starter/Pro) + USD/CAD, POSTs to /api/stripe/vet-checkout. noindex.
/vetwiseai/thank-yousuccess_url target from /api/stripe/vet-checkout. ASPCA Poison Control + DVM on-call rotation noted in next-steps. noindex.

Prompt Packs (churchwiseai.com)

RoutePurpose
/skillsPastor 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.