All articles
cpaua
·2 min18

Claude Code Routines: Scheduled, API, and Webhook Automations

Читати українською

Claude Code now has: routines (in preview)

You set up a routine once (prompt, repository, and connectors), and it can run on a schedule, via an API call, or in response to an event.

Routines run in Anthropic’s web infrastructure, so you don’t need to keep your laptop on.

Each routine has its own API endpoint, so you can route alerts, deploy hooks, or internal tools directly into Claude. Try sending an alert payload and asking it to find the responsible service and post a triage summary in #oncall.

Make a POST request with a message and get a session URL in response.

Webhook routines subscribe to GitHub events and let Claude react to them as they come in. You can connect one to a repository and ask it to tag any PRs that touch /auth-provider and post a summary in #auth-changes.

Additional event sources are coming soon.

Scheduled routines let you set a cadence and not come back to the task. You can configure it so that every night at 2:00, Claude takes the top bug from Linear, tries to fix it, and opens a draft PR.

If you used /schedule in the CLI, it’s now routines—no migration needed.

Available now on all paid plans as long as Claude Code is enabled on the web. 🤔

Share:
Author
cpaua

VibeCode blog admin. Writing about vibe coding, AI and open source.

Comments

To leave a comment, log in or sign up
Loading...

Related articles