n8n / Make / Zapier automation · Lesson 2
LLM nodes and their patterns
How to correctly insert an LLM into a pipeline: classification, extraction, generation.
Three typical patterns
- Classification. Input → label ("urgent / normal / spam"). A small, cheap model is enough: for example OpenAI's
gpt-6-luna($0.10 per 1M input tokens, $0.50 per 1M output tokens) or an open-weight model. GPT-4o mini, the old default for this job, is deprecated and shuts down in the OpenAI API on 14 January 2027. In n8n, the Text Classifier node handles this with named categories and descriptions, and items with no clear match can go to a separate Other branch. - Extraction. Input (an email / document) → JSON with fields. The key is a strict schema via structured output (JSON Schema) or function calling. In n8n, use the Information Extractor node or the Structured Output Parser sub-node attached to a model node.
- Generation. Input → text (e.g., a reply to a customer). Here the brand voice and a check matter most.
The rest of this lesson opens after a free sign-up
Sign up with email or Google: the first two lessons of every course stay open for good, and the whole catalog is open for 7 days. No card needed.
