Beta Feature: Automations is currently in beta and available for OpenHands Cloud and OpenHands Enterprise users only.
What Can Automations Do?
- Generate reports: Daily standups, weekly summaries, or monthly metrics
- Monitor systems: Check API health, SSL certificates, or uptime
- Sync data: Pull from external APIs, update spreadsheets, or refresh dashboards
- Maintain code: Run dependency checks, security scans, or cleanup tasks
- Send notifications: Post updates to Slack, create GitHub issues, or send alerts
Automations can only interact with services you’ve configured access to. For example, posting to Slack requires the Slack MCP integration. Git providers you logged in with (GitHub, GitLab, Bitbucket) are automatically available.
Two Types of Automations
When you ask OpenHands to create an automation, you can choose between:- Prompt-based (most common): Describe what the automation should do in natural language. Great for reports, monitoring, data syncs, and most tasks.
- Plugin-based: Include one or more plugins that provide additional skills or capabilities. Use this when you need specialized tools from the OpenHands extensions repository.
Creating Your First Automation
Just ask OpenHands to create one:- Naming your automation
- Setting the schedule
- Choosing a timezone
- Confirming the task description (and plugins, if any)
How It Works
When your automation runs:- A fresh sandbox is created
- The OpenHands agent executes your prompt
- The conversation is saved so you can review it later
- You can even continue the conversation if needed
Getting Started
Before creating automations, complete this one-time setup:1. Create an OpenHands API Key
Go to Settings > API Keys and create a new API key.2. Save the API Key as a Secret
Copy the API key value and go to Settings > Secrets. Create a new secret with:- Name:
OPENHANDS_API_KEY - Value: Your API key from step 1
3. Start a Conversation
Open a new conversation in OpenHands and ask it to create an automation:Prerequisites
- OpenHands Cloud or Enterprise account (not available in open-source)
- Configured LLM in your settings
- Stored secrets (optional) for any additional API keys your automations need (e.g., Slack tokens)
Use Case Automations
Each use case has a ready-to-use automation prompt. Click a card to see the full instructions.Automated Code Review
Review open PRs daily for bugs, style issues, and security concerns.
Dependency Upgrades
Check for outdated packages weekly and report available updates.
Incident Triage
Monitor API health, analyze errors, and alert your team automatically.
Vulnerability Remediation
Scan dependencies for known CVEs, find hardcoded secrets, and alert your team on a schedule.
General Automations
Ready-to-use templates for common operational tasks.Daily GitHub Summary
Summarize PRs opened, merged, and reviewed daily.
Weekly Metrics Report
Generate weekly GitHub activity and issue reports.
SSL Certificate Monitor
Check SSL expiry dates and alert before they lapse.
Weekly Cleanup
Remove stale temporary files and report what was cleaned.
Backup Verification
Verify database backups exist and are recent.
Analytics Data Sync
Pull analytics data periodically and flag big changes.
Daily GitHub Summary
Weekly Metrics Report
SSL Certificate Monitor
Weekly Cleanup
Backup Verification
Analytics Data Sync
Tips for Writing Good Prompts
Be specific about actions
Be specific about actions
Tell the automation exactly what to do:
- “Check X and if Y, then Z”
- “Generate a report and save it to…”
- “Fetch data, compare with expected values, and report differences”
Include error handling
Include error handling
Specify what should happen when things go wrong:
- “If the response is not 200…”
- “If any backup is missing…”
- “If the check fails, alert the team”
Define where results go
Define where results go
Be explicit about outputs:
- “Post to the #channel Slack channel”
- “Save to reports/ with the current date”
- “Create a GitHub issue with the findings”
Next Steps
- Creating Automations — More details on writing prompts
- Managing Automations — Update, disable, or delete automations
- Use Cases Overview — Explore the full use case guides behind these automations

