# n8n | n8n - Workflow Automation | Knowledge Base | Instagit

Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

GitHub Stars: 176k

Repository: https://github.com/n8n-io/n8n

---

## Articles

### [How to Extend n8n with Custom Functionality: 3 Proven Methods](/n8n-io/n8n/how-can-i-extend-n8n-with-custom-functionality)

Extend n8n with custom functionality using community nodes, Workflow SDK, or backend modules. Unlock new integrations and server-side logic for advanced automation.

- Tags: how-to-guide
- Published: 2026-02-24

### [How n8n Versions Workflows and Stores Them in the Database](/n8n-io/n8n/how-are-workflows-versioned-and-stored-in-the-database)

Discover how n8n versions workflows by storing immutable snapshots in the database. Learn about workflow history tables and active version tracking for production execution.

- Tags: internals
- Published: 2026-02-24

### [How n8n Handles Scaling and Queue-Based Processing with Bull: Architecture Deep Dive](/n8n-io/n8n/how-does-n8n-handle-scaling-and-queue-based-processing-with-bull)

Discover how n8n uses Bull and Redis for robust queue-based processing and horizontal scaling. Learn about automatic recovery and priority handling for efficient workflow execution.

- Tags: deep-dive
- Published: 2026-02-24

### [Understanding Execution Modes in n8n: Manual, Trigger, Scheduled, and Beyond](/n8n-io/n8n/what-are-the-different-execution-modes-in-n8n-manual-trigger-scheduled)

Explore n8n execution modes like manual, trigger, and scheduled. Learn how to control workflow starts and engine processing for efficient automation. Discover all ten modes.

- Tags: deep-dive
- Published: 2026-02-24

### [How n8n's Internal Event Bus Enables Decoupled Communication](/n8n-io/n8n/how-does-the-internal-event-bus-work-for-decoupled-communication-in-n8n)

Discover how n8n's internal event bus enables decoupled communication between frontend and backend services. Learn about its typed UI bus and Node.js EventEmitter implementation for efficient automation.

- Tags: internals
- Published: 2026-02-24

### [How Workflow Connections Work in n8n: Understanding the Directed Graph Architecture](/n8n-io/n8n/how-do-workflow-connections-work-in-n8n)

Explore how n8n workflow connections form a directed graph architecture. Learn how source nodes map to destinations for efficient parent and child node lookups.

- Tags: internals
- Published: 2026-02-24

### [How @n8n/config Manages Centralized Configuration in n8n: Decorators, Zod, and Dependency Injection](/n8n-io/n8n/how-is-centralized-configuration-managed-in-n8n-config)

Learn how @n8n/config centralizes n8n configuration with TypeScript decorators, Zod validation, and dependency injection for type-safe runtime settings.

- Tags: internals
- Published: 2026-02-24

### [How n8n Uses Dependency Injection with @n8n/di: A Complete Technical Guide](/n8n-io/n8n/how-does-n8n-use-dependency-injection-with-n8n-di)

Discover how n8n leverages dependency injection with its @n8n/di container. Learn to use @Service and reflect-metadata for automatic dependency wiring in this technical guide.

- Tags: deep-dive
- Published: 2026-02-24

### [How the n8n Vue.js Frontend Is Architected with Pinia Stores: A Deep Dive into State Management](/n8n-io/n8n/how-is-the-vue-js-frontend-architected-with-pinia-stores)

Explore the n8n Vue.js frontend architecture and learn how Pinia stores manage state. Discover the modular approach with RootStore, core UI stores, and feature-specific modules for efficient state management.

- Tags: architecture
- Published: 2026-02-24

### [n8n CLI REST API Endpoints: Complete Architecture and Reference Guide](/n8n-io/n8n/what-rest-api-endpoints-does-the-n8n-cli-expose)

Explore n8n CLI REST API endpoints in this complete architecture and reference guide. Learn about workflows, executions, and projects exposed via Nest-style controllers in packages/cli/src.

- Tags: api-reference
- Published: 2026-02-24

### [What Database Does n8n Use and How Is the Schema Structured with TypeORM?](/n8n-io/n8n/what-database-does-n8n-use-and-how-is-the-schema-structured-with-typeorm)

Discover which databases n8n utilizes and how its schema is structured with TypeORM. Learn about entity definitions and supported databases like SQLite, PostgreSQL, MySQL, and MSSQL.

- Tags: internals
- Published: 2026-02-24

### [n8n LangChain Integration: How AI Agent Workflows Work Under the Hood](/n8n-io/n8n/how-does-n8n-integrate-with-langchain-for-ai-agent-workflows)

Discover how n8n integrates with LangChain to power AI agent workflows. Learn about node orchestration, model wrapping, and dynamic tool/memory injection for stateful automation.

- Tags: deep-dive
- Published: 2026-02-24

### [How to Create Custom Nodes in n8n: A Complete Implementation Guide](/n8n-io/n8n/how-do-i-create-custom-nodes-in-n8n)

Learn how to create custom nodes in n8n with this comprehensive guide. Implement custom logic and extend n8n's capabilities by building your own nodes.

- Tags: how-to-guide
- Published: 2026-02-24

### [How the n8n Workflow Execution Engine Works Internally: Architecture Deep Dive](/n8n-io/n8n/how-does-n8n-s-workflow-execution-engine-work-internally)

Explore the n8n workflow execution engine's internal architecture. Learn how it processes nodes sequentially, manages state, and handles special node types for efficient automation.

- Tags: internals
- Published: 2026-02-24

