Tasks
Writing Custom Actions
Create custom actions to extend DrDroid’s capabilities with your own scripts and API integrations.
Supported Custom Actions
- REST API Calls
- Webhooks
- Custom Scripts (Bash, Python, etc.)
- AWS CLI Commands
- Kubernetes Operations
Action Types
1. HTTP Requests
2. Shell Scripts
Examples
Kubernetes Pod Restart
AWS S3 File Check
Best Practices
- Use environment variables for sensitive data
- Implement proper error handling
- Add timeouts for all external calls
- Document your custom actions
- Test thoroughly before production use