Monitor AI chat interactions with Gemini 2.5 and Langfuse tracing
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This workflow is a simple AI Agent that connects to Langfuse so send tracing data to help monitor LLM interactions. The main idea is to create a custom LLM model that allows the configuration of callbacks, which are used by langchain to connect applications such Langfuse. This is achieves by using the "langchain code" node: - Connects a LLM model sub-node to obtain the model variable
At a glance
Monitor AI chat interactions with Gemini 2.5 and Langfuse tracing is a ready-made n8n workflow you import as a workflow JSON file — no build required. It connects OpenAI, Gemini. It's free to download. Follow the 5-step import below to go live in minutes.
- Platform
- n8n
- Connects
- OpenAI, Gemini
- Modules
- 5
- Price
- Free
- Version
- v1.0

About this workflow
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This workflow is a simple AI Agent that connects to Langfuse so send tracing data to help monitor LLM interactions. The main idea is to create a custom LLM model that allows the configuration of callbacks, which are used by langchain to connect applications such Langfuse. This is achieves by using the "langchain code" node: - Connects a LLM model sub-node to obtain the model variables (model name, temp and provider) - Creates a generic langchain initChatModel with the model parameters. - Return the LLM to be used by the AI Agent node. 📋 Prerequisites - Langfuse instance (cloud or self-hosted) with API credentials - LLM API key (Gemini, OpenAI, Anthropic, etc.) - n8n >= 1.98.0 (required for LangChain code node support in AI Agent) ⚙️ Setup 1. Add these to your n8n instance: Alternative: Configure these directly in the LangChain code node if you prefer not to use environment variables 2. Import the workflow JSON 3. Connect your preferred LLM model node 4. Send a test message to verify tracing appears in Langfuse
How to import this n8n workflow
- 1
Download the workflow JSON file after purchase.
- 2
Open n8n → click the menu → Import from File.
- 3
Select the downloaded JSON and import.
- 4
Set up credentials for each node that requires them.
- 5
Click Execute Workflow to test, then activate.
Setup guide
Setup guide included
Purchase to unlock the full step-by-step guide
Related N8n workflows
Find the best favicon from multiple sources with GPT-4 vision analysis
Send new articles from RSS feed to Slack channel using ChatGPT for summaries
BrowserAct Geo-Search Automation Flow
AI podcast generator with RSS feed & ElevenLabs voice
Automatically optimize AI prompts with OpenAI using OPRO & DSPy methodology
Transcribe Telegram voice notes to Google Docs with OpenAI & DeepSeek summaries
Comprehensive SEO keyword research with OpenAI & DataForSEO analytics to NocoDB
AI-driven WooCommerce product importer from Google Sheet with Yoast SEO meta
Reviews
No reviews yet
Be the first to buy and share your experience.
Leave a review
Sign in to share your experience with this workflow.
Create a free account to purchase workflows.
- JSON blueprint — instant download
- Setup guide PDF included
- 5 downloads · valid 30 days
- Works with n8n
Need help setting this up?
Book a 3-hour live setup session with an Agility consultant.
- Configure live on Google Meet / Zoom
- Free follow-up if workflow has defects
- Platform expert assigned to you