Now inviting automation leaders: publish your playbook as a skill, under your own name. Publish yours →
Automation Skills
Contributors/Taqi Molavi/n8n agents
Workflow building

n8n agents

Use when building n8n AI Agent / LangChain clusters — tools, memory, RAG, structured output, system prompts, sub-workflow-as-tool, or fixing agent connection topology (ai_languageModel, ai_tool, ai_memory).

ByTaqi MolaviTaqi MolaviAI-native SEO strategist @ InTen digital marketing agency
name:
n8n-agents
description:
Use when building n8n AI Agent / LangChain clusters — tools, memory, RAG, structured output, system prompts, sub-workflow-as-tool, or fixing agent connection topology (ai_languageModel, ai_tool, ai_memory).

n8n AI Agents

Author: Taghi Molavi

Topology (critical)

AI Agent is a cluster, not a single node:

  • Chat model → connection type ai_languageModel
  • Tools → ai_tool (HTTP tools, Code tools, Workflow tools, Vector retrieve, …)
  • Memory → ai_memory
  • Output parser → ai_outputParser when structured JSON required

Missing language model = agent that cannot run. Lint should catch this.

Tool quality = prompt quality

Tool names and descriptions are part of the system prompt. Vague tools → tool thrash.

Good description:

create_draft_invoice — Create a draft invoice in Stripe for an existing customer_id. Input: customer_id (string), line_items (array of {price_id, quantity}). Does not finalize or charge.

Bad: helper — does stuff with billing.

System prompt design

  • Role, tools available, refusal rules, output format
  • Keep business policies explicit (PII, refunds, legal)
  • Prefer structured output parser over "please return JSON"

Patterns

Pattern When
Router agent + specialist sub-agents Multi-domain support
Sub-workflow as tool Reuse audited business logic
RAG retrieve → agent Docs/help centers
Human review gate Irreversible actions
Memory window Multi-turn chat widgets

Safety

  • Destructive tools require confirmation tool or human-in-the-loop
  • Separate staging tools/credentials
  • Log tool calls for audit

References

  • references/TOOLS.md
  • references/RAG_AND_MEMORY.md
  • references/STRUCTURED_OUTPUT.md

More in this playbook

Delivery Itay GuttmanItay Guttman + 1CEO @ engini.ai

Safe to turn on

Use this skill when an agent or person is about to create, change or enable an automation inside someone else's account or a shared environment: "create this workflow", "build it in the customer's account", "turn it on", "go live", "deploy this automation". Produces a proposal the human approves, an automation created in the off state, and a short list of what only the human can finish.

Workflow buildingMIT Romuald CzłonkowskiRomuald CzłonkowskiFounder @ AiAdvisors

n8n agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output, output parser, RAG, vector store, a chat assistant/bot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model/memory/tools/outputParser slots, tool names/descriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.

Workflow buildingMIT Romuald CzłonkowskiRomuald CzłonkowskiFounder @ AiAdvisors

n8n agents

Design n8n AI agents the right way. Use when building or editing any @n8n/n8n-nodes-langchain.* AI node — an AI Agent, LLM chain, Text Classifier, or Information Extractor — and whenever the user mentions AI agents, LLM with tools, tool calling, $fromAI, system prompts, agent memory, sessionId, structured/JSON output, output parser, RAG, vector store, a chat assistant/bot, or human-in-the-loop review. Covers Agent-vs-chain-vs-classifier choice, the model/memory/tools/outputParser slots, tool names/descriptions as prompt, structured output with autoFix, memory, RAG, human review, and chat topologies.

Publish your skill

Copy this prompt into Claude Code, Codex or any agent. It walks you through your first skill in about 20 minutes, with you as the author.

Click to copy.