# Archive, Unarchive, and Undo

> Four automation actions for fine-grained project and task lifecycle: Archive Project, Unarchive Project, Unassign Task, and Uncomplete Task.

- Source: https://www.taskade.com/learn/automation/project-archive-actions
- Section: Automation
- Updated: 2026-10-17
- Index of all pages: https://www.taskade.com/learn/llms.txt

## Overview

Sometimes an automation needs to walk something back. Archive a finished project, undo an accidental task completion, or unassign a teammate who rolled off. These four actions cover the lifecycle moves the rest of the action library leaves to the UI.

> **TL;DR:** Four automation actions cover project and task lifecycle. **Archive Project**, **Unarchive Project**, **Unassign Task**, **Uncomplete Task**. Use them for sprint resets, cleanup, and rollback patterns inside any automation. Pair with [Filter Data](https://www.taskade.com/learn/automation/filter-data) to make the move conditional. Available on all paid plans.

## Every action has a partner

Each lifecycle move pairs with its inverse, so any automated state change is one action away from being undone.

```mermaid
flowchart LR
    A[Live project]:::live -->|Archive Project| AR[Archived]:::archived
    AR -->|Unarchive Project| A
    T[Open task]:::open -->|task complete| TC[Completed]:::done
    TC -->|Uncomplete Task| T
    AS[Task assigned]:::assigned -->|Unassign Task| UA[Unassigned]:::open
    classDef live fill:#0d1a0e,color:#86efac,stroke:#22c55e,stroke-width:1.5px
    classDef archived fill:#1a140a,color:#ffb74d,stroke:#e65100,stroke-width:1.5px
    classDef open fill:#0d1b2a,color:#7dd3fc,stroke:#38bdf8,stroke-width:1.5px
    classDef done fill:#1a0d24,color:#ce93d8,stroke:#6a1b9a,stroke-width:1.5px
    classDef assigned fill:#2a1225,color:#ff8fa3,stroke:#ff2d60,stroke-width:1.5px
```

If a sprint reset goes wrong, the partner action puts the workspace back. No support ticket. No restore from backup.

## The four lifecycle actions

| Action | What it does | Common use |
| --- | --- | --- |
| **Archive Project** | Moves a project into the archive (hidden from the sidebar, recoverable) | Auto-tidy at the end of a sprint |
| **Unarchive Project** | Pulls an archived project back into the live workspace | Re-activate a paused engagement |
| **Unassign Task** | Removes the current assignee from a task | Reset assignments when a teammate rolls off |
| **Uncomplete Task** | Marks a completed task back to open | Undo an accidental check, reopen a task for more work |

Every action is reversible. Archive does not delete. Unassign does not lose history. Uncomplete keeps the completion timestamp visible in the activity feed.

## How to add a lifecycle action

The flow is the same for all four. Pick the project or task with an `@` reference from an earlier step.

1. Open the automation in the flow editor.
2. Add a **Do this** step.
3. Search for the action name (for example, **Archive Project**).
4. Pick the project or task. Use `@` to pull the value from a trigger or earlier step.
5. Save and toggle the automation on.

That is the whole shape. It works best inside a conditional [Branch](https://www.taskade.com/learn/automation/branch-action) step, so the move happens only when your conditions match.

## Pattern: end-of-sprint cleanup

Run on a [Schedule](https://www.taskade.com/learn/automation/schedule) every Friday at 5pm. For each project tagged "sprint-done", archive it. Two steps. Done in under a minute.

- **Trigger**: Schedule, weekly Friday 5pm
- **Filter**: project tag includes "sprint-done"
- **Action**: Archive Project

Pair with a [Slack message](https://www.taskade.com/learn/connect/slack-integration) action if you want the team to see what got swept.

## Pattern: rollback on accident

Cover the case where a teammate completes a task by mistake. Run on a [Comment trigger](https://www.taskade.com/learn/automation/comment-trigger) so the rollback fires on a chat phrase.

- **Trigger**: New Comment contains "@taskade undo"
- **Action**: Uncomplete Task (with `@trigger.task` as the target)
- **Action**: Unassign Task (optional, if the comment also wants to free the assignee)

A one-message undo for the team channel.

## Pattern: re-activate a project

For client work that wakes back up. Wire a [Mailhook](https://www.taskade.com/learn/automation/mailhook) trigger to a "Restart project" email.

- **Trigger**: Mailhook receives email with subject "Restart project"
- **Action**: Unarchive Project

The archived project reappears in the sidebar the moment the email lands.

## Tips

- **Reversible by design.** Every action here can be undone by the matching action. Archive can be Unarchive. Uncomplete is one click away from a fresh check.
- **Filter before you act.** A scheduled archive with no filter can archive projects you did not intend to touch. Always pair it with a Filter or Branch step that makes sure that the project is done.
- **Audit trail stays intact.** Archive and Unassign do not erase history. Open the project's [version history](https://www.taskade.com/learn/projects/version-history) any time to see what happened and when.

## Related guides

- [Automation Actions Reference](https://www.taskade.com/learn/automation/actions). Every action available in Taskade automations.
- [Branch Action](https://www.taskade.com/learn/automation/branch-action). Route based on a condition before triggering a lifecycle move.
- [Filter Data](https://www.taskade.com/learn/automation/filter-data). Gate the lifecycle action so it fires only when your conditions match.
- [Schedule](https://www.taskade.com/learn/automation/schedule). Run cleanup on a weekly or monthly cadence.
- [Restore from the Trash Tab](https://www.taskade.com/learn/account/restore-tab). Recover anything deleted by mistake.
