Routines: run a brief on a schedule

Repeat a conversation on a schedule with Repeat this, cap what each run and each month may spend, see the next runs and the run history, and get notices when a run is skipped, waits or fails.

Updated

A routine runs a brief, or one of your skills, by itself on a schedule, within caps you set. Each run is an ordinary message in Just make it mode, and what it makes waits for you as drafts in the routine's conversation. A routine never publishes anything.

Make a routine from a conversation

  1. Open a conversation that went the way you want.
  2. Open ••• (Conversation options) and choose Repeat this.
  3. The New routine form opens with that conversation and its last brief. Check What should each run make? and give it a Name.
  4. Choose On days of the week (pick the day chips and the time), Every few hours, Once or Only when I start it. The sentence above the choices says the schedule back to you, with the next runs below it. Times are in your time zone.
  5. Set Most credits a run, Most generations a run and Most credits a month. From Repeat this the caps start filled, at 1.5 times the quote a run and that times the runs in a month, and sit folded under one sentence, such as "About 8 credits a run. It stops at 12 a run and 60 a month." Open it to change them. If no quote comes back the fold opens, because the two credit caps are required.
  6. Leave Turn it on now on, or switch it off to keep it paused. Choose Save routine.

You can also start one from Library tools › Routines or at /app/routines, where you set the caps yourself, or ask the agent: "Make this a routine every Monday at 9." The agent saves it paused and asks you, in the chat, to turn it on; it can't turn one on without your yes.

The Routines page

/app/routines lists your routines, one row each: its name, its schedule in words, whether it is On or Paused, its next run in your local time, and what it spent this month against the month cap. Each row has Run now; Edit, Pause or Turn on, and Delete are under •••.

Open a routine to see its next three runs, its caps and its Run history, with Run now, Pause or Turn on and Edit at the top (Delete is under ••• there): when each run was due, its status, its quote, its cost and its results. A run that needs your answer (an approval or a question) shows Answer in the conversation.

StatusWhat happened
Delivered / Part deliveredThe run finished with all, or part, of what it asked for.
Waiting for youThe run needs your answer in its conversation.
FailedThe run stopped. Three failures in a row pause the routine.
Skipped: over its capIts quote was over the per-run cap, or over what the month cap had left. Nothing was charged.
Skipped: not enough creditsThe balance was below its quote. Nothing was charged.
Could not runIts skill was deleted or is no longer shared, or you left the workspace.

Notices

  • Inbox: every run that ends, waits or is skipped, and every pause. Skips of one routine share one notice a day, showing the quote and the caps.
  • Email: a failed or waiting run and a pause are emailed at once. Skips send at most one email per routine a day, so an hourly routine on an empty balance sends one email, not 24. A run that delivered is in your usual "your creation is ready" email.
  • Webhooks: subscribe an endpoint to routine.run.completed and routine.paused (or routine.*). See Session API.

Limits

  • At most 10 routine runs start per workspace an hour; one run of a routine at a time.
  • After an outage only the latest missed run starts; the others are recorded as missed.
  • Month caps count in the UTC calendar month.

Related guidance