> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kimp360.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Archive a task from Slack

> Archive eligible KIMP360 tasks directly from Slack using the /archive_task command.

Use this flow when you want to archive an existing KIMP360 task without leaving Slack.

The `/archive_task` command opens a modal where you:

* Search for a task that is eligible to be archived
* Confirm that you really want to archive it

## Prerequisites

* The task you want to archive is in a status that allows archiving ( you can not archive tasks that are in Requests, in Progress, or in Review )

## How to archive a task from Slack

<Steps>
  <Step title="Run the /archive_task command">
    Go to a channel where the KIMP360 Slack app is installed and type
    <code>/archive\_task</code>, then press Enter.
  </Step>

  <Step title="Select a task to archive">
    A modal titled <strong>Archive Task</strong> opens.

    * In the <strong>Task to archive</strong> field, start typing the name or
      status of the task.
    * The dropdown uses an external search powered by your KIMP360 account and
      only shows tasks that are currently eligible for archiving.

    If you do not select a task, you will see an error telling you to pick one
    before continuing.

    <img src="https://mintcdn.com/kimp360/l7TmkunSeeO0Fuf-/images/archive-task-slack-1.png?fit=max&auto=format&n=l7TmkunSeeO0Fuf-&q=85&s=7ebf0347702606ae68744b44dfc41bbf" alt="Select task to archive" width="1302" height="816" data-path="images/archive-task-slack-1.png" />
  </Step>

  <Step title="Confirm the archive action">
    To avoid accidental changes, the modal includes a confirmation checkbox.

    * Check <strong>Yes, archive this task</strong> to confirm you really want
      to archive the selected task.
    * If you try to submit without checking this box, the modal will show a
      validation error.

          <img src="https://mintcdn.com/kimp360/l7TmkunSeeO0Fuf-/images/archive-task-slack-2.png?fit=max&auto=format&n=l7TmkunSeeO0Fuf-&q=85&s=ff52e6ee524a2cdcef87dd9dac33fc15" alt="Confirm archive" width="1310" height="816" data-path="images/archive-task-slack-2.png" />
  </Step>

  <Step title="Submit and wait for completion">
    Click <strong>Archive</strong>.

    * The modal briefly shows a status like “Archiving the selected task,
      please wait...” while KIMP360 processes the request.
    * If the archive is successful, the modal updates to confirm that the task
      was archived.
    * A confirmation message is also posted in the channel so your team can see
      that the task has been archived.
    * If something goes wrong (for example, API issues or permission
      problems), you will see an error message in the modal and an ephemeral
      message explaining that the archive failed.
  </Step>
</Steps>
