Build a workflow from scratch

Use this guide when you want to create a repeatable workflow instead of running one ad hoc request from chat.

Before You Start

Create The Workflow

  1. Open the dashboard.
  2. Go to the workflow designer.
  3. Create a new workflow.
  4. Give it a short name and a clear objective.
  5. Add a trigger node. For a first workflow, use a manual trigger.
  6. Add one or more work steps:
    • agent step for reasoning, coding, research, QA, or planning;
    • connector tool step for Gmail, Calendar, Slack, GitHub, HTTP, or another app;
    • parser/filter/branch/merge/loop/retry step when input needs routing or repeatable control flow;
    • storage or artifact step when a later node needs durable intermediate data;
    • source, sandbox, quality preflight, report, or delivery step for report workflows;
    • notification step when the workflow should report back.
  7. Connect the nodes in the order work should run.
  8. Configure each node from its settings panel.
  9. Save the workflow.
  10. Run a small test with safe input.

Configure Agent Steps

For each agent step, set:

Keep the first version narrow. A workflow that does one thing reliably is easier to inspect, approve, and improve.

Add Approval Gates

Use approval gates for actions that write files, call external systems, send messages, publish content, modify accounts, or change workflow authority.

For repo writes, Aegis should create a patch bundle and verifier output before asking for approval. Review the diff, hashes, and policy class before approving.

Test The Workflow

Run the workflow with a low-risk input first.

Check:

Improve It

After the first run, adjust: