---
title: "AI task automation driven by the changes that matter | Comma"
description: "Tell Comma in chat what to watch and when to notify you. It writes a background Loop that checks for changes and wakes your agent when your condition is met."
url: https://comma.surf/en-gb/automations
language: en-GB
---

# Tell Comma what to watch.It tells you when it happens.

Ask in chat. Comma writes a Loop, a small program that runs on Comma's servers. The Loop checks an inbox, a repository or a feed, and wakes the agent only when your condition is met.

[Get started](https://app.comma.surf/) [About Loops](https://comma.surf/en-gb/docs/salix/loops)

## A Loop set up in chat

In Comma's Home chat, Alex asks Comma to watch the acme/api repository on GitHub and to tell him when a pull request touches billing. Comma answers that it wrote a Loop, shows the Loop as code, and names the Task that holds it. The Task shows in the Tasks list with the mark On updates.

## Most checks find nothing. The agent sleeps through them.

The Loop looks at every change. It wakes the agent only when your condition is met. Only then does the agent run and use model tokens.

### It watches while you are away

A Loop runs on Comma's servers, without an always-on sandbox. Your computer can be off. Open the Task to see what the Loop watches and what it reported.

### It takes events from your own systems

Send an event to a Loop through the API, or through the Loop's secret webhook URL. A build server or any other service can supply the signal. The Loop checks the event and can wake the agent.

### It keeps its place, and it stops itself

A Loop saves a checkpoint and gets it back when it starts again. It can wake the agent only a limited number of times in ten minutes. A Loop that stays at that limit for an hour pauses, and the Task shows it.

## Set one up in chat.

There is no builder. You describe the watch, and the agent writes it.

1. **Say what to watch.** Name the source, the change that matters and the response you want. For example: watch a release feed for breaking API changes and summarise any match.
2. **Comma writes the Loop.** The agent writes a Loop, and Comma runs it on its servers. The Loop checks sources or receives events, within your access.
3. **A match starts the work.** When attention is needed, the Loop notifies its agent. What the agent does next depends on your instruction, its tools and its permissions.

## Questions about Loops

### What can I automate with Comma Loops?

Watching an inbox, repository or feed you can access, classifying what changes, and notifying the agent when a condition needs attention. The follow-up depends on the agent's instructions and tools.

### What can trigger a Comma Loop?

A source it watches, such as an inbox, repository or feed, or an event an external system sends through the Loop's API or secret webhook URL, within the Loop's capabilities and your permissions.

### How is this different from a scheduled task?

A scheduled task starts at a set time. A Loop responds when a condition or signal calls for work. The [Routines briefing](https://comma.surf/en-gb/proactive) prepares prompts for you to send; it does not run every item on its own.

### Does an automation get extra access to my accounts?

No. A Loop acts with its creator's authority and a fixed set of capabilities. For example, the read-only Google Workspace connection cannot send email because a Loop saw a new message.

### How does Comma handle repeated triggers and failures?

Agent wake-ups are limited within ten minutes, and a Loop that stays at the limit for an hour pauses. After a fault, the server restarts the Loop from its checkpoint at most three times an hour; after that it stops and tells its agent.

### Does my computer need to stay online?

Not for the Loop: it runs on Comma's servers, without an always-on sandbox. If the follow-up needs files, apps or a coding runtime on your computer, that computer must be online for that work.

## Tell Comma what deserves a closer look.

[Plan a workflow with Comma](https://app.comma.surf/) [About Loops](https://comma.surf/en-gb/docs/salix/loops)
