All work

AutomationUS marketing agency

AI website chat widget with lead capture and booking

Result · Measured
2 brands live in 10 days (50 commits), then handed over to the agency's own Vercel account
Client
US marketing agency
Year
2025
Tools
JavaScriptVerceln8nGoHighLevelOpenAISupabase
Dashboard of the multi-tenant version of the widget: conversations, messages and response time (demo data, IDs blurred)
Redacted imageDashboard of the multi-tenant version of the widget: conversations, messages and response time (demo data, IDs blurred)Open full size ↗
01The problem

What was going wrong.

A US marketing agency wanted its clients' websites to answer visitors at any hour: answer the common questions, catch the lead, and book a call in GoHighLevel. It had to know each client's business, and API keys had to stay out of the browser.

02What I built

The build.

An embeddable AI chat widget:

  • JavaScript front end that drops onto any site, with FAQ buttons.
  • Vercel serverless API in the middle, so API keys stay server-side.
  • n8n AI back end with a separate knowledge base per client.
  • Human-handoff rules, lead capture and GoHighLevel booking.

In the same 10-day sprint I rebranded and launched it for one of the agency's financial-services clients, then transferred it to the agency's own Vercel account.

I later turned it into a multi-tenant product: brand-customisable, answers from each business's knowledge base using RAG with Supabase embeddings, and logs every conversation to an analytics dashboard. The screenshots are from that version, with demo data.

03How it works

The flow, start to finish.

  1. Site visitor
  2. Widget
  3. Serverless API
  4. N8n AI agent + client knowledge base
  5. Answer, lead capture or GoHighLevel booking
04From the build

A closer look.

Conversation log from the multi-tenant version, showing the AI agent answering a visitor (session IDs blurred)
Redacted imageConversation log from the multi-tenant version, showing the AI agent answering a visitor (session IDs blurred)Open full size ↗
05Result · Measured

What came out of it.

  • 2 brands live in 10 days, 50 commits.
  • Handed over to the agency's own Vercel account, so they own it.
  • Estimated 5-10 hours a week of first-touch conversations taken off the team (my estimate, not measured).
Say hello

Have a process like this one? Tell me about it.

Based in the Philippines (GMT+8), working with US, UK and AU teams.