Flowise and Langfuse integration

Connect Flowise to a self-hosted Langfuse instance to trace UI, API and embedded chat runs, then use those traces to debug and evaluate flows. Read this before you wire it up on a Flowise version that no longer receives fixes.

On this page

How Flowise traces reach a self-hosted Langfuse

A team running no-code Flowise flows that needs centralized traces in infrastructure it controls can use Flowise's native Langfuse integration. It covers interactive UI use, API calls and embedded chat, and it works with a self-hosted Langfuse host as well as Langfuse Cloud. The integration is built into Flowise itself rather than being a custom connector, so the setup is a configuration task inside Flowise, not a piece of code your team has to write and maintain.

The connection is configured with your Langfuse public key, secret key and host. The host is the address of your own Langfuse instance, so trace data goes to infrastructure you run. Confirm the exact field names and where they sit in the Flowise settings against the current Langfuse Flowise documentation before you write the configuration into a deployment template, and make sure the keys are stored as secrets rather than typed into shared flow definitions. Test each path separately: a flow run from the UI, a call made through the API, and a request from an embedded chat widget should each produce a trace you can find in Langfuse.

Plan for maintenance before you standardize on this stack. The Flowise repository is archived and read-only, the core team has ended its presence, and no further releases, security fixes or issue triage will come from the FlowiseAI core team. The source remains under Apache 2.0, so your team or a partner would need to own patching, dependency updates and any fork that keeps Flowise current. Decide who owns that work, what your Flowise version will be pinned to, and whether a different flow builder would be a better long-term fit before connecting production traffic.

What you need before connecting Flowise to Langfuse

A Flowise flow can send traces to Langfuse only when four things are in place: a reachable self-hosted Langfuse instance with project keys, a Flowise deployment you can configure, a network path with trusted TLS, and a confirmed Flowise version. Check each one before you touch the Flowise settings, because most connection failures trace back to one of them.

Self-hosted Langfuse with project keys

Langfuse needs a project, with a public key and a secret key, that Flowise will use to send traces. Create the keys in the project settings of the instance you run, not in a Cloud account, unless the Cloud service is your intent. Confirm the Langfuse version you run, because the Python SDK v5 and JS/TS SDK v6 need Langfuse v4.59.0 or later, and the Flowise integration inherits whatever the instance accepts. Store the secret key in your secrets manager, not in a shared flow export.

Langfuse self-hosting docs

Flowise deployment and database

Flowise runs either from npm on Node.js 20 or later or from Docker Compose. Decide which database backs it: SQLite is the default when no database variables are set, while PostgreSQL, MySQL and MariaDB are supported for shared or larger installs. Record the exact Flowise version and the database engine, since both affect how you set environment variables and how you back up flows and credentials.

Flowise database docs

Network path from Flowise to Langfuse

The Flowise host must reach the Langfuse host address over HTTPS on the port your ingress exposes. Check egress rules, proxies and DNS from the Flowise container or process, not from your workstation, because a flow that works in a browser can still fail from the server. Confirm that the Langfuse host value you plan to configure matches the address Flowise will resolve.

TLS trust for an internal certificate

If Langfuse uses a certificate issued by an internal certificate authority, the Flowise runtime must trust that CA. Node.js does not always read the operating system trust store, so confirm how your Flowise deployment loads extra CA certificates before you test. A certificate error often looks like a silent trace failure, so verify with a test flow and the Langfuse trace view.

Confirm the Flowise version against the repository

The Flowise repository was archived to read-only on August 13, 2026, and the core team ended presence on August 31, 2026, so no further releases or security fixes come from the core team. The last release, flowise@3.1.4, was published on July 29, 2026. Confirm the version you run, check the repository state, and decide whether you will maintain an internal fork, since the source remains available under Apache 2.0.

Future of Flowise notice

Pin the SDK and integration version

Record the Langfuse version, the Flowise version and the database engine together in your change record. When either side upgrades, retest a flow in each mode you use, including UI runs, API calls and embedded chat. A Langfuse major upgrade can change the data model and client expectations, so treat version pairs as a tested configuration rather than an assumption.

Configure Flowise tracing against your Langfuse host

This sequence connects a Flowise instance to your self-hosted Langfuse and confirms that traces land in the correct project. It ends with one verified trace each for the UI, the API and an embedded chat, so you know every entry point is captured before teams depend on it.

  1. Create a Langfuse project and API keys

    Sign in to your self-hosted Langfuse UI and create a project for the Flowise flows you want to trace, using a name your team will recognize later. In that project's API key settings, generate a key pair, which gives you a public key and a secret key. Copy the secret key when it is displayed, because you cannot retrieve it later, and store it in your secrets manager. Check: the project appears in the project list, and the new key pair is listed under that project.

  2. Confirm the Langfuse host from Flowise

    Decide the host address Flowise will use to reach Langfuse, which is the domain your organization serves the self-hosted instance from, including the https scheme. Test it from the server where Flowise runs, since that server sends the traces, not only from your laptop. If your organization uses an internal certificate authority, make sure the Flowise host trusts it. Check: a request from the Flowise host returns the Langfuse sign-in page, and your new project is visible after you sign in.

  3. Add keys and host to Flowise

    Add the public key, the secret key and the host to Flowise, either as environment variables on the Flowise deployment or in the Langfuse credential settings inside the Flowise UI, depending on how you run it. Use the variable and field names from the Langfuse Flowise documentation, and confirm them against the Flowise build you operate. Keep the secret key out of exported flow files and version control. Check: the entries are present, and the secret value is masked in the interface.

  4. Restart Flowise and check startup

    Restart the Flowise process or container so it reads the new settings. The Flowise repository is archived and read-only, and its last release is flowise@3.1.4, published July 29, 2026, so record which build you run and whether it comes from an internal fork that your team maintains. Watch the startup logs for configuration errors. Check: Flowise starts without errors, the web interface loads in the browser, and the flow editor opens.

  5. Verify a UI chat trace in Langfuse

    Open a test flow in the Flowise UI, send one chat message with a distinctive phrase, and wait for the response. Then open the trace list in the Langfuse project you created. Check: a new trace appears in that project, showing the flow name, your input, the model output and the chat session. If nothing appears, recheck the key pair and host in Flowise before changing the flow, because a misrouted key usually sends traces to another project or drops them silently.

  6. Verify an API call trace in Langfuse

    Call the same flow through its API endpoint, as shown in Flowise, using a test client or a terminal. Use a different distinctive phrase so you can recognize this request in Langfuse. Check: a trace for the API request appears in the same project as the UI trace, with the API input and output recorded. Compare the two traces side by side to confirm that both entry points are captured with the same flow identity.

  7. Verify an embedded chat trace in Langfuse

    Load the flow in the embedded chat widget or a test page that points at your Flowise instance, then send a third distinctive message. Check: a trace appears in the same Langfuse project, and you can identify it as coming from the embed by its message and session. Before you put the embed in front of end users, confirm how personal data in chat inputs will be handled. Server-side data masking requires a Langfuse Enterprise license key.

Which Flowise usage paths produce traces

The native Flowise integration with Langfuse is documented to cover three usage paths: interactive use in the Flowise UI, API calls and embedded chat. Treat them as three separate tests, because a trace from the UI says nothing about whether API or embed traffic is captured. For each path, send a known test message, then confirm that a trace appears in the self-hosted Langfuse project tied to the configured keys and host. Check that the flow name, input and output are visible. Record which path produced which trace, and keep the results with the configuration version you tested. The Langfuse Flowise documentation is the reference for the setup steps behind each path.

Embedded chat is where trace grouping most often breaks. Traces from an embed group into sessions and users only if the embedding page sends stable identifiers that the integration reads. Before go-live, decide which identifier represents the end user and which represents the conversation, and make sure the embed or API request carries them in the form the Langfuse documentation describes. Confirm the exact field names there for your Flowise and Langfuse versions rather than copying them from older examples. Then use two test browsers and two test user identities to confirm that each conversation stays together and that the two users do not merge in Langfuse.

Some behavior has to be confirmed in your own environment rather than assumed from the documentation. Check whether streamed responses are captured in full, how errors appear, and whether traces are complete for flows that call external tools or retrievers. Flowise's repository was archived as read-only in August 2026, so no core-team fix will arrive if a path stops producing traces. Turn these checks into a repeatable test script with one test per path, and rerun it after any Flowise fork update, Flowise configuration change or Langfuse upgrade. Keep the failing traces and the exact versions as evidence for the platform owner.

How Flowise runs map to Langfuse traces, sessions and users

This table compares Flowise concepts such as chatflows, chat messages, session IDs, API calls and embeds with the Langfuse objects they become: traces, observations, sessions, users, tags and metadata. Use it to predict what your dashboards will show before you test. Confirm each field in a test run against your own self-hosted instance, because the exact fields sent by the integration can change between versions.

Flowise conceptLangfuse conceptWhat to confirm in a test runGaps to plan for
Chatflow run in the UITrace, one per run of the flowTrace name, input and output appear on each run, and nodes appear as observations under itFlow-level settings that Flowise does not send are not visible in Langfuse
Chat message within a conversationTrace linked by sessionMessages sharing a chat ID group into one session in the Langfuse session viewSession grouping depends on the chat ID being sent consistently
Session or chat IDSession IDConfirm the ID Flowise passes as the session value, and whether it is set for UI, API and embed runs alikeAnonymous embed visitors may have no stable user identifier
Node execution (LLM, retriever, tool)Observation (generation, span or tool step)Model name, token usage and cost fields on LLM nodes, and whether retriever and tool nodes appear as spansNode types without a Langfuse mapping may show only as generic spans
API call to a chatflowTrace, marked by the request sourceWhether API-triggered runs carry the same session and metadata as UI runsCaller identity from your application is not sent unless your app passes it
Embedded chat widgetTrace, with session tied to the end-user sessionWhether the embed passes a user or session identifier you controlVisitor identity may be missing, so user-level reporting will be incomplete
Flow name, flow ID, tags and metadataTrace name, tags and metadataWhich Flowise identifiers arrive as tags or metadata and how you filter on themFlowise version or deployment environment may need a manual tag
Errors and retriesObservation with error level and status messageFailed nodes show as errors on the trace, with the message visibleErrors raised before tracing starts may not reach Langfuse

Using traces to debug and evaluate flows

Builders start from a failing run and work backward through the flow. In Langfuse, each Flowise execution appears as a trace, and the nodes that ran appear as observations inside it. The fastest path is usually to find the first observation that returned an unexpected value, not the last one that errored, because a bad retriever result or a malformed prompt variable often causes a failure several nodes later. Use the trace view to confirm which inputs reached each node and whether the model call received the prompt you expected. Keep the flow version in mind: a run from before an edit can look different from one after it, so note the timestamp of each change before drawing conclusions.

  • Find the failing run: filter traces by time window or by error status, then open the earliest failure in a sequence, since later failures often inherit its bad output.
  • Inspect node inputs and outputs: check the retriever's returned documents, the variables passed into the prompt template and the raw model response, in that order.
  • Compare runs after a flow edit: open a run from before the change and one from after it with the same input, and diff the observations that differ.
  • Separate model from plumbing: if the prompt and context are correct but the answer is wrong, the problem sits in the model or its settings; if the context is wrong, the problem sits upstream.
  • Check for silent defaults: confirm that the model, temperature and memory settings in the trace match the flow you intended to publish.

Before closing an investigation, confirm that the fix changes the failing observation in a new run, not only the flow canvas.

Securing the Flowise to Langfuse connection

The Flowise to Langfuse connection carries credentials, user messages and prompts out of your flows and into a trace store you operate. The cards below cover where the keys live, how to scope them, what personal data ends up in traces, which controls need an Enterprise license, and who patches Flowise now that its core team has stepped away.

Store the secret key in Flowise as a secret

The Langfuse integration in Flowise asks for a public key, a secret key and a host. Treat the secret key as a credential: keep it out of exported flow files, screenshots and shared chatflow JSON, and supply it through the environment or your secrets manager rather than typing it into each flow. Check who can open the credential settings in your Flowise instance, because anyone who can read a saved credential can often reuse it against your Langfuse host. Confirm the exact field names and storage behavior against the Flowise version you run.

Langfuse Flowise docs

Scope project keys to flow groups

Langfuse API keys belong to a project, so every flow that uses a key can write to and read from that project's traces. Create separate Langfuse projects for groups of flows with different owners or data sensitivity, and give each group its own key pair. A key leaked from a sandbox flow then cannot expose production traces. Ask whether your Langfuse edition offers project-level role controls, because those roles are an Enterprise feature that needs a license key.

Personal data in prompts and messages

Flowise traces capture the user messages, retrieved documents and model outputs of each run, and these often contain names, contact details, account numbers or health information. Anything typed into a public chat embed can end up in a trace that engineers and evaluators can read. Before enabling tracing on a customer-facing flow, decide what may be stored, who may view it, and how long it stays. Map this decision to your data protection obligations with legal and privacy staff.

Masking and retention need an Enterprise key

Langfuse's server-side data masking and data retention policies are listed among the features that require an Enterprise license key on a self-hosted instance. Audit logs and protected prompt labels also need that key. If your review requires masking personal data before it reaches storage, confirm that this feature is included in the edition you plan to run, and test it with a sample flow before any production traffic. Without it, you must rely on controls inside the flow itself, such as removing fields before the trace is sent.

Langfuse license key docs

Patches for Flowise come from you

Flowise's maintainers froze code, archived the repository to read-only, and ended core team presence, so no further releases or security fixes will come from the FlowiseAI core team. The source remains under Apache 2.0, so your team or a partner must maintain a fork to ship fixes. Plan who owns that fork, how upstream security issues are tracked, and how a patched build reaches your Flowise instance. Check the license of any commercial directories before you copy code from them.

Future of Flowise

Two license regimes in the stack

Both projects keep enterprise code under separate terms. In Langfuse, the MIT-licensed core excludes the ee/, web/src/ee/ and worker/src/ee/ directories, which fall under an enterprise license. In Flowise, packages/server/src/enterprise and files with explicit copyright notices, such as IdentityManager.ts, are commercial while the rest is Apache 2.0. Your legal review should confirm which directories your deployment uses, and that forks or patches do not pull in commercially licensed code without permission.

Langfuse LICENSE

How a Flowise run reaches your Langfuse instance

A run starts with a user in the Flowise UI, an API client or an embedded chat widget, all of which call the Flowise server inside your infrastructure. The Flowise server sends trace data to the Langfuse web endpoint, which hands asynchronous processing to the Langfuse Worker and stores data in ClickHouse, PostgreSQL and blob storage. Check that every hop stays inside your trust boundary and that the Flowise server holds the Langfuse host and keys, since the Langfuse side can only record what the Flowise server sends.

Callers reach the Flowise server, which sends traces to Langfuse inside your boundary.

What the Flowise archive changes for your plan

The Flowise archive changes the question from how to connect Flowise to Langfuse to how long your current Flowise version stays safe to run. The maintainers announced a code freeze on July 29, 2026, archived the GitHub repository to read-only status on August 13, 2026, and ended core team presence on August 31, 2026. The last release, flowise@3.1.4, was published on July 29, 2026. Treat that release as the final upstream build. After August 2026, no further releases, security fixes or issue triage come from the FlowiseAI core team, so any vulnerability found in your Flowise server, UI or components package will stay open unless your own team or a partner fixes it.

The source code stays on GitHub under Apache 2.0, and the maintainers encouraged teams to fork the repository for internal updates or community-led forks. That license is permissive, but two parts of the codebase are not covered by it. Content under packages/server/src/enterprise and files with an explicit copyright notice, such as IdentityManager.ts, fall under a commercial license in Flowise's LICENSE.md. Before you fork, confirm with counsel which of those files you use, whether your deployment depends on enterprise features such as SSO or role management, and what you may redistribute internally. Also confirm which third-party node packages in the components library your flows call, since each one has its own upkeep path.

Three options follow. First, run the pinned version behind compensating controls such as network isolation, SSO at the reverse proxy, restricted credentials and a scheduled review of advisories for its dependencies. Second, maintain an internal fork with a named owner, a patch process and a rebuild schedule. Third, migrate flows to a platform that is still maintained. Whichever you choose, confirm that the Langfuse native integration still sends traces from your pinned Flowise version in every mode you use: the UI, API calls and embedded chat. Check the integration on a staging copy first, because a fork or migration can change how the callback is wired. The Langfuse Flowise integration page is the starting point for that test.

Why traces do not appear in Langfuse

This table lists the most common reasons Flowise traces fail to reach a self-hosted Langfuse, with the cause and fix for each. Work through the rows in order, starting with host, keys and restart, since those account for most first-day failures. Rows covering TLS, egress and multi-instance storage matter most in regulated networks.

Symptom or causeWhy it happensFix
Wrong host or missing protocolThe Langfuse host variable lacks the https:// scheme, includes a wrong port, or points to the web UI address behind a different path.Set the host to the exact base URL of your self-hosted Langfuse, including and confirm it loads in a browser from the Flowise host.
Keys from another project or regionThe public and secret keys belong to a different Langfuse project or a different instance, so ingestion is rejected or lands in the wrong project.Create a new key pair in the target project of your self-hosted instance and copy both keys again without extra spaces.
Flowise not restarted after environment changeFlowise reads its environment variables at startup, so edited Langfuse settings have no effect until the process or container restarts.Restart the Flowise server or container after changing any Langfuse variable, then run one test flow.
TLS trust errors for an internal CAFlowise's Node.js runtime does not trust the certificate authority that signed your internal Langfuse certificate, so the connection fails silently from the trace side.Add your internal CA to the Flowise runtime trust store, then confirm the Flowise host can reach Langfuse over HTTPS with that chain.
Egress blocked by firewallNetwork policy allows users to reach Langfuse but not the Flowise host or container to reach the Langfuse hostname and port.Test connectivity from the Flowise host or container itself, not from a workstation, and open the required outbound route through your firewall or proxy.
SQLite default in a multi-instance setupFlowise uses SQLite when no database variables are set, and separate Flowise instances behind a load balancer do not share that local file, so flows and chatflow settings differ by node.Configure a shared database (PostgreSQL, MySQL or MariaDB) for every Flowise instance, and confirm each node loads the same chatflows before you compare traces.
Traces missing for embedded or API pathsTracing is set up in the Flowise UI for test runs, but embedded chat widgets or direct API calls may use a different chatflow or configuration than the one you inspect.Send a request through the exact embed or API path your users use, then search Langfuse by that chatflow and time range. Confirm the tracing setup applies to that path in your Flowise version.
Traces delayed rather than absentIngestion is asynchronous, so new traces can take a short time to appear, and filters on the Langfuse traces page may hide them.Refresh after a short wait, clear date and user filters, and confirm the environment tag matches the one you filter on.

Questions teams ask before connecting Flowise to Langfuse

How much does it cost to connect Flowise to a self-hosted Langfuse?

The Flowise integration itself is native, so the cost is not a licence for the connection. The costs come from three places: hosting Langfuse in your infrastructure (compute, PostgreSQL, ClickHouse, Redis or Valkey and blob storage), the engineering time to configure and test flows, and the decision on how to keep Flowise running after the core team stopped maintaining it. Hosting costs recur every month, while configuration is one-time. Langfuse's self-hosted pricing page lists a free open source plan and a custom-priced Self-Hosted Enterprise plan, so ask for the written scope and the Langfuse plan it assumes. Ask any partner for a quote that separates one-time setup, recurring hosting and any Flowise fork maintenance.

How long does Flowise tracing setup take?

Duration depends mainly on two factors: how many flows you need to trace and whether you accept the archived Flowise platform as it is. Connecting one flow to a Langfuse instance that already runs is a short configuration task, while tracing many flows across UI, API and embedded chat usage takes longer because each path needs its own test. The Flowise repository was archived to read-only status on August 13, 2026, so teams that plan to keep changing flows should settle that decision first. Ask for a timeline tied to a flow inventory and a stated Langfuse environment rather than a generic estimate.

What does the team need to provide for this integration?

You need four things before work starts:

  • Admin access to the Langfuse project so an API key pair can be created for the Flowise connection.
  • Host access to the server running Flowise so its configuration can be changed and restarted.
  • A list of the flows to trace, with a few representative test inputs for each.
  • A test environment where flows can run without affecting production users.

If Langfuse is self-hosted, you also need the host address that Flowise will reach, which must be reachable from the Flowise server. Confirm these items in the written scope.

Can our own team connect Flowise to Langfuse without a partner?

Yes, a capable team can do the basic connection on its own. Flowise has a native Langfuse integration that covers its interactive UI, API calls and embedded chat, and it works with both Langfuse Cloud and self-hosted instances, so the configuration is mostly keys and a host value. A partner adds value when you need coverage verified across every flow and channel, when the Langfuse deployment must be hardened and backed up, or when you must document evidence for a security review. Decide which of these applies before choosing between your team and a partner.

Does it matter whether Langfuse is Cloud or self-hosted for this integration?

Flowise supports both, so the connection works either way. The difference is where the trace data lives and who operates it. With Langfuse Cloud, the vendor runs the platform. With a self-hosted instance, your team or a partner runs the web and worker containers, PostgreSQL, ClickHouse, Redis or Valkey and blob storage, and is responsible for backups, upgrades and capacity. If prompts or user messages in flows contain personal or regulated data, the self-hosted choice keeps traces inside infrastructure you control. Confirm the hosting model before you write the host value into Flowise.

Do we need a Langfuse Enterprise license for Flowise tracing?

No. Langfuse states that all core features and APIs are available in the MIT-licensed open source version without limits, and the Flowise integration is part of that core. Enterprise features such as project-level RBAC roles, data retention policies, audit logs, server-side data masking and SCIM provisioning need an Enterprise license key. Ask for those features only if your security or compliance review requires them, since they are not needed to send Flowise traces. Check the Langfuse license key documentation before committing to a plan.

What happens to Flowise security fixes after the archive?

No further releases, security fixes or issue triage come from the FlowiseAI core team after August 2026. The last release, flowise@3.1.4, was published on July 29, 2026, and the maintainers ended core team presence on August 31, 2026. The source remains under Apache 2.0, so an internal fork or a community-led fork is possible, but someone must own patching. Before connecting production flows, decide who will track vulnerabilities in Flowise, its dependencies and its database, and whether the team will run an internal fork.

Does Flowise tracing work for the database Flowise uses?

The Langfuse connection does not depend on the Flowise database, but the Flowise deployment does. Flowise supports SQLite, MySQL, PostgreSQL and MariaDB, and uses SQLite by default when no database variables are set. Engineers should confirm the database and backup approach for the Flowise host before enabling tracing, because flow definitions and credentials live there. Review the Flowise database configuration documentation to match the setup to your environment.

How DeployOpen scopes and supports the Flowise and Langfuse integration

DeployOpen plans, configures and documents the connection between your Flowise flows and a self-hosted Langfuse instance inside your own infrastructure. We agree the scope in writing before work starts, then test coverage across the UI, API and embedded chat paths your teams actually use.

How we scope

  • Inventory which Flowise flows, chatflows and embeds need tracing, and which teams own them
  • Confirm whether your Flowise deployment is self-hosted and which Langfuse host and project each flow will report to
  • Agree in writing the coverage, deliverables and timeline for the integration, as a fixed-scope engagement
  • Identify the Flowise version and its support status, since the core team stopped active development in August 2026

How we build

  • Create Langfuse project API keys per environment and set the host and key values in Flowise configuration
  • Verify traces for UI runs, direct API calls and embedded chat sessions, and check that user and session data is recorded as intended
  • Test evaluation workflows on traced flows so debugging and scoring work on real production-like runs
  • Review how sensitive input and output content appears in traces and agree handling with your security team

How we hand over

  • Document configuration keys, environment variables and the steps to rotate Langfuse keys without downtime
  • Provide a runbook for tracing coverage checks, including which flows are instrumented and how to add new ones
  • Record the Flowise version, fork or patch decisions and the owner responsible for maintaining the Flowise code
  • Walk your platform and development teams through trace review and debugging with a test session

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer after handover
  • Retainers can cover maintenance of a community fork if you decide to keep Flowise running internally
  • Confirm with us at scoping which support window and response terms apply before the engagement starts
  • Re-test tracing coverage after Flowise, Langfuse or Node.js changes that affect the integration

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.