Block 1 - When Executed by Another Workflow
- Type / Role
- n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
- Config choices
- Version 1.1
This workflow is provided as-is. Please review and test before using in production.
About this template This template is to demonstrate how to trace the observations per execution ID in Langfuse via ingestion API. Good to know Endpoint: Auth is a with a : = , = . How it works Trig...
n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.n8n, n8n-nodes-base.splitout, n8n-nodes-base.splitinbatches, n8n-nodes-base.httprequest, n8n-nodes-base.wait, n8n-nodes-base.removeduplicates, n8n-nodes-base.code
This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Artem Makarov.
Original n8n.io sourceThis template is to demonstrate how to trace the observations per execution ID in Langfuse via ingestion API.
https://cloud.langfuse.com/api/public/ingestionGeneric Credential Type with a Basic Auth: username = you_public_key, password = your_secret_key.Trigger: the workflow is executed by another workflow after an AI run finishes (input parameter execution_id).
Remove duplicates
Ensures we only process each execution_id once (optional but recommended).
Wait to get execution data Delay (60-80 secs) so totals and per-step metrics are available.
Get execution Fetches workflow metadata and token totals.
Code: structure execution data
Normalizes your run into an array of perModelRuns with model, tokens, latency, and text previews.
Split Out → Loop Over Items Iterates each run step.
Code: prepare JSON for Langfuse Builds a batch with:
HTTP Request to Langfuse Posts the batch. Optional short Wait between sends.
parentObservationId on the generation to nest under spans.sessionId strategy (per workflow, per user, etc.). If some steps don’t produce tokens, compute and set usage yourself before sending.This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.
| Workflow | Track AI model executions with LangFuse observability for better performance insights |
|---|---|
| Complexity | intermediate |
| Nodes | 12 |
| Categories | Engineering, AI RAG |
| Author | Artem Makarov |
| Published | 21 Oct 2025 |
Use the JSON export at /data/workflows/9971/9971.json as the source template for this automation.
Open n8n, import the downloaded JSON, and review each node before activating the workflow.
Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.
Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.
Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.
Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.
Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.
About this template This template is to demonstrate how to trace the observations per execution ID in Langfuse via ingestion API. Good to know Endpoint: Auth is a with a : = , = . How it works Trig...
Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.
Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Engineering, AI RAG use case.