⚒️ Track AI model executions with LangFuse observability for better performance insights

139 views · ⚒️ Engineering

Description

About this template

This template is to demonstrate how to trace the observations per execution ID in Langfuse via ingestion API.

Good to know

How it works

Requirements

  1. Langfuse Cloud project and API keys
  2. n8n instance with the HTTP node

Customizing

  1. Add span-create and set parentObservationId on the generation to nest under spans.
  2. Add scores or feedback later via score-create.
  3. Replace sessionId strategy (per workflow, per user, etc.). If some steps don’t produce tokens, compute and set usage yourself before sending.

🔗 Nodes Used

HTTP Request, n8n, Execute Workflow Trigger

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup