Workflow Automation · AI Agents

B2B Agency Automation

Outbound Agency Automation Platform. The full backend for a hybrid inbound and outbound B2B agency: client CRM sub-accounts, LinkedIn and email outreach routing, self-serve signup, reporting and monitoring.

Industry
B2B marketing agency
Type
Client project
Scope
11 systems built · 14 tools
Client onboarding launchpad with a 12-step checklist inside the CRM

Overview

One pipeline, fully automated.

The client is a B2B agency that combines inbound and outbound marketing into one pipeline for its clients. Kode X Labs built the full backend behind it, including the client hub that every one of its customers works in.

  • GoHighLevel
  • n8n
  • Supabase
  • Next.js
  • Vercel
  • Stripe
  • HeyReach
  • Smartlead
  • Claude API
  • DuckDB
  • JustCall
  • Clay
  • PagerDuty
  • Slack
  • Google Docs

What we built

  1. 01

    Client Launchpad

    A 12-step onboarding checklist that opens as the default screen in every client’s GoHighLevel sub-account, with add-on upsells (AI chat, cold email and LinkedIn outreach).

  2. 02

    Self-serve signup

    A seven-step wizard that takes payment in Stripe, then sets up the GoHighLevel sub-account, HeyReach workspace and Smartlead campaign automatically, with abandonment alerts and follow-up.

  3. 03

    Client stats dashboard

    LinkedIn and cold email results per client, synced from HeyReach and Smartlead into Supabase and embedded in the GoHighLevel sidebar.

  4. 04

    AI account assistant

    An AI assistant inside the CRM, built on Claude in n8n. It looks up the client’s plan and a knowledge base refreshed from a Google Doc, opens a Stripe checkout for upgrades and escalates to the team in Slack when needed.

  5. 05

    AE Visibility Hook Engine

    Scrapes prospect homepages, classifies them with Claude, runs a search visibility audit and writes personalised call hooks into the dialer and GoHighLevel, in batches of 3,600+ rows queried with DuckDB.

  6. 06

    AI reply classification

    LinkedIn replies are classified by intent with Claude; high-intent replies become GoHighLevel opportunities, the rest are routed to Smartlead and stopped in HeyReach.

  7. 07

    Outreach routing in n8n

    A category router that sends Smartlead email replies into GoHighLevel with contacts, tags and conversations, plus Clay webhook leads and JustCall call events matched by phone number with automatic opportunity creation.

  8. 08

    Pulse

    A standalone multi-tenant reliability console with a 16-table Supabase schema, collectors for n8n, Smartlead, HeyReach and GoHighLevel, and scheduled checks with pg_cron.

  9. 09

    Monitoring and alerts

    The Watchtower, a Slack-based alert system with deduplication, PagerDuty wired into n8n error workflows, and bot versus human detection for email opens.

  10. 10

    Commission tracking

    Per-caller attribution through dedicated calendars, built on JustCall, GoHighLevel, n8n and Google Sheets.

  11. 11

    Business assessment

    An AI business assessment with scoring, branded report emails and score-based pipeline routing.

Screens

Next case studyDental AI Diagnostic ->AI Diagnostic and Onboarding Engine
Want something like this?Tell us what you want to build or automate.
Book a free call ->