aspandos

n8n Lead Intake — Development skill for Claude Code

Development community

Lead intake in n8n with the Claude API.

How to install n8n Lead Intake

This entry records only its repository, not the path inside it, so there is no exact command to give. Open aspandos/n8n-lead-intake and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What n8n Lead Intake does

Lead intake in n8n with the Claude API. A web form looks a Czech company up in the public ARES register, then Claude sorts each message by type and priority, with fixed rules as the fallback. Each decision gets a receipt that holds no message text. Code written by AI coding agents (Claude Code) under the author's direction.

Alternatives in Development

  • n8n Code Python — Python coding in n8n Code nodes with limitations 3.6k ★
  • Google Ads Meta Ads MCP — Google Ads MCP server + Meta Ads MCP (Facebook Ads MCP) + GA4 + Search Console in one hosted remote MCP for Cl 3.2k ★
  • n8n Claude Code Guide — Connect n8n to Claude Code via SSH for powerful automation workflows 379 ★

README

Lead intake on autopilot (n8n)

A small, working business automation for a made-up Czech company, built in n8n. A customer fills in the inquiry form; the flow checks the details, looks the company up in ARES (the Czech business register), sorts the message with Claude (poptávka, reklamace, dotaz or spam, with a priority, a one-line summary and a reply draft), stores the lead, sends the team a summary with the draft to review and confirms receipt to the customer. Every morning at 07:30 the team gets an overview of the leads since the previous morning.

It runs with no accounts at all: by default the leads and the outgoing e-mails go to n8n's built-in Data Tables. Set `output` to `google` (see Settings) and the same flows write to a Google Sheet and send through Gmail. Next to the Data Tables, each stored lead can also be copied to two Google Sheets files, a private one for the team and a public overview (see Google Sheets copy). In the local build each stored lead also becomes a Lead in a Salesforce org, without the name, e-mail or message text (see Salesforce record).

What it shows

  • Integration through APIs: ARES (public REST, no key), the Claude Messages API, Google Sheets and Gmail, and Salesforce (n8n's Salesforce node over OAuth 2.0 with PKCE, local build).
  • AI with guard rails: structured JSON output with a fixed schema, the customer's text fenced off as data, retries with retry-after, a server-side fallback model on refusals, and a rule-based fallback whenever the AI step is off, fails or answers in the wrong shape. Links (bare domains included), e-mail addresses and international phone numbers are stripped from the AI's reply draft. The customer never receives AI text; the team reviews drafts.
  • Data care: the name and e-mail fields never go to the AI, only the message text (which the form asks not to fill with sensitive data) and the public company data. In the local build the message first passes a local personal-data fi