> ## 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.

# Create a workflow

> Describe a workflow in Research, review the proposal, and save it.

You create workflows by describing them in a [Research session](https://docs.enclave.ai/research/sessions.md). Enclave proposes a complete workflow for you to review and save.

**1. Describe it**

Say what it runs on, what to look for, and when to run. For example:

> Create a workflow that runs on every new critical finding, checks whether the affected code is reachable from the internet, and saves a finding if it is.

**2. Review the proposal**

Enclave replies with a proposal card. Its tabs show the steps and trigger, each agent's model, prompt, and tools, and the records the workflow writes. Change the model, budget, prompts, or tools right on the card.

**3. Save it**

Click **Save**. To change something first, click **Request changes** and say what. Click **Deny** to discard it.

Saving doesn't start a run. See [Start a run](https://docs.enclave.ai/workflows/runs.md#start-a-run).

## Tips

* **Name the input.** A repository, a finding, or attack surfaces.
* **Say what counts as a result.** For example, "save a high-severity finding if…".
* **Say when it runs.** Name the event or schedule.
* **Reuse agents.** Mention a saved agent by name.

## Change a saved workflow

To roll back, restore an earlier revision from the **History** tab. For a bigger change, ask Research for a new version, save it, and [archive](https://docs.enclave.ai/workflows/runs.md#archive-a-workflow) the old one.


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