Files
nexus/wiki/concepts/Lockable-Workflow.md
2026-04-17 19:17:27 +08:00

25 lines
656 B
Markdown

---
title: "Lockable Workflow"
type: concept
tags: [n8n, security, workflow]
date: 2026-04-17
---
## Definition
可锁定工作流模式,测试通过后锁定工作流,防止 AI Agent 悄悄修改 API 交互方式。
## Why Lock
- 未锁定的 工作流允许 Agent 自由修改
- Agent 可能无意中改变请求格式或端点
- 锁定确保 API 交互方式的稳定性
## Workflow
1. Agent 设计并创建工作流
2. 手动测试验证功能正确性
3. 手动锁定工作流
4. Agent 只能通过 webhook 调用,无法修改
## Use Cases
- 保护生产环境 API 调用
- 确保外部服务集成稳定性
- 防止 Agent 绕过安全检查