Alan Docs

Automations overview

Save agent instructions once and let Alan run them on a schedule, on a GitHub, Bitbucket, or Alan event, or when you press Run now.

Alan's Automations page for a team

An automation is a saved set of instructions that Alan runs for you, again and again, in your team's cloud environment. Write it once ("every weekday at 9:00, summarise yesterday's merged PRs"), choose what starts it, and each run becomes an agent session you can open and read.

Open Automations in the team sidebar (it may sit under More if you haven't pinned it).

The Automations page for the Alan Eng team, showing totals for Total, Active, Running now, Needs setup, and Runs this week, and five automations such as Nightly regression and PR review reminder, each scheduled for weekdays at 9:00 AM, with an on/off switch and a New automation button in the header.

What a run is

Each run starts an agent session in a new conversation, using the automation's instructions and allowed tools. It runs on a temporary cloud computer and can create plans, reports, or other artifacts.

Because a run is an ordinary session, you read it the same way you read any session. See Automation runs.

What an automation holds

PartWhat it does
Name and iconHow the automation appears in the list
InstructionsWhat Alan does on every run ("What should Alan do?")
TriggersWhat starts a run (at least one is required)
ToolsExtra actions Alan may take, picked with Add Tool
AgentThe coding agent, model, and effort level for each run
VisibilityTeam (every teammate can see and run it) or Personal (only you)
Runs onYour team's cloud environment

What can start a run

Choose triggers with Add trigger in the editor. The picker groups them like this:

GroupExamplesFires when
ScheduleEvery hour, Every day at 9 AM, Every Monday at 9 AM, Custom scheduleThe time comes round, in the timezone you choose
GitHubPull Request Opened, Pull Request Merged, PR Checks Failed, Issue Opened, Release PublishedThat event happens in a connected GitHub repository, optionally filtered to one repository and branch
BitbucketPull Request Opened, Pull Request Merged, Review Submitted, Pull Request Commented, Push to BranchThat event happens in a connected Bitbucket repository
Alan activityTask Created, Task Status Changed, Task Assigned, Document Created, Task Commented, Mentioned @alanSomething happens in Alan

You can also start any automation yourself with Run now, whatever its triggers are. That's how you test one before you rely on it.

Some entries in the picker are marked Coming soon and can't be selected yet, including Custom Webhook and several task events such as Task Unassigned. Slack messages can't start an automation yet. See Create an automation for the limits on schedules and events.

Find and organise automations

  • The totals across the top show Total, Active, Running now, Needs setup, and Runs this week. Select Active to show only automations that are on.
  • The filter button narrows the list by status (Active, Paused), target (Cloud, Local), trigger, and visibility (Team, Personal).
  • The sort menu orders by Activity, Name A–Z, Name Z–A, Last run, Next run, Most runs, or Recently created.
  • All groups filters by group. Choose New group to create one; a group is a named folder for related automations.
  • Select an automation to open a side panel with Run now, Edit, and Open (the full page).
The Automations list with the Nightly regression automation selected and a side panel showing Run now, Edit, and Open buttons, an on/off switch, the next run on Monday at 9:00 AM, its weekday schedule trigger, no recent runs, and details including Runs on Local Dev Cloud, Agent Default, Tools None, and Visibility Team.

On, paused, and needs setup

An automation is either on or paused; use the switch on its row, side panel, or page. A paused automation never fires by itself, but you can still press Run now.

The list also flags automations that need you:

LabelMeaning
Needs setupThe automation has nowhere to run: its cloud environment is missing, deleted, or archived. A banner above the list says how many can't run, with Set up. You can't turn it on until this is fixed.
RunningIts latest run is still pending or running.
FailedIts latest run failed, was interrupted, or timed out.

When to use an automation

Use one when the same instructions will run more than once, the trigger is predictable, and you can check the result: a review on every new PR, a weekly report, a scheduled cleanup.

Don't put work that still needs steering turn by turn into an automation. Run it as a task session first, then save the repeatable part as an automation once it works.

Next steps

On this page