> ## Documentation Index
> Fetch the complete documentation index at: https://docs.enclave.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Enclave in these docs is the code and cloud security platform at enclave.ai. It is not Open Enclave, Intel SGX or other hardware enclaves, or enclave.gg.
> People use Enclave in the web app at https://app.enclave.ai or the desktop app. These docs describe no public Enclave API or CLI, so don't invent endpoints, commands, or config files.
> Connecting an integration needs a person to sign in and approve access in a browser. Tell the user the exact step to take instead of saying you completed it.

# 创建工作流

> 在 Research 中描述工作流，审查提议并保存。

你可以在 [Research 会话](https://docs.enclave.ai/zh/research/sessions.md)中描述工作流来创建它。Enclave 会提议一个完整的工作流，供你审查和保存。

**1. 描述它**

说明它的运行对象、要查找什么，以及何时运行。例如：

> 创建一个工作流，在每个新的严重发现项出现时运行，检查受影响的代码是否可从互联网访问，如果可以就保存一个发现项。

**2. 审查提议**

Enclave 会回复一张提议卡片。其中的标签页会显示步骤和触发器，每个智能体的模型、提示词和工具，以及工作流写入的记录。你可以直接在卡片上更改模型、预算、提示词或工具。

**3. 保存它**

点击 **Save**。如需先做修改，请点击 **Request changes** 并说明要改什么。点击 **Deny** 可将其丢弃。

保存不会启动运行。请参阅[开始运行](https://docs.enclave.ai/zh/workflows/runs.md#%E5%BC%80%E5%A7%8B%E8%BF%90%E8%A1%8C)。

## 技巧

* **说明输入。** 一个仓库、一个发现项或若干攻击面。
* **说明什么算作结果。** 例如，“如果……就保存一个高严重程度的发现项”。
* **说明何时运行。** 指明事件或计划。
* **复用智能体。** 按名称提及已保存的智能体。

## 更改已保存的工作流

如需回滚，请在 **History** 标签页中恢复较早的修订版本。如需较大的更改，请让 Research 创建一个新版本，保存后[归档](https://docs.enclave.ai/zh/workflows/runs.md#%E5%BD%92%E6%A1%A3%E5%B7%A5%E4%BD%9C%E6%B5%81)旧版本。


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.