AutoBlocksCalm automation for everyday life

Routes and navigation

Source of truth: apps/marketing-web/src/app/, apps/product-web/src/app/, apps/api/src/modules/*/routes.ts, packages/user-docs/src/corpus.ts.

AutoBlocks uses two public domains. Marketing teaches and converts; product runs your account.


Domain summary

DomainApp packageAuth requiredPrimary nav
autoblocks.proapps/marketing-webNoHome, Pricing, Docs, Changelog
autoblocks.runapps/product-webYes (most routes)AutoBlocks, Templates, Activity, Billing, Settings
api.autoblocks.runapps/apiVaries by endpoint

Marketing routes (autoblocks.pro)

PathPage / handlerAuthDescription
/app/page.tsxNoHome — value prop, CTAs to trial
/pricingapp/pricing/page.tsxNoStarter/Plus comparison, billing toggle
/docsapp/docs/page.tsxNoDocs index — links to article slugs
/docs/[slug]app/docs/[slug]/page.tsxNoIndividual help articles from packages/user-docs
/changelogapp/changelog/page.tsxNoProduct changelog
/legal/privacyapp/legal/privacy/page.tsxNoPrivacy policy
/legal/termsapp/legal/terms/page.tsxNoTerms of service
/legal/disclaimerapp/legal/disclaimer/page.tsxNoDisclaimer
/loginapp/login/route.tsNoRedirect → autoblocks.run/login
/bookapp/book/route.tsNoRetired — redirects to /docs

Marketing nav component: apps/marketing-web/src/components/marketing-nav.tsx.

Nav itemhrefExternal
Home/
Pricing/pricing
Docs/docs
Changelog/changelog
Appproduct rootYes → autoblocks.run
Log inproduct loginYes
Start trialproduct signupYes

Product routes (autoblocks.run)

PathPageAuthDescription
/app/page.tsxRedirectSends authenticated users to dashboard
/signup(auth)/signup/page.tsxNoCreate account + start trial
/sign-upsign-up/page.tsxNoAlias route to signup
/login(auth)/login/page.tsxNoSign in
/onboardingonboarding/page.tsxYesFirst-run wizard — template or AI path
/routines(dashboard)/routines/page.tsxYesAutoBlock list
/routines/new(dashboard)/routines/new/page.tsxYesCreation wizard; ?template= and ?ai=1 query params
/routines/[id](dashboard)/routines/[id]/page.tsxYesDetail, edit, manual run
/templates(dashboard)/templates/page.tsxYesTemplate library
/templates/[slug](dashboard)/templates/[slug]/page.tsxYesTemplate detail → create from template
/activity(dashboard)/activity/page.tsxYesExecution history
/billing(dashboard)/billing/page.tsxYesPlan, trial, usage, checkout
/settings(dashboard)/settings/page.tsxYesAccount, theme, notifications, inbox

Dashboard nav: apps/product-web/src/components/dashboard-nav.tsx.

Nav itemhref
AutoBlocks/routines
Templates/templates
Activity/activity
Billing/billing
Settings/settings

Key API routes (api.autoblocks.run)

MethodPathAuthPurpose
GET/healthNoHealth check
POST/auth/sign-upNoRegister
POST/auth/sign-inNoLogin
POST/auth/sign-outYesLogout
GET/auth/sessionYesCurrent user + tenant
GET/routinesYesList AutoBlocks
POST/routinesYesCreate AutoBlock
POST/routines/:id/executeYesManual run
GET/executionsYesActivity feed
POST/hooks/:pathTokenNo*Inbound webhook trigger
GET/billing/plansNoPublic plan catalog
POST/tenants/:id/billing/checkoutYesStripe checkout session
POST/help/chatNoPublic help chat (marketing widget)
POST/tenants/:id/ai/draftYesAI draft routine
POST/tenants/:id/ai/refineYesAI refine draft
POST/tenants/:id/ai/repairYesAI repair suggestion
POST/tenants/:id/ai/explainYesAI explain routine

*Webhook auth is the secret path token, not a user session.


Cross-site journey

flowchart LR
  subgraph pro [autoblocks.pro]
    Home["/"]
    Pricing["/pricing"]
    Docs["/docs"]
    Help["Help chat"]
  end

  subgraph run [autoblocks.run]
    Signup["/signup"]
    Onboard["/onboarding"]
    Routines["/routines"]
    Billing["/billing"]
  end

  Home -->|"Start trial"| Signup
  Pricing -->|"Start trial"| Signup
  Docs --> Signup
  Help --> Docs
  Signup --> Onboard
  Onboard --> Routines
  Routines --> Billing

Legacy and redirects

Old / alternate pathBehavior
autoblocks.pro/loginRedirect to autoblocks.run/login
autoblocks.pro/bookRedirect to autoblocks.pro/docs (book a call removed)
autoblocks.run/sign-upSignup alias

Query parameters (product)

RouteParamEffect
/routines/newtemplate={slug}Pre-select template from catalog
/routines/newai=1Open AI-guided creation path

Template slugs live in packages/template-catalog/src/index.ts (e.g. morning-summary, webhook-forwarder).


Local development URLs

ServiceURLPackage
Marketinghttp://localhost:3000@routines/marketing-web
Producthttp://localhost:3002@routines/product-web
APIhttp://localhost:4000@routines/api
Worker healthhttp://localhost:4001/health@routines/worker

Related reading