n8n-nodes-dashscope
v0.1.0
Published
n8n node for Aliyun DashScope (Qwen) API
Maintainers
Readme
n8n-nodes-dashscope
这是一个 n8n 社区节点,用于调用阿里云 DashScope (通义千问) API。
安装
在你的 n8n 实例中安装此社区节点:
- 进入 Settings > Community Nodes
- 选择 Install
- 输入
n8n-nodes-dashscope - 同意风险提示并点击 Install
功能
DashScope 节点
支持以下操作:
- 聊天补全 - 发送消息并获取 AI 响应
支持的模型:
- Qwen Plus (qwen-plus)
- Qwen Turbo (qwen-turbo)
- Qwen Max (qwen-max)
- Qwen Long (qwen-long)
凭证配置
需要配置 DashScope API 凭证:
- 登录 阿里云 DashScope 控制台
- 获取 API Key
- 在 n8n 中创建 DashScope API 凭证,填入 API Key
使用示例
- 添加 DashScope 节点到工作流
- 配置 DashScope API 凭证
- 选择模型(默认 qwen-plus)
- 填写系统提示词和用户消息
- 可选:配置温度、最大 Token 数等参数
- 执行节点获取 AI 响应
开发
# 安装依赖
npm install
# 构建
npm run build
# 开发模式(监听文件变化)
npm run dev发布到 npm
此项目使用 GitHub Actions 自动发布:
- 在 GitHub 仓库 Settings > Secrets 中添加
NPM_TOKEN - 创建新的 Release 或手动触发 workflow
- 包将自动发布到 npm
许可证
MIT
