Routines and heartbeats
Make agents work proactively: routines on a schedule or a trigger, heartbeats that check in and act on change, time zones, missed runs and when to tell you.
Agents should not wait to be asked. A routine gives an agent work on a schedule or a trigger. A heartbeat has an agent check in on a rhythm and act only when something changed. Open Work › Routines (⌘⌥7 / Ctrl+Alt+7): "Work your agents repeat on a schedule. Tell any agent \"every Monday, send me…\" and it becomes a routine."
Create a routine#
Pick the Agent, write What to do each time, choose when it runs, and check Next runs before you choose Create routine.
"Every Monday at 09:00, check the three competitor pricing pages in our knowledge base. Compare with last week, link sources and flag changes. Draft a summary; don't publish."
Or simply ask the agent in its chat: "check our support inbox every weekday at 08:30". Agents can set up routines themselves.
When it runs#
| Trigger | Example |
|---|---|
| Daily | 09:00 every day. |
| Weekly | 08:30 on weekdays. |
| Every | Every 15 minutes, every 2 hours. |
| Once | One date and time, then it switches off. |
| Cron | Five fields: minute hour day month weekday. |
| Heartbeat | The agent checks in on a rhythm. See below. |
| Webhook | When another app calls the routine's address. |
| After an agent | When another agent finishes its work. |
| Telegram | When you message the agent on Telegram, once it is connected. |
Pick the routine's time zone under Clock. Daylight saving is handled: a time that doesn't exist on the spring-forward day moves forward, and a repeated time on the fall-back day runs once.
30 8 * * 1-5That cron line means 08:30 Monday to Friday.
Heartbeats#
A heartbeat is an agent checking in on a rhythm to follow up on anything stuck. "The agent wakes, looks for anything new, and only acts if something changed."
- One per agent, and it never counts toward your routines.
- Check in every 10 minutes, 30 minutes (the default), 1 hour or 4 hours.
- Run it Around the clock or Only during set hours.
If your computer was asleep#
Routines run on your computer while it is awake and Fluf is running. For each routine, choose what happens to runs it missed:
| Option | What happens |
|---|---|
| Run once when it wakes (default) | One catch-up run, then back on schedule. |
| Skip missed runs | Wait for the next scheduled time. |
| Catch up on each | Every missed time, up to 3. |
To avoid missed runs, see Keep agents running.
Tell me#
Results arrive as the agent's reply in its chat. Choose when the routine alerts you: After every run (default), When it needs me, or When a run goes wrong. How alerts reach you is set in App settings › Notifications; see How asks, approvals and results reach you.
Recent runs#
Open a routine to see when it runs, its next runs and its Recent runs: running, skipped, missed, stopped partway, or didn't start. Pause, resume, Run now, edit or archive it from there. Routines that hit a problem are grouped at the top of the list.
Watches#
Watches are read-only routines: they suggest, you decide. Use them to monitor something without letting the agent act.
Agents on Always ask#
An agent in Always ask mode starts its routine, then waits for your OK before each change. Switch it to Auto to let routines run on their own. See Permission modes.
Plan limits#
Free includes 6 routines across your account. Heartbeats are included and never use a slot. Pro has no routine limit.
