> For the complete documentation index, see [llms.txt](https://docs.rubica.au/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rubica.au/workflow-automation/duplicating-and-deleting-templates.md).

# Duplicating & Deleting Templates

Copying a whole Job Template to reuse 90% of it, and fully removing a template you no longer need.

Building a new Job Template that's mostly the same as one you already have? **Duplicate** it, rename the copy, and just tweak the differences — no need to rebuild every stage, action, and trigger from scratch.

## Where to find it

**Home → Settings → Workflow Templates →** pick a template. **Duplicate** and **Delete** sit next to **Edit** and **Mark Inactive** on the template header.

## Duplicate

Click **Duplicate**, confirm or change the name (defaults to "*Original Name* (Copy)"), and everything on the template is copied into a brand-new one:

* Every stage — assignment, backup role, icon, flow hooks, all of it
* Every outcome — including which stage "Next Stage" points to, correctly re-pointed at the **new** stages, not the old ones
* Every stage action, stage-level and outcome-attached, along with any Conditions on them
* Every Workflow Trigger and its Conditions
* Every Service Mapping and Automation Trigger
* The Effort & Role Split

**The original template is never touched.** You end up with two fully independent templates — edit the new one freely without any risk to the one you copied from.

> One field is deliberately **not** copied over unchanged where you might expect: if a stage action's job is to "kick off this other Job Template" (the **Job** action type), that still points at whichever *other* template it originally referenced — that's a separate template, not part of what you're duplicating.

## Delete

Click **Delete** on a template you no longer need. This removes **everything** — the template, every stage, outcome, action, condition, workflow trigger, service mapping, automation trigger, and effort allocation on it. A confirmation dialog spells this out before anything happens.

**This cannot be undone.** Deleting a template does not touch any Jobs that were already created from it in the past — those keep existing exactly as they are. It only removes the template itself, so no *new* Jobs can be created from it going forward.

## When to duplicate vs. start fresh

* **90%+ similar to an existing template?** Duplicate it — far faster than rebuilding.
* **Genuinely different workflow?** Start a new template from scratch — duplicating something unrelated just to delete most of it afterwards isn't worth the cleanup.
