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

# Routines

> Have Token do recurring work on its own, like a daily summary or a reminder.

Beyond answering messages, Token can do work on a schedule, without you asking
each time. A routine is a standing instruction that runs on its own, like
a teammate who reliably handles a recurring chore.

## What they are good for

<Columns cols={2}>
  <Card title="Morning summary" icon="sun">
    A digest of your day or your calendar, first thing.
  </Card>

  <Card title="Reminders" icon="bell">
    A nudge ahead of a meeting or a deadline.
  </Card>

  <Card title="Periodic digests" icon="rotate">
    A roundup of what changed in a connected tool.
  </Card>

  <Card title="Any routine" icon="repeat">
    Anything repeatable you would otherwise ask for every time.
  </Card>
</Columns>

## How to set one up

The simplest way is to just ask Token in chat. Describe what you want and how
often, and Token sets it up.

<CodeGroup>
  ```text Ask Token theme={null}
  Every weekday at 8am, send me a summary of today's calendar.
  ```
</CodeGroup>

You can also create and manage routines from the **Routines** section of the
dashboard, where you can see what is scheduled, edit a routine, or turn one off.

## If a routine cannot reach a tool

If a routine runs but a tool it needs is not set up, Token does not fail
silently. It posts a card in the channel showing the routine, when it next runs, and
what is missing, with buttons to fix it:

| Button         | What it does                                                       |
| -------------- | ------------------------------------------------------------------ |
| **Set it up**  | Walks you through setting up the missing tool, right there.        |
| **Run it now** | Retries the routine immediately, without waiting for the next run. |
| **Not now**    | Dismisses the card.                                                |

<Check>
  Once the missing tool is set up, the card heals on its own and the routine goes
  back to running normally.
</Check>

## Good to know

* **They follow the same rules.** A routine goes through the same
  [approvals](/permissions) as anything else. It cannot do something in the
  background that it would not be allowed to do live.
* **Quiet when there is nothing to say.** A well-set-up routine only messages you
  when it actually has something to report, so it does not become noise.
* **You stay in control.** Change the timing, adjust the instruction, or cancel a
  routine at any time, either by asking Token or from the dashboard.
