LangChain - Example - Code Node Example

LangChain - Example - Code Node Example

Manual
High
10
Nodes
Manual
Trigger
High
Complexity
7/22/2025
Added

Workflow Overview

Total Nodes
10
Node Types
7

Node Types

sticky Note
Sticky Note1, Sticky Note
2 nodes
lm Open Ai
OpenAI
1 node
manual Trigger
When clicking "Execute Workflow"
1 node
set
Set, Set1
2 nodes
lm Chat Open Ai
Chat OpenAI
1 node
code
Custom - Wikipedia, Custom - LLM Chain Node
2 nodes
agent
Agent
1 node

Workflow JSON

6.22 KB
{
  "id": "q2MJWAqpKF2BCJkq",
  "meta": {
    "instanceId": "021d3c82ba2d3bc090cbf4fc81c9312668bcc34297e022bb3438c5c88a43a5ff"
  },
  "name": "LangChain - Example - Code Node Example",
  "tags": [
    {
      "id": "snf16n0p2UrGP838",
      "name": "LangChain - Example",
      "createdAt": "2023-09-25T16:21:55.962Z",
      "updatedAt": "2023-09-25T16:21:55.962Z"
    }
  ],
  "nodes": [
    {
      "id": "ad1a920e-1048-4b58-9c4a-a0469a1f189d",
      "name": "OpenAI",
      "type": "@n8n/n8n-nodes-langchain.lmOpenAi",
      "position": [
        900,
        628
      ],
      "parameters": {
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4jRB4A20cPycBqP5",
          "name": "OpenAI account - n8n"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "7dd04ecd-f169-455c-9c90-140140e37542",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        800,
        340
      ],
      "paramete...

Showing first 1000 characters. Click "Expand" to view the full JSON.