Claude Code Just Got Triggers. Here Is the Always-On Claude Stack.
TL;DR
- Claude Code Routines entered research preview on 14 April 2026
- Three trigger types: Scheduled (cron-style), API (HTTP POST), and GitHub (repo events)
- Routines run on Anthropic-managed cloud infrastructure, so they keep working when your laptop is closed
- Pro gets 5 executions per day, Max 15, Team and Enterprise 25
- Three starter routines worth building this week: weekly competitor digest, founder inbox triage, and PR-triggered content QA
- Paired with Managed Agents, this is the first credible always-on Claude stack
Before 14 April 2026, making Claude run without a human in the loop meant building your own plumbing.
You needed a cron job on a server somewhere. A webhook receiver. A bit of glue code to call the Anthropic API. Some way to handle failures. And something to check on the whole thing when it broke.
It worked. It was also the reason most marketing teams never built a single scheduled AI workflow.
That changed with Routines.
What Routines Is
A Routine is a saved Claude Code setup. A prompt, one or more repositories, and a set of connectors, packaged once and run automatically. It runs on Anthropic's cloud infrastructure, not on your laptop.
That last bit is the important one. Before Routines, Claude Code was tied to your machine. You closed the lid, the automation stopped. Routines cut that cord.
There are three ways to fire a Routine.
Trigger 1: Schedule
Cron-style recurring execution. Every hour. Every weekday at 7am. Every Monday at 9am. Set it once and Anthropic handles the clock.
This is the workhorse. Most useful automations are on a schedule. A morning competitor check. A weekly client report. A nightly content audit. These are not events. They are rhythms.
Trigger 2: API
Every Routine gets a per-Routine endpoint. You send an HTTP POST with a bearer token to /fire and the Routine executes.
The beta header to watch is experimental-cc-routine-2026-04-01. The request and response shape is still moving while this is in research preview, so do not build anything you cannot afford to break on the exact payload yet.
API triggers are the bridge from any other tool to Claude. Your form submissions, your webhook events, your Zapier or n8n flows can now all call a Claude Routine directly. No server required.
Trigger 3: GitHub
Repository events fire Routines automatically. Pull request opened. Release cut. Issue created.
This one looks developer-focused, and it is. But it is also how a marketing or content team can run a review on every change to a published site, a blog post, or a shared document that lives in Git. Do not dismiss it just because it says "GitHub."
Note the limits. GitHub webhook events are subject to per-Routine and per-account hourly caps during the research preview. Plan accordingly.
The Daily Run Limits
Pricing is not the whole story. Execution caps are.
- Pro plan: 5 executions per day
- Max plan: 15 executions per day
- Team and Enterprise plans: 25 executions per day
That is a soft ceiling. Five runs per day on Pro means you can schedule one weekday morning routine with buffer, not ten of them. If you plan to run Routines across multiple workflows, a Team or Enterprise plan is not a nice-to-have.
Also note this is a research preview. Rate limits, token semantics, and payload shapes may change. Build in a way that assumes the contract is not final.
What Routines Displaces
Routines kills two things and leaves two alone.
It kills DIY cron-plus-webhook setups where Claude is the core logic. If you have a Linux server running a cron job that calls the Anthropic API, that server is redundant now. Rip it out.
It kills simple self-hosted n8n workflows built around Claude. If your n8n graph is a trigger, a Claude call, and an output, Routines does the same with less operational overhead.
It does not kill n8n or Zapier as orchestration layers. If your flow touches ten different vendors before or after Claude, keep the orchestrator. Routines handles the Claude side of that flow.
It does not kill GitHub Actions for CI/CD. Actions is a build and deploy runtime. Routines is not. They are different jobs.
The Combo That Matters
Routines on its own is useful. Routines plus Managed Agents is the first real always-on Claude stack.
Here is the pattern.
- Routines is the trigger layer. It decides when work runs.
- Managed Agents is the execution layer. It handles the actual work, including long sessions, tool use, and retries.
Routines fires a Managed Agent session. The Managed Agent does the work. Results come back through events. The whole thing costs a dollar or two a day to run continuously.
That is the shape of a production AI operation for a B2B team, and it did not exist three weeks ago. The full view of where Routines sits in Anthropic's product line is in our five levels of the Anthropic stack pillar. It is Level 4. Most businesses should be at Level 1 or 2 first.
Three Starter Routines Worth Building This Week
Ignore the flashy multi-step demos for now. Here are three that a B2B operator can use this week.
1. Weekly Competitor Intel Digest
Trigger: every Monday at 8am.
Action: pull the last seven days of changelog entries, pricing page changes, and LinkedIn posts from your top three competitors. Produce a three-bullet summary per competitor, flag anything that matters, and email it to you.
Why this one: every marketer says they track competitors. Almost nobody does it consistently. This one task compounds fast.
2. Founder Inbox Triage
Trigger: every weekday at 7am.
Action: read overnight inbox, classify messages into urgent, client, admin, and noise, draft one-line reply suggestions for the first two categories, and post the digest to a shared channel.
Why this one: the best version of this is worth more than most SaaS subscriptions. A Routine is now the cheapest way to run it.
3. PR-Triggered Content QA
Trigger: GitHub event (pull request opened on your content repo).
Action: review the PR diff against your brand tone of voice rules, flag any banned words, confirm heading structure is clean, check facts that can be checked, and comment on the PR with findings.
Why this one: every agency and content team needs this. Until now, it was a human job or a brittle custom script. A Routine does it automatically.
If you have a Git-backed content workflow (markdown or MDX files in a repo, which is how this site is built), this is a freebie. If you do not, start with the first two routines.
What to Do This Week
Three actions.
Read the Anthropic Routines docs. It is short. The feature surface is small. Do not overbuild a mental model.
Pick one of the three starter routines. Run it for two weeks. Measure whether it saves you time or improves a decision. Kill it if it does not.
Wait on anything you cannot afford to break. This is research preview. APIs will change. Do not rebuild your business on a beta header until it ships in GA.
For the wider picture of how the Anthropic stack now pairs up, see the five levels pillar. For the specific call on whether a given workflow should be in Cowork or Claude Code first, see the Code vs Cowork pillar.
The trigger layer was the missing piece. It shipped. Build accordingly.
Frequently Asked Questions
What is a Claude Code Routine?
A Routine is a saved Claude Code configuration (prompt, repositories, connectors) that Anthropic runs on its cloud infrastructure on a trigger. The three trigger types are schedule (cron-style), API (HTTP POST to a per-Routine endpoint), and GitHub (repo events). Routines launched in research preview on 14 April 2026.
Do Routines run when my computer is off?
Yes. That is the core shift. Before Routines, Claude Code ran on your machine, so automation stopped when you closed your laptop. Routines run on Anthropic-managed cloud infrastructure, so they fire on their schedule regardless of your machine's state.
What are the daily execution limits?
Pro plans get 5 executions per day. Max plans get 15. Team and Enterprise plans get 25. These limits apply to the research preview and may change at GA. If you plan to run multiple Routines, Team or Enterprise is practically required.
Does Routines replace n8n, Zapier, or GitHub Actions?
Not fully. Routines replaces the Claude-specific parts of automation flows, and it replaces simple cron-and-webhook setups where Claude was the core logic. It does not replace multi-vendor orchestration tools like n8n or Zapier, and it does not replace GitHub Actions for build and deploy workflows. Use Routines for the Claude-specific layer and keep your orchestrator for the rest.
Is Routines production-ready?
No. It is a research preview as of 14 April 2026. The API contract, rate limits, and beta header are subject to change. Build with that in mind. Do not run anything business-critical on Routines until it reaches GA. It is ready for experimentation, learning, and lower-stakes use right now.
How much do Routines cost?
You pay standard Claude API token costs for the work the Routine does. The scheduling and execution infrastructure itself is included in your Claude plan within the daily execution limits above. There is no separate per-session runtime fee as with Managed Agents during the research preview.
Take Action
The single biggest question with Routines is not "what could I build?" It is "where should this sit in my AI setup?" Read our pillar on the five levels of the Anthropic stack to find your rung. Routines is a Level 4 capability. Most B2B businesses should master Level 1 or 2 first.
If you are weighing whether to run work through Claude Code with Routines or through Claude Cowork instead, the Code vs Cowork decision pillar settles it in one page.
Sources referenced in this post: