# Routines

> Built-in jobs that run on a schedule or an event. You turn them on and off.

> [!WARNING]
> **Preview.** Brain is new and still changing. You cannot write your own routines yet.

Open **Routines** in the sidebar. Owners and admins turn each routine on or off; daily routines also have **Run now** and an hour and time zone.

| Routine | When | Default |
|---|---|---|
| Tell admins when a push changes translation files | a GitHub push | on |
| Learn glossary terms from your translation edits | a translation is corrected | on |
| Every day, draft missing translations for review | daily, 06:00 UTC | off (spends AI credits) |
| Draft new keys in every language | keys are added with only their source text | off (spends AI credits) |
| Every Friday, plan next week's posts for review | weekly | off (spends AI credits) |

Nothing a routine does goes live without a person's yes, unless you choose otherwise for **Draft new keys** (below). A routine never opens a pull request; when it needs a yes, it waits under **Needs you**.

## Draft new keys

When a key is added with only its source text (by `lefine mcp`, the API or the dashboard) in an app with other languages, this routine drafts it in every language, with the glossary and the tone from [Memory](https://lefine.ai/en/docs/brain/memory/). Then it asks you once to publish exactly those keys.

Keys are gathered in two-minute windows, one batch per window: an agent that adds ten keys one by one gets one draft run and one approval.

**Going live** has two choices: **Ask before going live** (the default) or **Publish without asking**. The second lets only this publish through: this app, the keys the routine found.

## Runs

The **Runs** tab lists every run with its status. Each run opens as a conversation tagged **From routine** in the Brain panel.

Source: https://lefine.ai/en/docs/brain/routines/
