Claude · Automation

Create a routine with Claude: tasks that run on autopilot

The step-by-step guide to building a Claude routine that runs on its own in the cloud, even with your computer off. With a concrete example wired to your Asana.

QQuentin Megevand
June 1, 2026 · 7 min read

Most people use Claude like a chat: you ask a question, it answers, you close the window. Routines flip that. A routine is Claude on autopilot: you write the instruction once, and it runs on its own, at the time you choose, even with your computer off.

No nodes to wire like in Zapier or n8n. You describe what you want in plain language, and Claude reads the context, makes decisions, then acts. This guide shows you how to build one from scratch, and ends with a concrete example wired to your Asana.

One honest note before we start: routines are a feature of Claude Code, the version of Claude that acts instead of just answering. They run on Anthropic's servers, not on your machine. Do not worry about the technical side, I break down every term as we go.

Claude AI Lab

The Claude AI Lab is my Skool community where I share my Claude systems and the more advanced modules. Entry is free.

Join the Lab →
What you need before you start
1
A paid Claude plan. Pro, Max, Team, or Enterprise. Routines are not available on the free plan.
2
Claude Code on the web enabled. It is what runs your routines in the cloud.
3
A connected GitHub account. It gives Claude a working folder. A GitHub repository is simply a project folder hosted online.
4
Your tools connected as connectors. Asana, Slack, Gmail, Notion, Google Drive. A connector is the bridge between Claude and one of your tools.
The part that changes everything

A routine runs in Anthropic's cloud. Your computer can be off, in a meeting, or on holiday, and the task still runs at the scheduled time.

1

Understand a routine

🔗 claude.ai/code/routines

A routine is three things packaged together and saved once and for all:

📝
An instruction
The prompt Claude runs on every launch. It is the heart of the routine.
📁
A working folder
The GitHub repositories Claude works in. For a non-technical task, it does not even touch them.
🔌
Connectors
The bridges to your tools (Asana, Slack, Gmail) that the routine uses while it runs.

You package this once, attach a trigger, and the routine launches on its own every time the trigger fires. The difference with Zapier or n8n: those tools always repeat the same fixed sequence of actions. Claude reasons about what it finds and adapts its actions.

Good to know

A routine acts under your identity. Its actions go through your connected accounts: a Slack message comes from you, an Asana task is created by you. So give it only the access it needs.

2

Create your routine

📍 claude.ai/code/routines → New routine

Go to claude.ai/code/routines and click New routine. You can also use the desktop app (Routines tab, then New routine, choose Remote for the cloud).

⚙️The creation form, step by step
5
Open the form. On claude.ai/code/routines, click New routine.
6
Name the routine and write the instruction. This is the most important step. The routine runs on its own, so the instruction must be explicit: say what to do and what success looks like. Also pick the model (Sonnet for daily work, Opus for complex topics).
7
Select your working folder. Add a GitHub repository. For a non-technical task like reading your Asana, any repository will do, Claude will not touch it.
8
Choose the environment. The environment is the bubble the routine runs in and what it is allowed to reach on the web. The Default option is enough to start.
9
Pick your trigger. In the Select a trigger section, you define how the routine starts. I cover the three types right after.
10
Review connectors and permissions. By default, all your connectors are included. Remove the ones the routine does not need.
11
Create the routine. Click Create. To test it right away without waiting for the scheduled time, click Run now on its page.
Tip

You can also create a scheduled routine straight from the terminal with the /schedule command, for example /schedule daily PR review at 9am. Claude asks you the same questions as the form.

3

Pick your trigger

📍 Select a trigger section

The trigger is what starts the routine. You have three, and you can combine them on the same routine.

📅
Scheduled
The routine runs on a cadence: hourly, daily, weekdays, weekly, or once at a specific time. You enter the time in your zone, it is converted automatically. Minimum one hour between runs.
🌐
API
Claude gives you a dedicated web address and a secret key. Another tool (an alert, your deploy pipeline) calls that address to launch the routine, and can pass it context text.
🐙
GitHub
The routine reacts to an event on your code: a new pull request, a release. Handy for developers. You need to install the Claude GitHub App.

To start, the Scheduled trigger is the simplest and covers 90% of daily needs. It is the one we use in the Asana example below.

Useful detail

A scheduled run may start a few minutes after the exact time, that is normal. And one-off runs (a single time) do not count against your daily routine limit.

4

Connect your tools

📍 claude.ai/customize/connectors

Connectors are your claude.ai integrations: Slack, Asana, Linear, Google Drive, Gmail. They are how the routine reads from and writes to your tools while it runs.

For a tool to be available in a routine, first add it as a connector at claude.ai/customize/connectors. Then, in the routine form, all your connectors are included by default. Keep only the ones that serve a purpose.

A security rule you should not skip

In a routine, Claude can use every tool from an included connector, including write actions, without asking you for confirmation while it runs. So keep only what this specific routine actually needs.

Concrete example: your morning Asana routine

A quick honest note before the example: Asana is not a trigger, it is a connector. So we combine a Scheduled trigger (every morning) with the Asana connector. The result: every day, before you even turn on your computer, Claude reads your tasks and prepares your brief.

🎯The routine, built in 6 steps
12
Connect Asana as a connector. On claude.ai/customize/connectors, add Asana and authorize access.
13
Create a new routine. claude.ai/code/routines, New routine. Name it "Morning Asana brief".
14
Write the instruction. Paste the prompt below and replace the brackets.
15
Choose the working folder. Any GitHub repository, Claude does not touch it for this task.
16
Set a Scheduled trigger. Every day, at 8am in your zone.
17
Keep only Asana (plus Gmail or Slack if you want to receive the brief there), remove the other connectors, then click Create and test with Run now.

The instruction to paste (customize the brackets):

Every morning, read my Asana tasks in the [PROJECT NAME] project
that are due today.

Prepare a short brief for me, in English:
- Group the tasks by priority (urgent, important, the rest).
- Spot tasks with no date or no owner, and flag them.
- Spot likely blockers (a task that depends on another one).

End with the 3 actions I should start with first. If everything
is empty, say so in one sentence.

That is it. Every morning at 8am, computer off, Claude opens your Asana, sorts your tasks for the day, and gives you a brief ready to read. Want it sent by email or to Slack? Add a line to the instruction like "send me this brief by Gmail to my address" and keep the matching connector.

Going further

Once this routine runs, you just swap the instruction to build others: a recap of your unread emails, a weekly board cleanup, a summary of newly assigned tasks. The skeleton does not change, only the instruction evolves.

Want to go further?

And day-to-day, I post one reel a day on Instagram: @quentin_iamarketing