> For the complete documentation index, see [llms.txt](https://docs.eyepop.ai/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/deploying/vms/network-optix/workflows.md). Agents can also search and read this documentation through its [MCP server](https://docs.eyepop.ai/~gitbook/mcp).

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


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.eyepop.ai/deploying/vms/network-optix/workflows.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
