← All AI systems10 of 14 · Run the business

Funnel Dashboard

The agency needed one place to see where its sales funnel leaks, instead of guessing from separate tools. This dashboard pulls ad, booking and payment data together, computes the standard funnel numbers in code, and names the single biggest bottleneck. The team also gets a daily table in a shared sheet.

daily6 steps1 use AI6 decisions
Starts when

Every day, with a sheet copy each morning around 7am.

what it buys me

Replaces gut feel with a daily, code-computed view of the one funnel stage to fix next, behind a team-only login.

17 hand-worked engine tests pass · Totals checked against known monthly figures and matched
how it flows · runs left to right
RulebookThe teamOutside toolAIAI stepdecision
01

AI used
◆ Decision

Step by step

  1. 01
    Pull ad dataRulebook

    Daily ad spend, impressions and link clicks are read from the Meta ad account.

    AI used
    None (plain code with an API token; not the Meta Ads connector)
    ◆ Decision
    Missing days are flagged before any maths.
    Meta Marketing API
  2. 02
    Pull bookingsRulebook

    Booked calls, shows and closes are read from the CRM calendars and sales pipeline by call date.

    AI used
    None (plain code)
    ◆ Decision
    Rule: nobody marks Showed in the calendar, so shows and closes come from the pipeline stage.
    GoHighLevel
  3. 03
    Pull paymentsRulebook

    New-customer cash is read from the payments platform, netted for refunds, with repeat buyers separated from new ones. Bank transfers come from a manual QuickBooks export.

    AI used
    None (plain code). The finance tab's snapshots are refreshed through the QuickBooks connector in a Claude chat.
    ◆ Decision
    Rule: every new buyer counts as funnel cash unless manually overridden; repeat buyers are detected by company domain and age.
    WhopQuickBooks export
  4. 04
    Run the engineRulebook

    A tested engine checks the data first, then compares each rate with its normal range to name one bottleneck, such as show rate or cost per click.

    AI used
    None (deterministic code with hand-worked tests; no AI)
    ◆ Decision
    Code rule picks the single weakest step in the funnel; data that fails sanity checks is flagged first.
    TypeScriptCloudflare D1 (SQL)
  5. 05
    Fix listThe team

    A live Fix page lists data problems such as stale deals or buyers to confirm. The team resolves them there.

    AI used
    None (human)
    ◆ Decision
    A person confirms or overrides each item; overrides feed the next run.
    Cloudflare WorkerCloudflare Access login
  6. 06
    Daily sheet syncOutside tool

    Each morning a scheduled Claude task copies the last 45 days of daily counts into the team's Google Sheet, where formulas show the daily dashboard.

    AI used
    A scheduled Claude Code task using the Google Sheets connector (model:; it is a mechanical job). The numbers come from a script.
    ◆ Decision
    It writes only the exact values the script prints and then checks for sheet errors. On failure it reports and stops; it does not write partial data.
    Scheduled taskGoogle Sheets
Pieces involvedMeta Marketing APIGoHighLevelWhopQuickBooksCloudflare WorkersCloudflare D1 (SQL)Cloudflare AccessGoogle SheetsAirtable
Airtable

Airtable is the database for this system's business records: clients, batches and research. Steps read from it and write back to it.

Cloudflare SQL

SQL on Cloudflare (D1) stores this system's high-volume data, like tracked visits and daily funnel numbers, and the results the dashboard computes.