Skip to content

Using AssureSwarm · Guide

Using templates

A template is a process you draw once and run many times. Scroll, and build one from an empty canvas to a saved template anyone can start work from.

  1. Library
  2. Design
  3. Configure
  4. Save

Scroll

A workflow template is the blueprint: draw the steps once, and every workflow started from it follows the same shape. Workflow templates covers designing good ones and governing the library; this page is the mechanics of the editor.

The Templates library: a search field, a Create Template button, and one card per workflow template

Templates in the top navigation lists every template you can see, one card each, with its name, its description, and when it last changed. Search narrows the list by name, and selecting a card opens that template in the designer.

Create Template, at the top right, opens an empty designer. Starting actual work from a template happens on the item itself: add a workflow to the item, then pick the templates to run.

The designer is a canvas of nodes and connections, and the diagram is the process: each node is a step, and each connection sets what follows what. Add Step drops a new node onto the canvas, and dragging from one node to another connects them.

Drag nodes to arrange them, and use the zoom controls in the bottom left to fit a long process on screen. A node can have more than one outgoing connection, which is how a decision branches.

Select a node and a Configure Step panel opens on the right. It holds the step name, a short description, the instructions for whoever does the work, and an optional form for the step.

Instructions are the part people actually read, so write them for someone meeting this process for the first time. Add a form wherever you need consistent, structured answers rather than free text.

The name and description at the top of the designer are what everyone else sees in the library, so make them say what the process is for. Save Changes, at the top right, writes the whole template: nodes, connections, and every step’s configuration in one go.

Delete, beside it, removes the template. Workflows already running from it keep going, but nobody can start a new one.

Editing a template never touches work already underway. Instantiating a template creates a separate, running workflow on an item, and from that moment the two are independent: later template edits apply only to workflows started afterwards, and editing a running workflow leaves the template alone.

That makes templates safe to improve. Fix a confusing instruction today and every run started from tomorrow gets the better wording, while runs in flight are undisturbed.

An agent can draft a template through suggest_change. It arrives marked AI Suggestion, with the agent’s name and the instruction it was given, opened in the designer rather than in a read-only view. You can move nodes, rewrite instructions, and fix names before deciding, then press Approve & Create to keep it or Reject to discard it.

Treat a proposed template as a first draft. It is usually faster to correct a drafted process than to draw one from scratch, but the structure is still yours to sign off on.

And when an agent drafts one

An agent proposes a template with suggest_change targeting the workflow-template type, and gets back a Preview & approve link to hand to a person. Nothing is created until someone approves it, and the approval runs under that person’s permissions. get_schema first: a template can be tied to one item type, and the steps should use the names and fields the tenant actually has.