@langfuse/n8n-nodes-langfuse

0.2.2 • Public • Published

n8n-nodes-langfuse

This is an n8n community node. It lets you use Langfuse in your n8n workflows.

Langfuse is an open-source LLM engineering platform that provides observability, metrics, evaluations, prompt management and a playground.

n8n is a fair-code licensed workflow automation platform.

Installation
Operations
Credentials Development
Resources

Installation

Follow the installation guide in the n8n community nodes documentation.

npm install @langfuse/n8n-nodes-langfuse

Operations

Get Prompt

This node can be used to get a prompt from Langfuse Prompt Management.

Steps

  1. Enter the name of the prompt
  2. Enter the label that identifies the prompt version that you want to fetch. Defaults to "production". Learn more about prompt labels in Langfuse here.

Example workflow that retrieves the system prompt for the agent from Langfuse:

n8n-changelog

Credentials

To use this node, you need to authenticate with Langfuse. You'll need:

  1. A Langfuse account, either Langfuse Cloud or self-hosted.
  2. API credentials from your Langfuse project settings: hostname, public key, secret key

Development

Prerequisites

You need the following installed on your development machine:

  • git
  • Node.js and npm. Minimum version Node 20. You can find instructions on how to install both using nvm (Node Version Manager) for Linux, Mac, and WSL here. For Windows users, refer to Microsoft's guide to Install NodeJS on Windows.
  • Install n8n with:
    npm install n8n -g
    
  • Recommended: follow n8n's guide to set up your development environment.

Build new version

npm run build
npm link

Test in local n8n

cd ~/.n8n/custom
npm link n8n-nodes-langfuse

Resources

License

MIT

Package Sidebar

Install

npm i @langfuse/n8n-nodes-langfuse

Homepage

langfuse.com

Weekly Downloads

103

Version

0.2.2

License

MIT

Unpacked Size

63.9 kB

Total Files

14

Last publish

Collaborators

  • mdeichmann
  • marliessophie
  • hassieb
  • marcklingen