-
Notifications
You must be signed in to change notification settings - Fork 1.5k
zh usage pipelines n8n
langbot-wiki-sync[bot] edited this page Jul 29, 2026
·
1 revision
n8n 是一款开源的自动化工作流平台,可以创建、调度、执行各种自动化任务。
LangBot 目前支持通过 n8n 工作流的 Webhook 节点,来触发工作流并获取回复。
请打开已有的流水线配置页面,或新建流水线(推荐)并打开配置页面,到 AI 能力中选择 n8n 工作流 API 作为运行器。

并根据下方内容设置并填写其他配置。
or

需要选择Webhook或者On chat message触发,并参考下图配置:
- webhook
- on chat message
Note
如果要需要流式,其中的Response Mode都需要选择为Streaming。

Note
Authentication 对应 LangBot 流水线配置中的几种鉴权方式,可自行更改。

调用ai模型的节点可配置为AI Agent,并参考下图配置:
需要流式则将图片中红框内容添加,不需要则不管

n8n 的工作流响应内容请使用Respond to Webhook节点,并参考下图配置(如果你选择的是流式响应和AI Agent节点,则不需要操作此步骤):

Response Body中的响应内容键名需要与 LangBot 流水线配置中的输出键名一致。
在完成 n8n 工作流的配置之后,请在其顶部点击Active以启用工作流。
Automatically synchronized from langbot-app/langbot-wiki.
简体中文
指南
开发者
- 插件开发
- 插件 SDK API
- 核心开发
API 参考
- Service API
English
Guides
Developers
-
Plugin Development
- Plugin Development Tutorial
- Completing Plugin Configuration Information
- Plugin Directory Structure
- Component Development
- Code Style Guide
- Migration Guide
- Publish Plugin
- Plugin SDK API
- Core Development
API Reference
- Service API