Wróć do portfolioBack to portfolio
Live · działa na tej stronie

AI Lead Qualifier — automatyczna kwalifikacja leadów

Formularz kontaktowy, który sam analizuje zapytanie, szacuje czas realizacji i przygotowuje pytania startowe — zanim ktokolwiek przeczyta wiadomość. Ten sam system stoi za formularzem kontaktowym na tej stronie.

Problem

Każde zapytanie od potencjalnego klienta wymagało ręcznego przeczytania, oceny czy w ogóle nadaje się do automatyzacji, oszacowania z grubsza czasu realizacji i wymyślenia pytań doprecyzowujących — zanim w ogóle dało się odpisać. Przy większej liczbie zapytań to właśnie ten pierwszy research, a nie sama rozmowa z klientem, zjadał najwięcej czasu.

Co zbudowałem

Formularz na stronie głównej, który po wysłaniu trafia do webhooka n8n. AI (Groq, model Llama 3.3-70b) analizuje opis problemu i w czasie rzeczywistym generuje: ocenę czy zgłoszenie nadaje się do automatyzacji, szacowany czas realizacji, główną korzyść dla klienta oraz listę pytań, które trzeba zadać na starcie współpracy. Wynik trafia od razu na ekran osoby wypełniającej formularz — więc widzi wstępną analizę swojego zapytania, zanim jeszcze ja je przeczytam. Każdy lead zapisuje się też do arkusza Google Sheets jako prosta baza CRM.

Szczegóły techniczne

Webhook n8n przyjmuje dane z formularza, parsuje treść i wysyła zapytanie do Groq API ze strukturalnym promptem wymuszającym konkretny format odpowiedzi (ocena, czas, korzyść, pytania). Odpowiedź jest formatowana i zwracana bezpośrednio do przeglądarki użytkownika w tej samej sesji — bez przeładowania strony. Równolegle lead zapisuje się (append/update) do arkusza Google Sheets, żeby nic nie ginęło nawet bez dalszej automatyzacji mailowej.

n8n (self-hosted) Groq API (Llama 3.3-70b) Google Sheets backend Structured LLM output Gmail notifications

Wynik

Wstępna kwalifikacja i wycena czasowa leada — natychmiast, zamiast po kilku godzinach ręcznego researchu.

Zrzuty ekranu

Live · running on this site

AI Lead Qualifier — automated lead qualification

A contact form that analyses the enquiry itself, estimates delivery time, and prepares onboarding questions — before anyone has read the message. This is the exact system behind the contact form on this site.

The problem

Every enquiry from a potential client required manually reading it, judging whether it was even a good fit for automation, roughly estimating delivery time, and coming up with clarifying questions — before a reply could even be drafted. At higher volume, this upfront research, not the actual client conversation, ate up the most time.

What I built

A contact form on the homepage that submits to an n8n webhook. AI (Groq, Llama 3.3-70b) analyses the enquiry in real time and generates: whether the request is a good fit for automation, an estimated delivery time, the main benefit for the client, and a list of onboarding questions to ask before starting. The result appears directly on the submitter's screen — so they see a preliminary analysis of their own enquiry before I've even read it. Every lead is also written to a Google Sheet as a simple CRM.

Technical highlights

An n8n webhook accepts the form payload, parses it, and sends a request to the Groq API with a structured prompt forcing a specific response shape (fit assessment, timeline, benefit, questions). The response is formatted and returned directly to the user's browser in the same session — no page reload. In parallel, the lead is appended/updated in a Google Sheet, so nothing gets lost even without further email automation.

n8n (self-hosted) Groq API (Llama 3.3-70b) Google Sheets backend Structured LLM output Gmail notifications

Result

Instant preliminary lead qualification and time estimate, instead of hours of manual research.

Screenshots

AI Lead Qualifier — contact form with live AI-generated analysis, timeline estimate and onboarding questions
Formularz kontaktowy z analizą AI wygenerowaną na żywo, tuż po wysłaniu
Contact form with AI analysis generated live, right after submission
n8n automation workflow: webhook, parse body, Groq API call, format response, Gmail notification and Google Sheets logging
Silnik automatyzacji (n8n) — webhook, wywołanie Groq, formatowanie odpowiedzi, powiadomienie Gmail i zapis do arkusza
Automation engine (n8n) — webhook, Groq call, response formatting, Gmail notification and sheet logging
Chcesz podobny system? Napisz → Want something similar? Get in touch →