Custom workflows
Custom AI workflows to take care of the DevOps task for you and your team
What are custom workflows
Section titled “What are custom workflows”Custom workflows let you define automated tasks that Cased’s DevOps agent performs on a schedule or trigger. They work just like the default workflows that ship with Cased, but can be tailored to your organization’s specific needs and processes.

How custom workflows work
Section titled “How custom workflows work”Cased’s agent excels at devops tasks like monitoring infrastructure, managing deploys, and debugging production issues. Custom workflows enable you to receivesthe agent specific instructions to handle devops tasks automatically.
Each workflow combines three key elements:
Triggers
Section titled “Triggers”Workflows can be triggered in three ways:
- Scheduled - Run the workflow on a regular schedule (daily, weekly, monthly)
- Webhooks - Trigger when Cased receives a webhook from external systems
- API - Start on-demand via API call
Context
Section titled “Context”The agent needs access to your systems to be effective. Connect these integrations to give workflows the context they need:
Essential integrations:
Recommended additions:
- Slack - Send notifications and alerts
- Sentry - Analyze errors and exceptions
- DataDog - Monitor metrics and logs
- PagerDuty - Respond to incidents
Workflow prompt
Section titled “Workflow prompt”The prompt provides clear instructions for what the agent should do. Write prompts as if explaining the task to a senior engineer.
Example prompt for a deployment health check:
After each deployment to production:1. Check error rates in Sentry for new exceptions2. Monitor CPU and memory usage in DataDog3. Verify all health checks are passing4. Review deployment logs for warnings5. If issues found, summarize in Slack #deployments channel6. If critical issues, create PagerDuty incident
Creating your first workflow
Section titled “Creating your first workflow”-
Navigate to Workflows in your Cased dashboard
-
Click “Create workflow”
-
Configure the basics:
- Name: Descriptive name like “Daily Infrastructure Audit”
- Trigger: Choose scheduled, webhook, or API
- Schedule: Set timing if using scheduled trigger
-
Write your prompt:
- Be specific about what to check
- Include success/failure criteria
- Specify where to report results
-
Test the workflow:
- Use “Run now” to test immediately
- Review the agent’s actions and output
- Refine prompt based on results
-
Enable and monitor:
- Turn on the workflow when ready
- Check execution history regularly
- Iterate based on effectiveness
Best practices
Section titled “Best practices”Write clear prompts
Section titled “Write clear prompts”✅ Good prompt:
Check all EC2 instances for:- Instances running longer than 30 days without restart- Instances without recent backups- Development instances running outside business hoursReport findings in #aws-alerts with instance IDs and recommendations
❌ Vague prompt:
Check our servers and let me know if anything looks wrong
Start simple, then expand
Section titled “Start simple, then expand”Begin with basic workflows and add complexity as you validate they work:
- Start: Check S3 buckets for public access
- Expand: Also check for missing encryption
- Enhance: Add automatic remediation for common issues
Use parameters for flexibility
Section titled “Use parameters for flexibility”Make workflows reusable across environments:
Check database backup status for {{ environment }}:- Verify backup completed in last {{ backup_hours }} hours- Check backup size is within {{ size_variance }}% of average- Alert {{ slack_channel }} if issues found