Workflow files
Workflow files are reusable instructions for CLEA
Workflow files are text files that tell CLEA how to repeat a task.
They live in the workspace, so CLEA can read them like other account files. This makes them useful for work that should happen more than once, or work that should stay consistent over time.
Default routines live in the workspace
New workspaces get a `Workflows` folder with default workflow files.
The default files are intentionally simple. They teach the idea: read the right information, summarize what matters, and send the best suggestion when the evidence is clear.
Some files are locked for safety
The system folder is locked as a baseline. This protects the main structure of the workspace.
Users can still add their own workflow files around it.
Users can add their own context
A custom workflow can explain the user's market, review rules, page rules, or weekly routine.
That gives CLEA a better instruction than a one-line chat message.
Workflow file
A workflow file explains the repeat routine, expected inputs, and output shape CLEA should follow.
Scheduled prompts using workflow files
Workflow files become powerful when scheduled prompts reference them.
Reference a file
Use a file mention like `@workflow 1` when writing a chat message or scheduled agent prompt.
CLEA resolves the file mention to the real workspace file path before it runs.
Run the routine
The scheduled prompt can say:
Complete @workflow 1 after today's visibility prompts run. Use Analytics, Sources, and Competitors. Send one suggestion card only if the evidence is clear.
Produce a suggestion or report
The workflow should say what CLEA should return.
Good outputs include a compact table, a short report, a suggestion card, or a page brief.
Strong workflow file traits
A strong workflow file has four parts:
| Part | Simple meaning |
|---|---|
| Goal | What the routine is trying to do |
| Inputs | Which files, dashboards, or prompts CLEA should inspect |
| Steps | The order CLEA should follow |
| Output | What CLEA should return |
Human control points
Do not automate trust away.
Use workflows to make repeated work easier. Keep human review for claims, page changes, publishing, and anything that could mislead a buyer.