EL. Portfolio
Demo mode Starting…
Data Automation Engineer · Portfolio Project

Real-time Lead Pipeline Dashboard

An n8n workflow pulls ad spend from Meta Ads and Google Ads plus leads from GoHighLevel CRM. It cleans the messy data, joins leads to campaigns and returns the KPIs below. The dashboard polls the workflow's webhook, so every refresh is a fresh pipeline run.

Sample clients, campaigns and contacts are fictional. Demo mode runs the same pipeline code as the n8n workflow, inside your browser.

Real-world scenario
  • An agency runs paid ads for 3 local service clients: dental, auto care and plumbing.
  • Each platform reports its own lead count, CRM exports are messy, and nobody trusts the numbers.
  • This pipeline makes the CRM the source of truth and refreshes cost per lead, bookings and ROAS continuously.

Connect your n8n workflow

The URL is saved only in this browser.

Import lead-pipeline.workflow.json into n8n, activate it, then paste the webhook's Production URL (ending in /webhook/lead-pipeline-metrics).

Pipeline run

Extract → Clean → Transform → Analyze → Deliver

Last 24 hours

Deltas compare with the previous refresh

CRM leads per hour, by channel

Meta AdsGoogle AdsOrganic
Show as table

Leads by channel

CRM vs platform-reported

Paid funnel

Campaign performance

Click a column to sort

Ad spend per hour

Insights from the Analyze step

    Data cleaning

    What the Clean node fixed on this run

    Data quality score
    –

      Raw CRM record → clean record

      Samples from this run

      Live lead feed

      Newest CRM leads after cleaning

        Run log

        Each row is one webhook call

        The n8n workflow

        Download workflow JSON
        WebhookGET poll
        Extract: Meta Adsinsights by hour
        Extract: Google AdsGAQL report
        Extract: GHL CRMcontacts
        Mergeappend 3 inputs
        Cleandedupe · validate
        TransformUTM join · facts
        AnalyzeKPIs · insights
        RespondJSON + CORS

        How real-time updating works

        Dashboardsends GET to the webhook every 5–60 s
        n8nruns Extract → Clean → Transform → Analyze
        Respondreturns one JSON payload in under a second
        Dashboardre-renders, highlights new leads and KPI changes
        Paused tabpolling stops while the tab is hidden, saving executions

        Set it up in 5 steps

        1. Download the workflow JSON above.
        2. In n8n, open Workflows → Import from File.
        3. Activate the workflow. It runs on sample data with no credentials.
        4. Copy the webhook node's Production URL and paste it into Connect n8n.
        5. For real data, swap the 3 extract nodes for HTTP Request nodes to the Meta, Google Ads and HighLevel APIs, keeping the same output fields.

        Live JSON payload

        Waiting for first run…

        Suggested data sources

        Other pipelines to build with the same Extract → Clean → Transform → Analyze pattern