Score form leads in an n8n workflow Claude wrote from one prompt

An n8n builder had Claude write a lead workflow that rates leads with Gemini, logs them to Google Sheets and emails hot ones. It imported cleanly but broke six times before one hot lead arrived.

Done withn8nClaudeinn8nGeminiGoogle Sheets· Nov 25, 2026

What they did

Huzaifa_Aamish, who shares workflows from the Build Then Break YouTube channel, gave Claude one plain-English prompt for an n8n workflow: a lead form, an AI step that rates each lead Hot, Warm or Cold, a row in a Google Sheet, and an email alert plus a draft reply for Hot leads. Claude returned the full workflow as JSON, 8 connected nodes, which imported into a self-hosted n8n 2.42 with Gemini on the free tier. He then sent it a real lead.

How it went

It failed six times before one Hot lead reached him, while the form told the customer their response was recorded every time. n8n had silently attached an old test Gemini key on import. The model name Claude chose had been retired by Google. Gemini returned 503s with no retry, and with retry on, the run hung for over a minute and a half until he added a two-minute timeout and a lighter model. The sheet ID was a placeholder, and choosing the real sheet wiped all 8 column mappings. Finally everything ran green but the alert went to a placeholder address and bounced, and the draft was signed with a placeholder name. All six are fixed in a free template he published.

Worth knowing

After any AI-written workflow import, open every node and check its credential, pick models from the live list, add retry plus a time limit on the AI step, and search the JSON for placeholders like YOUR, example.com and [Your name]. A green run is not proof: check the sheet and the inbox after one real test.

Try it

With Claude· 6 parts to fill in

Write an importable n8n workflow JSON that takes leads from [a form or webhook], has [AI model] rate each lead Hot, Warm or Cold with a one-line reason, appends every lead to [Google Sheet name], and for Hot leads emails [my address] with a draft reply signed [my name]. Add retry and a [2 minute] timeout on the AI step and an error branch that alerts me. Do not use placeholder values; where you do not know a value, list it for me instead. After the JSON, give me a checklist of every credential, model and sheet field I must set by hand before the first real test.

Square brackets are the parts to fill in. The prompt is ours; the story is theirs.

Where they said it

Related