A routine is work that repeats, handed to one of your agents: when the time comes, or when something happens, the agent carries out an instruction on its own and posts the result to its chat with you. For example "every Monday morning, roll up the watches I follow into a weekly document" or "whenever this watch publishes a brief, pull out what it says about mass production". You can open each run to see what happened, open what it produced and undo it.
What it's for and how people use it: Routines on waper.ai.
The “Open in Waper” link in email, Telegram and Slack takes you directly to the result message for that run.
To keep up with a field, use a watch. To have an agent do something for you when the time comes, use a routine.
Every routine belongs to one agent. That agent carries it out, its chat is where the results go, and the routine is listed on its profile page under Routines.
Each run posts its result to the chat of the agent it belongs to ("Post results to: Chat with … (default)"), or to a group chat that agent is in: "Post results to" lists the groups it is in. You can also say it in a chat, for example "post the results of the Monday routine in the funding group". If the agent isn't in that group, it can't post there: add it in the group's details first. If the group is deleted or the agent is removed from it, later results go back to the agent's own chat. Under Also send to you can add more places for a copy: email, a document, Telegram or Slack. "A document" is a new document for each run. Telegram has to be linked first (Settings → Connections → Channels) and Slack connected first in Connect apps. When an agent sets up or edits a routine in a chat to post to a Slack channel, the rules for sending in your name apply: if you haven't mentioned that channel (not said in this request, not on your trusted recipients, never sent to through Waper before), it asks once; when you set it in the form, it doesn't ask again.
When a run stops to ask you something, the card is in that same chat, and the chat's row in the list says Needs you.
Briefs and alerts from a watch aren't a routine: where they are posted is set in the watch's settings; see "Briefs" in Watches.
Open an agent's profile page, go to Routines and select New routine (the first time, Get started). There are three ways to begin, and all of them make the same thing:
You can also say it in a chat, for example "every Friday at 5 pm, turn what I saved to the library this week into a document". The agent sets it up directly, and the chat shows a card that says when it runs and where results go (written by Waper from what was set up), with Undo beside it.
Under the form you'll find Suggestions: each card reads "what starts it → what the agent does". Select one to put it in the description box, make it yours and draft it; routines that come with an app can be turned on directly.
Choose one-time run dates and end dates from the calendar. Month names, weekdays and date formatting follow your Waper interface language. Clear the end date with the button next to it to remove the expiry.
These settings are under the slider icon in the form's toolbar (Routine settings). To change any of them later, edit the routine or tell the agent in its chat.
Besides a time, a run can start when one of these happens. Some start the moment it happens; for others Waper looks every so often, so the run comes a little later.
| What starts it | Which event | How fast | What you give |
|---|---|---|---|
| A watch | A new brief is published; an alert you set is met | Checked about every 15 minutes | Pick a watch (you start following it; alerts only exist on watches you created) |
| A feed | A site or feed publishes something new | Depends on how often it publishes: every half hour to twice a day | The address of the site or its feed |
| Agent's mailbox | You send or forward an email to your Agent's address | At once | Nothing; you can copy the address in the form |
| A webhook | Another system sends a request to a private address | At once | Nothing; you get the address once it is created |
| Gmail, Outlook | A new email arrives | By plan: about every 60 minutes on Free, 30 on Personal, 15 on Pro | Connect the app first |
| Google Calendar | An event is about to start | Same | Connect first |
| GitHub | Your review is requested, you are mentioned, something is assigned to you, a watched repository publishes a release, or any notification | Same | Connect first |
| Notion | A page you shared with Waper is created or edited | Same | Connect first |
Using several apps as triggers makes each one checked less often; the line in the form shows your actual interval. The ones that are checked every so often can be late but do not skip anything: each check carries on from where the last one stopped. Only an app that stays disconnected for more than a day, or more than a hundred items arriving between two checks, leaves something unfetched, and the run history says so.
Mail to your Agent's address. Only mail from the email you signed up with is accepted. Add conditions to choose which mail belongs to this routine (the subject contains "invoice", say). Mail that meets them starts a run instead of an email reply. Without conditions, every email the address receives goes to this routine, and you can no longer talk to Kiki by email, so you will usually want conditions. Attachments themselves are not kept; the agent gets the subject, the text and the attachment names.
Webhooks. Once the routine is created, its card shows a private address with a copy button. Each POST to it starts a run, and the request body is what the agent gets to work with:
Idempotency-Key header (Webhook-Id, X-GitHub-Delivery and X-Delivery-Id work too); without one, the same body counts once for five minutes.The Routines tab of an agent's profile page lists its routines as cards: what starts it, its state, its name, the instruction and the next run. The ⋯ menu on a card lets you Pause or Resume it, Test run it (run it once now; it is charged like any run and doesn't count toward the daily limit; with only event triggers it uses the most recent real event, or a sample that says it is one), Edit it, or Delete it (with Undo in the message that follows).
Run history lists every recent run: when, how it went (Running, Done, Nothing to report, Needs you, Failed, Skipped), one line on the result, what started it, and where the result also went (for example "Sent to: chat, email", with one sentence for anything that did not go out). Switch to Calendar to see past runs and upcoming scheduled ones on the same month.
The built-in routines of apps you turned on (such as the daily GitHub brief) are listed on Kiki's profile page, where you can pause and resume them. Change their settings on that app's page in Connect apps. When you ask an agent in a chat which routines you have, it lists these too, saying which app each came with and whether it is running; you can also ask it to pause or resume one.
A run follows the same rules as a chat (see When it asks first), with no separate setting. There is one difference: what a routine does isn't something you asked for in the chat yourself, so nothing happens just because "you said so".
A run can't ask another agent for help: routine work is done by the agent it belongs to.
Free lets you set up 3 routines across all your agents (built-in app routines don't count); at the limit, New routine first explains what upgrading adds. Personal and Pro have no limit, and each run uses credits for what it does. See Plans & credits.