AI-Powered Website-to-HubSpot Theme Converter
Overview
A production AI platform built for a HubSpot agency that converts any public website into a working HubSpot CMS theme. The system analyzes page structure and styling with an LLM, then generates HubL templates, modules, and theme fields automatically — cutting base theme setup from 3–4 days of manual development to under one hour, with a developer needing only one day for final polish. Outcome: Roughly three days saved per project; now running live in the client's production HubSpot agency workflow.
Architecture & Pipeline
flowchart LR
n0["Source Website URLAny public site"]
n1["Page Fetch & ParseHTML · DOM · CSS extraction"]
n2["LLM Structure AnalysisSections · components · styles"]
n3["HubL Template GenerationTemplates · modules · theme fields"]
n4["Theme AssemblyHubSpot CMS package"]
n5["FastAPI OrchestrationConversion pipeline API"]
n6["Developer Polish (~1 day)Production deploy"]
n0 --> n1
n1 --> n2
n2 --> n3
n3 --> n4
n4 --> n5
n5 --> n6
classDef step0 fill:#f1f5f9,stroke:#64748b,color:#1e293b,stroke-width:2px,rx:10,ry:10;
classDef step1 fill:#ecfeff,stroke:#06b6d4,color:#1e293b,stroke-width:2px,rx:10,ry:10;
classDef step2 fill:#f0fdfa,stroke:#0d9488,color:#1e293b,stroke-width:2px,rx:10,ry:10;
classDef step3 fill:#ecfdf5,stroke:#10b981,color:#1e293b,stroke-width:2px,rx:10,ry:10;
classDef step4 fill:#fffbeb,stroke:#f59e0b,color:#1e293b,stroke-width:2px,rx:10,ry:10;
class n0 step0;
class n1 step1;
class n2 step1;
class n3 step2;
class n4 step3;
class n5 step3;
class n6 step4;
End-to-end flow derived from this project's scope and tech stack. Tap View Fullscreen for a larger view, or scroll horizontally on small screens.
Key Features
- LLM-driven analysis of page structure and styling
- Automatic generation of HubL templates, modules, and theme fields
- FastAPI backend orchestrating the conversion pipeline
- Production-deployed in the client's HubSpot CMS workflow
- Reduces manual base-theme work from 3–4 days to under one hour
- Tech Stack:** Python, LLM, FastAPI, HubL, HubSpot CMS