What you’ll build
A simple automation that updates dependencies and creates a pull request - the foundation for more complex workflows.Create the automation
- Go to Automations in Ona (or visit
app.ona.com/automations) - Click New Automation

- Choose Start from scratch or pick a template

Configure basics
- Name: “Weekly dependency updates”
- Description: “Updates npm dependencies and creates PR for review”
- Run as: Your user (or a service account for scheduled runs)

Choose a trigger
Pick when the automation runs:| Trigger | Best for |
|---|---|
| Manual | One-time migrations, testing automations |
| Pull Request | Code review, security checks, test runs |
| Time-based | Scheduled maintenance, recurring updates |
Add steps
Steps run in sequence. Add these three: Step 1 - Prompt:
Set guardrails
Guardrails prevent runaway executions:- Max concurrent: 5 (for testing)
- Max total: 20
Save and run
- Click Save
- Select target repositories
- Click Run
What’s next
Now that you have your first automation:- Add pull request triggers for automatic code review
- Set up schedules for recurring tasks
- Configure service accounts for team-wide automations
- Learn about guardrails for safety controls