Android Automation
OpenCompany can control Android devices for automation tasks like launching apps, monitoring battery, controlling WiFi, and more.Connection Methods
Set Up Connection
Android device connection is configured in the Credentials Modal (Android panel), not via a workflow node. Open Credentials and pick one of the two methods below.Option A: Local ADB
- Enable Developer Options on your Android device
- Enable USB Debugging
- Connect device via USB
- Run
adb devicesto verify connection - In the Credentials Modal, open the Android panel and choose Local ADB (ADB port forwarding is set up for you)
Option B: Remote Relay
- Open the Credentials Modal and select the Android panel
- Click Connect to start the relay connection
- Scan the QR code with the companion Android app to pair your device
Remote relay allows controlling devices anywhere with internet access. The relay uses a two-state model:
connected (relay WebSocket is up) versus paired (a device has scanned the QR and is ready to run actions). Android nodes require a paired device to execute.Available Android Nodes
OpenCompany ships 16 Android service nodes across monitoring, apps, automation, sensors, and media. Each one can run as a standalone workflow node or be connected to an AI agent’s tools handle.System Monitoring
App Management
Automation
Sensors
Media
Example: Battery Alert Workflow
Create a workflow that sends an alert when battery is low.Workflow Design
Step 1: Add Cron Trigger
Step 2: Add Battery Monitor
Step 3: Add Python Executor
Step 4: Add WhatsApp Send (conditional)
Example: App Launcher Workflow
Launch an app when receiving a webhook.Example: WiFi Toggle
Battery Monitor Output
Network Monitor Output
Troubleshooting
Device not showing in dropdown
Device not showing in dropdown
- Run
adb devicesto check connection - Ensure USB debugging is enabled
- Try different USB cable/port
- Restart ADB:
adb kill-server && adb start-server
Remote relay won't connect
Remote relay won't connect
- Verify relay URL is correct
- Check API key is valid
- Ensure companion app is installed on device
- Check firewall settings
Commands fail with permission error
Commands fail with permission error
- Some actions require root access
- Use device automation apps for restricted features
- Check Android version compatibility
Tips
Next Steps
Android Node Reference
Full documentation for all 16 Android nodes
Webhooks
Trigger Android actions via HTTP