Skip to content

Feature add n8 n #1468

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 30, 2025
Merged

Feature add n8 n #1468

merged 8 commits into from
May 30, 2025

Conversation

whw174660897
Copy link
Contributor

概述 / Overview

在流水线中增加N8N 运行器的创建。
目前只支持文本通过n8n 的webhook进行调用。支持n8n的三种认证方式

检查清单 / Checklist

新增 N8nServiceAPIRunner 用于创建运行器
新增 web页面 N8nAuthFormComponent 创建流水线式可以选择N8N执行器,并填写参数

PR 作者完成 / For PR author

请在方括号间写x以打勾 / Please tick the box with x

  • [ x] 阅读仓库贡献指引了吗? / Have you read the contribution guide?
  • [x ] 与项目所有者沟通过了吗? / Have you communicated with the project maintainer?
  • [ x] 我确定已自行测试所作的更改,确保功能符合预期。 / I have tested the changes and ensured they work as expected.

项目维护者完成 / For project maintainer

  • 相关 issues 链接了吗? / Have you linked the related issues?
  • 配置项写好了吗?迁移写好了吗?生效了吗? / Have you written the configuration items? Have you written the migration? Has it taken effect?
  • 依赖加到 pyproject.toml 和 core/bootutils/deps.py 了吗 / Have you added the dependencies to pyproject.toml and core/bootutils/deps.py?
  • 文档编写了吗? / Have you written the documentation?

hengwei.wang and others added 2 commits May 22, 2025 11:02
添加n8n工作流API作为新的运行器类型,支持通过webhook调用n8n工作流,并提供多种认证方式(Basic、JWT、Header)。新增N8nAuthFormComponent用于处理n8n认证表单联动,并更新相关配置文件和测试用例。
@whw174660897
Copy link
Contributor Author

image

N8N 的webhook只能是post请求,因为从消息服务转成标准消息对象时,是对象的json形式,换成get并不好传参

@RockChinQ RockChinQ merged commit f17b067 into RockChinQ:master May 30, 2025
@RockChinQ
Copy link
Owner

感谢贡献!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants