OpenRuna
Sign in
← Workflows

LangChain - Example - Code Node Example

10 nodes · lmOpenAi, manual, lmChatOpenAi, agent

Engine
n8n
Nodes
10
Trigger
scheduled/triggered
Source file
1397_Manual_Stickynote_Automation_Triggered.json

Workflow flow

IntegrationsLmOpenAiManualLmChatOpenAiAgent@n8n/n8n-nodes-langchain.lmOpenAiSet@n8n/n8n-nodes-langchain.lmChatOpenAi@n8n/n8n-nodes-langchain.code@n8n/n8n-nodes-langchain.agent
100%

OpenAI

@n8n/n8n-nodes-langchain.lmOpenAi

TRIGGER

When clicking "Execute Workflow"

Manual

Chat OpenAI

@n8n/n8n-nodes-langchain.lmChatOpenAi

Custom - Wikipedia

@n8n/n8n-nodes-langchain.code

Set

Set

Set1

Set

Custom - LLM Chain Node

@n8n/n8n-nodes-langchain.code

Agent

@n8n/n8n-nodes-langchain.agent

8 steps · flows top to bottom, branches left to right

Browse by integration

Browse all integrations →

Import into n8n

  1. Download the n8n JSON file (full or sanitized).
  2. In n8n: Workflows → Import from file.
  3. Open each node and reconnect credentials to your accounts.
  4. Test with manual execution before enabling triggers.

Sanitized JSON removes credential IDs — safer for sharing. Flow graph JSON is OpenRuna's lightweight format for diagrams and other tools, not n8n import.

View source corpus ↗

Overview

LangChain - Example - Code Node Example is a free n8n workflow on OpenRuna — 10 nodes connecting lmOpenAi, manual, lmChatOpenAi, agent. Download the JSON, view the flow diagram, and import it into your n8n instance.

What this workflow does

This n8n workflow, "LangChain - Example - Code Node Example", wires together lmOpenAi, manual, lmChatOpenAi, agent in 10 nodes. 10 nodes · lmOpenAi, manual, lmChatOpenAi, agent Execution begins at the scheduled/triggered trigger and flows through the 10 configured nodes. On OpenRuna you get the visual graph, the integration list, and a downloadable JSON ready to import into n8n. Use it to learn integration patterns, fork it for your own use case, or deploy it quickly after reconnecting credentials.

Use cases

  • Fork it to add error handling, retries, or a notification step without designing the 10-node flow from scratch.
  • Benchmark it against your current lmOpenAi integration to spot missing steps or redundant nodes.
  • Import "LangChain - Example - Code Node Example" into n8n, reconnect credentials for lmOpenAi, manual, lmChatOpenAi, agent, and run the same automation in your own workspace.
  • Use it as a starting template when wiring lmOpenAi, manual, lmChatOpenAi, agent — adjust node parameters to your accounts and record IDs.

Example output

Imported into n8n, "LangChain - Example - Code Node Example" exposes 10 configured nodes. Trigger type: scheduled/triggered. Integrations: lmOpenAi, manual, lmChatOpenAi, agent. Set your credentials on the lmOpenAi node, then verify each downstream node picks them up. Run it once in test mode to verify any branch logic (Switch/IF nodes) before enabling production triggers.

Tips by platform

Claude

Ask Claude to turn the "LangChain - Example - Code Node Example" JSON into a plain-English runbook, node by node. It can flag where lmOpenAi rate limits or missing retries might bite before you go live.

ChatGPT

Drop the workflow JSON or this OpenRuna page URL into ChatGPT and ask for a step-by-step runbook: triggers, branches, and which fields to customise for lmOpenAi, manual, lmChatOpenAi, agent. Handy for onboarding teammates new to n8n.

Cursor

In Cursor, ask Agent mode to parameterise "LangChain - Example - Code Node Example" — extract lmOpenAi IDs and secrets into environment variables without changing the 10-node structure.

Frequently asked questions

How do I import "LangChain - Example - Code Node Example" into n8n?
Click Download n8n JSON on this page, then in n8n choose Workflows → Import from file and select the downloaded file. Reconnect credentials on each node — the export carries credential IDs from the original author's instance, not working secrets.
Which integrations does "LangChain - Example - Code Node Example" use?
It uses: lmOpenAi, manual, lmChatOpenAi, agent. The flow diagram above shows how each service connects across the 10 nodes. Filter OpenRuna by integration to find related workflows and tools.
Can I import a sanitized export without credentials?
Yes. Use "Download sanitized JSON" to strip credential references before sharing internally. You will still add your own lmOpenAi and manual credentials in n8n after import.
What trigger type does "LangChain - Example - Code Node Example" use?
Trigger type: scheduled/triggered. After import, confirm the trigger node (webhook, schedule, or app event) matches your environment, then activate the workflow when you are ready to run it.
Is "LangChain - Example - Code Node Example" free to use?
OpenRuna catalogs community n8n workflows under open licenses. Check the source corpus link for the original license; commercial use may require verifying the third-party API terms for lmOpenAi, manual, lmChatOpenAi, agent.

Related resources