> For the complete documentation index, see [llms.txt](https://docs.eyepop.ai/developer-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.eyepop.ai/developer-documentation/deploying/vms/network-optix/workflows.md).

# Workflows

Control what each camera detects with a workflow

A **workflow** controls what a camera detects. It's a small JSON definition: an EyePop Pop, which chains abilities, for example detect objects, then track each one across frames. Workflows can be created in your EyePop dashboard and copied into NX as JSON. See the full documentation of a [Pop](https://docs.eyepop.ai/developer-documentation/platform/pop).

Workflows are managed in the integration's settings: in the NX desktop client, open *Site Administration* > *Integrations* > *EyePop Vision AI*.

### Add a workflow

1. Under **Add a workflow**, enter a **Name**: up to 40 letters, digits, `-` or `_`, starting with a letter or digit.
2. Paste the workflow's JSON, as copied from the EyePop dashboard, into **Workflow JSON**.
3. Click *Apply*. The workflow is checked immediately and appears under **Workflows**. If it can't be used, the field shows why and nothing is saved.

### Edit a workflow

Change the workflow's JSON under **Workflows** and click *Apply*. An invalid edit is rejected with an error, and the previous version keeps running. Cameras using the workflow pick up the change automatically.

### Remove a workflow

Under **Remove a workflow**, choose it in **Workflow to remove** and click *Apply*. Cameras using it switch to `default`.

The built-in `default` workflow can't be removed; it's what every camera falls back to.

### Assign a workflow to a camera

Open the camera's *Camera Settings* > *Integrations* > *EyePop Vision AI*, pick the workflow under **Workflow**, and click *Apply*. EyePop restarts on that camera with the new workflow; no container restart is needed.
