๐Ÿ”ฌ Host a static HTML KPI dashboard from Google Sheets with CustomJS

โšก 819 views ยท ๐Ÿ”ฌ Document Extraction & Analysis

Description

Hosting a static HTML KPI dashboard with CustomJS

This workflow demonstrates how to automatically generate a weekly KPI dashboard from Google Sheets and host it as a live static HTML page using CustomJS.

Instead of manually building and updating dashboards, the workflow fetches KPI data, transforms it into JSON, and generates charts, tables, and KPI cards automatically. The hosted HTML page can be connected to a custom domain with one click.

The result is a fully interactive, production-ready KPI dashboard that updates weekly with minimal effort.


Why This Workflow?

Creating dashboards manually or passing raw sheet data to visualization tools is:

This workflow automates the process by converting sheet data into structured JSON and feeding it directly into a CustomJS HTML template, generating charts and tables automatically.


What This Workflow Does

All without manual intervention.


Key Features


How It Works

  1. Manual or Scheduled Trigger
    Run the workflow on demand or weekly

  2. Load Data from Google Sheets

    • Pull metrics for the desired period
    • Aggregate weekly or by channel
  3. Prepare Structured JSON
    Format sheet rows into structured JSON for the dashboard

  4. Generate HTML Dashboard
    Feed JSON into a CustomJS HTML template node
    Automatically builds KPI cards, charts, and tables

  5. Host Static HTML

    • Deploy instantly via CustomJS
    • Optional: connect a custom domain
    • Each update overwrites the previous dashboard
  6. Optional Enhancements

    • Generate QR codes for the dashboard link
    • Include multiple charts, historical trends, or multiple sheets

๐Ÿ”— Nodes Used

HTTP Request, Schedule Trigger, Extract from File

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup