AverageCargo87

n8n LLM Automation Patterns — AI skill for Claude Code

AI community

13 importable n8n workflows that put LLMs inside business automations: strict-JSON decisions, validators, duplicate-safe intake, a multi-agent assistant and a 99-node workflow generator with 6-layer v.

How to install n8n LLM Automation Patterns

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

What n8n LLM Automation Patterns does

13 importable n8n workflows that put LLMs inside business automations: strict-JSON decisions, validators, duplicate-safe intake, a multi-agent assistant and a 99-node workflow generator with 6-layer validation and Sonnet-to-Opus repair

Alternatives in AI

  • Anthropic Quickstarts — by Anthropic - Offers comprehensive development guides for three distinct AI-powered demo projects with standa 15.4k ★
  • n8n Node Configuration — Node configuration with dependency rules and AI connections 3.6k ★
  • Dorothy — Orchestrate multiple AI CLI agents with automations and MCP servers 221 ★

README

n8n LLM Automation Patterns

**Fourteen months of putting LLMs inside real business automations, distilled: 13 importable n8n workflows that show the patterns that survived, plus one production automation with its source, its test harness and fictional data. The rule behind all of them: deterministic rails for the flow, the model only where a decision or language is needed.**

Body of work 116 workflows, 2,147 nodes and 40+ external services built between mid-2025 and 2026 (Telegram, Avito, amoCRM, Google Workspace, Apify, Pinecone, OpenAI, Anthropic and more)
In this repository 13 curated workflows with secrets removed, and one production automation with tests
Models GPT-4o-mini for bulk classification, Claude Sonnet for generation, Claude Opus only as a repair escalation, cheap GPT models for routing and JSON fixes
Trajectory Hand-built in the n8n editor -> a system of n8n workflows that generates n8n workflows -> Claude Code building workflows through the n8n MCP server

The patterns

flowchart LR
  IN["Webhook / Telegram / Avito / Schedule"] --> DEDUP{"Validate + dedupe"}
  DEDUP -->|"duplicate"| R409["409 / ignore"]
  DEDUP --> SM["State machine
Sheets / Data Tables"] SM --> LLM["LLM step
strict JSON only"] LLM --> VAL{"Validator
schema + completeness"} VAL -->|"gaps"| LLM VAL --> ROUTE{"Route"} ROUTE --> CRM[("amoCRM / Sheets")] ROUTE --> TG["Telegram alert"] ROUTE --> REPLY["Reply"]
  1. Rails for the flow, the model for the decision. Dialogs are state machines; the model receives only the final fields and returns strict JSON such as {status, reason, tip}. Behaviour is predictable, every decision is auditable and each call is cheap.
  2. Validate what the model returns. Extraction runs in two passes (structured, then gap filling) followed by a completeness validator, so a record is either complete or says exactly what is missing.
  3. **Duplicate-sa