{"product_id":"n8n-workflow-claude-gmb-one-page-site-generator-publisher","title":"n8n Workflow: Claude GMB One-Page Site Generator \u0026 Publisher","description":"\u003ch3\u003eTurn a business brief into a live, one-page website—then publish it to a Hostinger subdomain\u003c\/h3\u003e\n\u003cp\u003eThis n8n workflow uses a Chat UI with OpenRouter (Claude Sonnet) to generate and iteratively edit a complete \u003cstrong\u003eone-page local business\u003c\/strong\u003e website, serve an instant HTML preview, and publish the approved version to a \u003cstrong\u003eHostinger subdomain\u003c\/strong\u003e—while archiving every version to \u003cstrong\u003en8n Data Table\u003c\/strong\u003e, \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e, and \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/p\u003e\n\n\u003ch3\u003eWhat this workflow does\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eIntake + routing:\u003c\/strong\u003e Receives a message in the n8n Chat UI, then uses OpenRouter (Claude Sonnet) to extract a business brief and decide whether to respond, build the site, or publish.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eGenerate or edit index.html:\u003c\/strong\u003e On build\/update, it loads the latest saved HTML for the current chat session and asks Claude Sonnet to create a complete \u003ccode\u003eindex.html\u003c\/code\u003e (or apply edits).\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eClean HTML, create preview, version it:\u003c\/strong\u003e Cleans the model output into raw HTML, generates a preview URL, and saves a new version (with status) to an n8n Data Table.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eArchive + logging:\u003c\/strong\u003e Stores the generated HTML in Google Drive and appends a run log (including the preview URL and Drive link) to Google Sheets.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLive preview endpoint:\u003c\/strong\u003e Serves \u003ccode\u003eGET \/preview\/:siteId\u003c\/code\u003e by loading the latest HTML from the Data Table, injecting a fixed “Publish Live\/Update Website” bar, and returning the page as \u003ccode\u003etext\/html\u003c\/code\u003e.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003ePublish to Hostinger:\u003c\/strong\u003e Handles \u003ccode\u003ePOST \/publish\/:siteId\u003c\/code\u003e by creating a Hostinger subdomain via API, uploading HTML via FTP, updating the Data Table to “deployed” with the live URL, and returning a JSON confirmation.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eUse cases\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eFast creation of one-page websites for local services (e.g., clinics, salons, contractors) with iterative approvals.\u003c\/li\u003e\n  \u003cli\u003eSaaS operations teams generating landing pages from customer briefs with a transparent preview → publish flow.\u003c\/li\u003e\n  \u003cli\u003eAutomation engineers needing versioned HTML publishing with audit logs across Data Table, Drive, and Sheets.\u003c\/li\u003e\n\u003c\/ul\u003e\n\n\u003ch3\u003eTechnical details\u003c\/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\n\u003cstrong\u003eLLM:\u003c\/strong\u003e OpenRouter (Claude Sonnet) for business brief extraction and \u003ccode\u003eindex.html\u003c\/code\u003e generation\/editing.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eWorkflow nodes\/tools:\u003c\/strong\u003e Chat UI, \u003cstrong\u003ewebhook\u003c\/strong\u003e, \u003cstrong\u003eswitch\u003c\/strong\u003e, \u003cstrong\u003ecode\u003c\/strong\u003e, \u003cstrong\u003eset\u003c\/strong\u003e, \u003cstrong\u003edata table\u003c\/strong\u003e, and \u003cstrong\u003eftp\u003c\/strong\u003e for Hostinger upload.\u003c\/li\u003e\n  \u003cli\u003e\n\u003cstrong\u003eStorage + reporting:\u003c\/strong\u003e Archives HTML to \u003cstrong\u003eGoogle Drive\u003c\/strong\u003e and logs runs to \u003cstrong\u003eGoogle Sheets\u003c\/strong\u003e.\u003c\/li\u003e\n\u003c\/ul\u003e","brand":"N8N Commerce","offers":[{"title":"Default Title","offer_id":45822091198643,"sku":"N8N-18080","price":73.99,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0749\/6279\/6723\/files\/EbBHAIstRBNtVuyvtIlXj_bQKXgRZK.png?v=1786525723","url":"https:\/\/buyflowscripts.com\/products\/n8n-workflow-claude-gmb-one-page-site-generator-publisher","provider":"N8N Commerce","version":"1.0","type":"link"}