Creating Automations
Create an automation, set up its triggers, and control what it can access.
An automation runs the project agent when an event happens or a schedule comes due. Define the work once, choose when it runs, and control what it can change.
Video walkthrough
Watch on YouTube, or follow the written steps below.
Creating an automation
- Open Automations in your project and select Create.
- Give the automation a name that describes its job.
- In Agent Instructions, describe what the agent should do, which project information it should use, and what result it should produce.
- Leave the model on Auto, or select a specific model and its settings.
You can also ask the agent in web chat to create an automation. It asks you to choose the triggers, restrictions, and MCP Servers, then presents the automation for you to confirm.
Setting up a trigger
In Triggers, select Add Trigger and choose what should start a run.
- Event triggers start a run when something changes in your project. Select the event and configure any available filters, such as a work order status or label.
- Code Push starts a run after connected code is reindexed. Choose specific repositories or Any connected codebase.
- Scheduled starts a run at a repeating time. Choose Hourly, Daily, Weekly, or a Custom cron expression. Preset schedules use your local time zone; custom cron expressions use UTC.
An automation can have multiple triggers, but only one Scheduled trigger.
Restricting the automation's access
An automation runs with its creator's permissions. Restrictions narrow what it can create or edit; they never grant extra access.
- Under Restrictions, select Add Restriction.
- Choose the area you want to restrict.
- Select Cannot create to prevent new items, or Cannot edit or create to make that area read-only.
- Repeat for each area the automation should not change.
Restrict any area the automation only needs to read. If an event trigger watches an area the automation can edit, those edits can trigger another run. Make that area read-only to avoid a self-triggering loop.
Granting access to MCP Servers
An automation does not automatically get access to your connected MCP Servers.
- Connect the services you need under Settings → Connections → MCP Servers.
- In the automation's MCP Servers section, select Add MCP Server and choose the service.
- Set the required tools to Allow in that server's tool permissions. Automations cannot use tools that require someone to confirm each call.
Grant only the servers and tools needed for the job. With no grants, the automation uses no MCP Servers.
Saving and reviewing runs
Review the triggers, instructions, model, restrictions, and MCP Servers, then select Create to save the automation.
Open its Run history to check run statuses. As the creator, you can open a run's conversation to read what the agent did and refine the instructions for future runs.
Turning an automation off stops future runs. A run already in progress finishes.