Skip to main content

Use any LangChain module in n8n (with the LangChain code node)

Workflow preview

Use any LangChain module in n8n (with the LangChain code node) preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

LangChain is a framework for building AI functionality that users large language models. By leveraging the functionality of LangChain, you can write even more powerful workflows.

This workflow shows how you can write LangChain code within n8n, including importing LangChain modules.

The workflow itself produces a summary of a YouTube video, when given the video's ID.

Note that to use this template, you need to be on n8n version 1.19.4 or later.