# synthwave-solutions/synthwave_nocode architecture

> Architecture diagram of the GitHub repository synthwave-solutions/synthwave_nocode, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-18). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/synthwave-solutions/synthwave_nocode
- Repository: https://github.com/synthwave-solutions/synthwave_nocode

## Overview

n8n is a node-based workflow automation platform. A user configures and saves a workflow, starts it manually or through an activation trigger, and the runtime routes data through integration nodes to produce automated results. The repository also includes a LangChain extension for agents, models, memory, retrieval, and chat triggers, plus binary-data support. The README documents the product capabilities; source excerpts and the index establish only selected runtime relationships, so uncertain links are omitted or marked dashed.

Main entry points: [`packages/cli/src/workflows/workflow-execution.service.ts`](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/workflows/workflow-execution.service.ts) (Execution service), [`packages/@n8n/nodes-langchain/nodes/agents/Agent/Agent.node.ts`](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/agents/Agent/Agent.node.ts) (AI agents), [`packages/cli/src/workflows/workflows.controller.ts`](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/workflows/workflows.controller.ts) (Workflow API), [`packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts`](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts) (Service integrations)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_authoring["Workflow authoring"]
  node_editor["Editor UI<br/>[App.vue]"]
  node_workflow_api["Workflow API"]
  node_workflow_service["Workflow services"]
end

subgraph group_runtime["Execution runtime"]
  node_workflow_model["Workflow model<br/>[Workflow.ts]"]
  node_routing["Node routing<br/>[RoutingNode.ts]"]
  node_activation["Trigger activation"]
  node_execution["Execution service"]
end

subgraph group_integrations["Integration nodes"]
  node_integration_nodes["Service integrations"]
end

subgraph group_ai["LangChain AI"]
  node_chat_trigger["Chat triggers"]
  node_agents["AI agents<br/>[Agent.node.ts]"]
  node_models["LLM providers"]
  node_memory["Conversation memory"]
  node_retrieval["Vector retrieval"]
  node_chat_widget["Chat widget<br/>[App.vue]"]
end

subgraph group_platform["Platform services"]
  node_execution_records[("Execution records")]
  node_binary_store[("Binary data")]
  node_oauth["OAuth client<br/>[ClientOAuth2.ts]"]
  node_orchestration["Instance orchestration"]
end

node_user(("Workflow builder"))
node_external_services{{"External services"}}

node_user -->|"builds workflows"| node_editor
node_editor -.->|"manages workflows"| node_workflow_api
node_workflow_api -->|"loads and saves"| node_workflow_service
node_workflow_api -->|"starts manual run"| node_execution
node_workflow_service -.->|"provides workflow data"| node_workflow_model
node_activation -->|"constructs workflow"| node_workflow_model
node_activation -.->|"starts execution"| node_execution
node_execution -.->|"routes node work"| node_routing
node_execution -.->|"records executions"| node_execution_records
node_routing -.->|"dispatches node operations"| node_integration_nodes
node_integration_nodes -.->|"calls service APIs"| node_external_services
node_chat_widget -.->|"sends chat messages"| node_chat_trigger
node_chat_trigger -.->|"starts AI workflow"| node_agents
node_agents -.->|"uses language model"| node_models
node_agents -.->|"uses memory"| node_memory
node_agents -.->|"retrieves context"| node_retrieval
node_retrieval -.->|"uses vector services"| node_external_services
node_models -.->|"calls model provider"| node_external_services
node_execution -.->|"stores binary data"| node_binary_store
node_integration_nodes -.->|"uses OAuth credentials"| node_oauth
node_orchestration -.->|"coordinates instances"| node_activation

click node_editor "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/editor-ui/src/App.vue"
click node_workflow_api "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/workflows/workflows.controller.ts"
click node_workflow_service "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/workflows/workflow.service.ts"
click node_workflow_model "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/workflow/src/Workflow.ts"
click node_routing "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/workflow/src/RoutingNode.ts"
click node_activation "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/active-workflow-manager.ts"
click node_execution "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/workflows/workflow-execution.service.ts"
click node_execution_records "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/executions/execution.service.ts"
click node_integration_nodes "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts"
click node_chat_trigger "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/trigger/ChatTrigger/ChatTrigger.node.ts"
click node_agents "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/agents/Agent/Agent.node.ts"
click node_models "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.ts"
click node_memory "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/memory/MemoryManager/MemoryManager.node.ts"
click node_retrieval "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.ts"
click node_chat_widget "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/chat/src/App.vue"
click node_binary_store "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/core/src/BinaryData/FileSystem.manager.ts"
click node_oauth "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/client-oauth2/src/ClientOAuth2.ts"
click node_orchestration "https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/services/orchestration.service.ts"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_editor,node_workflow_api,node_workflow_service toneBlue
class node_workflow_model,node_routing,node_activation,node_execution toneAmber
class node_integration_nodes toneMint
class node_chat_trigger,node_agents,node_models,node_memory,node_retrieval,node_chat_widget toneRose
class node_execution_records,node_binary_store,node_oauth,node_orchestration,node_user,node_external_services toneIndigo
```

## Components

### Workflow authoring

- [Editor UI](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/editor-ui/src/App.vue): `packages/editor-ui/src/App.vue`
- [Workflow API](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/workflows/workflows.controller.ts): `packages/cli/src/workflows/workflows.controller.ts`
- [Workflow services](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/workflows/workflow.service.ts): `packages/cli/src/workflows/workflow.service.ts`

### Execution runtime

- [Workflow model](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/workflow/src/Workflow.ts): `packages/workflow/src/Workflow.ts`
- [Node routing](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/workflow/src/RoutingNode.ts): `packages/workflow/src/RoutingNode.ts`
- [Trigger activation](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/active-workflow-manager.ts): `packages/cli/src/active-workflow-manager.ts`
- [Execution service](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/workflows/workflow-execution.service.ts): `packages/cli/src/workflows/workflow-execution.service.ts`

### Integration nodes

- [Service integrations](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts): `packages/nodes-base/nodes/Google/CloudStorage/GoogleCloudStorage.node.ts`

### LangChain AI

- [Chat triggers](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/trigger/ChatTrigger/ChatTrigger.node.ts): `packages/@n8n/nodes-langchain/nodes/trigger/ChatTrigger/ChatTrigger.node.ts`
- [AI agents](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/agents/Agent/Agent.node.ts): `packages/@n8n/nodes-langchain/nodes/agents/Agent/Agent.node.ts`
- [LLM providers](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.ts): `packages/@n8n/nodes-langchain/nodes/llms/LMChatOpenAi/LmChatOpenAi.node.ts`
- [Conversation memory](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/memory/MemoryManager/MemoryManager.node.ts): `packages/@n8n/nodes-langchain/nodes/memory/MemoryManager/MemoryManager.node.ts`
- [Vector retrieval](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/nodes-langchain/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.ts): `packages/@n8n/nodes-langchain/nodes/vector_store/VectorStorePGVector/VectorStorePGVector.node.ts`
- [Chat widget](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/chat/src/App.vue): `packages/@n8n/chat/src/App.vue`

### Platform services

- [Execution records](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/executions/execution.service.ts): `packages/cli/src/executions/execution.service.ts`
- [Binary data](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/core/src/BinaryData/FileSystem.manager.ts): `packages/core/src/BinaryData/FileSystem.manager.ts`
- [OAuth client](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/%40n8n/client-oauth2/src/ClientOAuth2.ts): `packages/@n8n/client-oauth2/src/ClientOAuth2.ts`
- [Instance orchestration](https://github.com/synthwave-solutions/synthwave_nocode/blob/master/packages/cli/src/services/orchestration.service.ts): `packages/cli/src/services/orchestration.service.ts`

### Other components

- **Workflow builder**
- **External services**

## Connections

- Workflow builder → Editor UI: builds workflows
- Editor UI → Workflow API: manages workflows
- Workflow API → Workflow services: loads and saves (evidence: `packages/cli/src/workflows/workflows.controller.ts`)
- Workflow API → Execution service: starts manual run (evidence: `packages/cli/src/workflows/workflows.controller.ts`)
- Workflow services → Workflow model: provides workflow data
- Trigger activation → Workflow model: constructs workflow (evidence: `packages/cli/src/active-workflow-manager.ts`)
- Trigger activation → Execution service: starts execution
- Execution service → Node routing: routes node work
- Execution service → Execution records: records executions
- Node routing → Service integrations: dispatches node operations
- Service integrations → External services: calls service APIs
- Chat widget → Chat triggers: sends chat messages
- Chat triggers → AI agents: starts AI workflow
- AI agents → LLM providers: uses language model
- AI agents → Conversation memory: uses memory
- AI agents → Vector retrieval: retrieves context
- Vector retrieval → External services: uses vector services
- LLM providers → External services: calls model provider
- Execution service → Binary data: stores binary data
- Service integrations → OAuth client: uses OAuth credentials
- Instance orchestration → Trigger activation: coordinates instances
