Routines: let an agent do it every week
Last updated:
A routine is work an agent does on a schedule. Set one up in plain words, check its next run and fix it fast when it fails.
A routine is work an agent does on a schedule: a Monday report, a morning inbox briefing, a weekly stock check.
Create a routine
Ask in plain words, with the day, time and time zone. The agent must confirm the date and time of the next run. If it doesn’t, ask “when is the next run?”.
Monday sales report
Every Monday at [8 a.m.] ([Montréal] time), send me here a one-page summary of last week’s sales [from Shopify]: total, top 5 products, and anything unusual. Confirm the date and time of the first run.
Morning inbox briefing
Every weekday at [7:30 a.m.], go through my inbox and send me here the emails that need my attention today, with a one-line summary each. Don’t reply to anyone. Confirm the next run date.
Replace the [brackets] with your details. The more context you give, the better the first answer.
Approvals in routines
The first time a routine wants to create or edit files, it asks. Choose Always for this routine to allow it for that folder. Sending, sharing and deleting always ask. See Approvals explained.
Check your routines
Ask “list my routines and their next run”, or open the agent’s ⋯ menu → Routines.
Weekly stock check
Every Wednesday at [5 p.m.], check our inventory and tell me which products are below [5 units] and how many weeks of sales are left at the current pace. Confirm the next run.
Replace the [brackets] with your details. The more context you give, the better the first answer.
When a routine fails
It is usually a connection to reconnect (you’ll see a Reconnect card), or a model your organization can’t use. Fix it, then check the next run date.
Pause, change or stop
Just ask the agent: “pause the Monday report”, “move it to 9 a.m.”.
Check your routines
List all my routines: when each one runs next, whether the last run worked, and anything that failed or needs a reconnection.
Replace the [brackets] with your details. The more context you give, the better the first answer.
Cost
Each run is billed like any agent task. See Balance and billing.
Do’s and don’ts
Do
- Automate something you really do every week
- Make sure the agent confirms the next run date
- Use a model your organization has access to
- Fix a failing routine quickly (often a reconnection)
Don’t
- Create routines you’ll turn off after a week
- Assume it’s scheduled because the agent said “OK”
- Pick a model from a provider your organization doesn’t use
- Leave a routine failing for days
Frequently asked questions
Why didn't my routine run?
Usually a connection needs to be reconnected, your organization can’t use the chosen model, or the schedule isn’t what you meant. Ask the agent “when is the next run?” and look for a Reconnect card.
Can a routine send emails?
Yes, but sending always asks for your approval, even in a routine.
Who can change it?
You can, by asking the agent. Pause it, move it or stop it in plain words.
