Routines
A routine is standing work an agent does without being asked each time: a morning brief every weekday, a reply whenever a certain email arrives, or watching a price until it drops. Each run starts a new task you can open, read and continue.
Routines run as you, with your apps and permissions. Anything that would send something to other people asks first unless you’ve chosen “Always” for it (see Approvals), because nobody is watching when a routine runs.
Kinds of routine
Section titled “Kinds of routine”| Trigger | Example |
|---|---|
| On a schedule | Every weekday at 9:00; every Monday and Thursday at 8:30; the first of each month |
| Once, as a reminder | Friday at 3pm |
| When an email arrives | The routine gets its own email address; forward mail to it or set up an inbox filter |
| When a webhook is called | Another tool posts to the routine’s private URL |
| On an app event | A new Gmail message, a new Slack message, through a connected app |
| Until a goal is met | “The flight to Goa drops below ₹6,000”: the agent checks every so often and stops when it’s done or the give-up date passes |
With Chat on, a routine can also start when a phrase is posted in a channel.
Create a routine from chat
Section titled “Create a routine from chat”Just ask: “Every weekday at 9, summarise my unread email and Slack mentions in five bullets.” The agent shows a card with the schedule in plain words and the next runs. Choose Start routine to create it.
Agents also suggest routines while you set them up, and when you ask for the same thing several times. Suggested routines appear on the setup card with checkboxes; tick the ones you want.
Create a routine with the form
Section titled “Create a routine with the form”- Open Routines (under Your setup) and choose New routine.
- Pick Which agent runs it.
- Write What should it do each time? like a note to a colleague.
- Choose When it runs and set the trigger. The schedule picker covers weekdays, every day, weekly, monthly and hourly; Custom takes a cron expression (five fields: minute, hour, day, month, weekday). Teemli shows the next three runs in the routine’s time zone.
- Optional: Also post results in the chat, and Email me the results.
- Choose Create routine.
For email and webhook routines, Teemli then shows the routine’s address or URL. Copy the webhook URL straight away: it’s shown in full only once. If it leaks, open the routine and choose Get new URL; the old one stops working at once.
Running and results
Section titled “Running and results”- Every run is a task. Open it from Tasks, or from the routine’s run history.
- Run now tries a routine immediately.
- The routine’s page shows the next runs, when it last ran, and its history: what started each run, how long it took and what it cost.
- Email me the results sends each scheduled run’s result by email, with a link to stop the emails. Runs you start with Run now aren’t emailed.
Pause, edit and delete
Section titled “Pause, edit and delete”Each routine has an on/off switch. Edit changes it from the next run. Delete stops it for good; tasks from earlier runs stay in Tasks.
If a routine fails three times in a row, Teemli pauses it (Paused after failures) and leaves a note in the agent’s chat. Fix the cause and choose Resume.
Limits
Section titled “Limits”To keep costs and mistakes in check, there are caps on how many routines each person and agent can have, how often a routine may run, and how many event-triggered runs happen per hour (extra runs are skipped). Routines of a paused agent don’t run.