Files
LangBot/en/usage/pipelines/langflow.mdx
T
Xiaoyu SuandJunyan Chin 310c566148 refactor: migration to mintlify
* 重构文档结构:移除 docs 目录,调整文件组织结构

* Reorder "插件 SDK API" section in docs.json

* Refactor and clarify various documentation sections

* Refine warnings and info boxes across multiple docs

* Refactor and simplify Japanese documentation content

* Update package.json to include mintlify as a dependency and add pnpm-lock.yaml for dependency management

* Update blog link and add description in docs.json

---------

Co-authored-by: Junyan Chin <[email protected]>
2026-02-21 23:55:53 +08:00

34 lines
1.5 KiB
Plaintext

---
title: "Using Langflow with LangBot"
---
[Langflow](https://langflow.com/) is an open-source project for building and deploying AI-based Agents and Workflows. It supports local and cloud deployment, and provides APIs for other applications to integrate.
LangBot currently supports using Langflow as the runner.
## Creating a Workflow in Langflow
Please follow the [Langflow documentation](https://langflow.com/docs/introduction) to deploy Langflow instance.
As an example of the default template's Simple Agent:
![create_flow](/images/zh/deploy/pipelines/langflow/create_flow.png)
You can modify the workflow according to your needs:
![edit_flow](/images/zh/deploy/pipelines/langflow/edit_flow.png)
## Configuring LangBot
Open the LangBot WebUI page, add a new pipeline or switch to the AI capability configuration page in an existing pipeline, and select `Langflow API` as the runner.
![set_langflow_runner](/images/zh/deploy/pipelines/langflow/set_langflow_runner.png)
Fill in the other settings according to the prompts, including `Base URL` (fill in according to actual network conditions), `API Key`, `Flow ID`, etc. The API Key can be obtained from Langflow's Settings:
![get_api_key](/images/zh/deploy/pipelines/langflow/get_api_key.png)
Flow ID can be obtained by clicking the `Share` -> `API access` button in the top right corner of the edit page and obtaining it from the example code:
![get_flow_id](/images/zh/deploy/pipelines/langflow/get_flow_id.png)