Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

n8n

БесплатноБез исполняемых скриптовНе проверен

N8N Documentation - Workflow automation platform with AI capabilities

rawvegот rawveg★ 42 звезды на GitHub46 установок в других каталогах

Об этом скилле

N8N Skill

Comprehensive assistance with n8n development, generated from official documentation. n8n is a fair-code licensed workflow automation tool that combines AI capabilities with business process automation.

When to Use This Skill

This skill should be triggered when:

  • Building or debugging n8n workflows
  • Working with the Code node (JavaScript or Python)
  • Using expressions and data transformations
  • Implementing AI agents, chains, or RAG workflows
  • Configuring n8n deployments (Docker, npm, self-hosted)
  • Setting up webhooks, credentials, or integrations
  • Handling errors in workflows
  • Scaling n8n with queue mode
  • Creating custom nodes or white labeling n8n
  • Using the n8n API programmatically
  • Working with LangChain in n8n
  • Migrating to n8n v1.0

Key Concepts

Core Components

  • Workflows: Visual automation flows with nodes connected together
  • Nodes: Individual operations in a workflow (trigger, action, logic, etc.)
  • Expressions: Code snippets using {{ }} syntax to access and transform data
  • Credentials: Secure storage for API keys and authentication
  • Executions: Individual workflow runs with their data and status

Data Structure

  • n8n passes data between nodes as items (array of JSON objects)
  • Each item has a json property containing the main data
  • Binary data is stored separately in the binary property
  • Use $json to access current item's data in expressions

AI Capabilities

  • Agents: AI that can use tools and make decisions
  • Chains: Predefined sequences of AI operations
  • Memory: Store conversation history for context
  • Tools: Functions that AI agents can call
  • Vector Databases: Store and retrieve embeddings for RAG

Quick Reference

Example 1: Basic Expression to Access Data

// Access data from the current item
{{ $json.name }}

// Access data from a specific node
{{ $node["HTTP Request"].json.response }}

// Access all items from a node
{{ $("HTTP Request").all() }}

Example 2: HTTP Request with Authentication

When working with the HTTP Request node, handle errors and rate limits:

// In HTTP Request node settings:
// - Enable "Retry on Fail"
// - Set Max Tries to 3
// - Set Wait Between Tries (ms) to 1000

// For rate limiting, use Batching:
// - Items per Batch: 10
// - Batch Interval (ms): 1000

Example 3: Code Node - Transform Data (JavaScript)

// Access input data
const items = $input.all();

// Transform each item
return items.map(item => {
  return {
    json: {
      fullName: `${item.json.firstName} ${item.json.lastName}`,
      email: item.json.email.toLowerCase(),
      timestamp: new Date().toISOString()
    }
  };
});

Example 4: Code Node - Filter Data (Python)

# Filter items based on a condition
output = []

for item in items:
    if item['json']['status'] == 'active':
        output.append({
            'json': {
                'id': item['json']['id'],
                'name': item['json']['name']
            }
        })

return output

Example 5: Expression - Date Handling with Luxon

// Current date
{{ $now }}

// Format date
{{ $now.toFormat('yyyy-MM-dd') }}

// Add 7 days
{{ $now.plus({ days: 7 }) }}

// Parse and format custom date
{{ DateTime.fromISO($json.dateString).toFormat('LLL dd, yyyy') }}

Example 6: JWT Authentication Credential

For APIs requiring JWT authentication:

// Use JWT credential with:
// - Key Type: Passphrase (for HMAC) or PEM Key (for RSA/ECDSA)
// - Secret: Your secret key
// - Algorithm: HS256, RS256, ES256, etc.

// The JWT credential automatically generates tokens
// Use it in HTTP Request node > Authentication > JWT

Example 7: Handle Errors in Workflow

// In Code node, use try-catch:
try {
  const result = $json.data.someField.toUpperCase();
  return [{ json: { result } }];
} catch (error) {
  // Return error information
  return [{
    json: {
      error: error.message,
      originalData: $json
    }
  }];
}

// Or set up Error Workflow in Workflow Settings
// to catch all failures and send notifications

Example 8: Pagination in HTTP Request

// Use pagination to fetch all pages
// In HTTP Request node > Pagination:

// Type: Generic Pagination
// Request URL: {{ $url }}&page={{ $pageNumber }}
// Complete When: {{ $response.body.hasMore === false }}
// Next Page URL: Automatic

Example 9: AI Agent with Tools

// In AI Agent node:
// 1. Connect a Chat Model (OpenAI, etc.)
// 2. Add tools (Calculator, HTTP Request, etc.)
// 3. Configure memory if needed

// The agent can:
// - Analyze user input
// - Decide which tools to use
// - Execute tools and process results
// - Return final answer

Example 10: Environment Variables and Static Data

// Access environment variables
{{ $env.MY_API_KEY }}

// Store workflow static data (persists across executions)
Полный SKILL.md на GitHub

Установить n8n в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

plugin.jsonreferences/index.mdreferences/llms-full.mdreferences/llms-txt.mdreferences/llms.md

FAQ

Что делает скилл n8n?

N8N Documentation - Workflow automation platform with AI capabilities

Как установить скилл n8n?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл n8n запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить n8n с