Workato Management Skill
Manage and monitor Workato automation recipes, connections, and job executions.
MANDATORY: Discovery-First Pattern
Always list recipes and connections before querying specific resources.
Phase 1: Discovery
#!/bin/bash
WORKATO_API="https://www.workato.com/api"
workato_api() {
curl -s -H "Authorization: Bearer $WORKATO_API_TOKEN" \
-H "Content-Type: application/json" \
"${WORKATO_API}/${1}"
}
echo "=== Workato Workspace ==="
workato_api "users/me" | jq '{name: .name, email: .email, company: .company_name}'
echo ""
echo "=== Recipes Summary ==="
workato_api "recipes?per_page=50" | jq -r '
.result[] |
"\(.id)\t\(.name)\t\(.running)\t\(.trigger_application // "manual")"
' | column -t | head -30
echo ""
echo "=== Connections ==="
workato_api "connections" | jq -r '
.result[] |
"\(.id)\t\(.name)\t\(.provider)\t\(.authorized_at // "never")"
' | column -t | head -20
Phase 2: Analysis
#!/bin/bash
echo "=== Failed Jobs (recent) ==="
workato_api "recipes" | jq -r '.result[].id' | head -20 | while read rid; do
workato_api "recipes/${rid}/jobs?status=failed&per_page=5" | jq -r --arg rid "$rid" '
.result[]? |
"\($rid)\t\(.id)\t\(.status)\t\(.completed_at)\t\(.error // "")"
'
done | column -t | head -20
echo ""
echo "=== Recipe Status Summary ==="
workato_api "recipes?per_page=100" | jq '{
total: (.result | length),
running: [.result[] | select(.running == true)] | length,
stopped: [.result[] | select(.running == false)] | length
}'
echo ""
echo "=== Stale Connections ==="
workato_api "connections" | jq -r '
.result[] |
select(.authorized_at == null) |
"\(.id)\t\(.name)\t\(.provider)\tUNAUTHORIZED"
' | column -t
Output Rules
- TOKEN EFFICIENCY: Target <=50 lines per output
- Filter recipes by running status or folder
- Never dump full recipe definitions -- extract trigger and action app names
Output Format
Present results as a structured report:
Managing Workato Report
═══════════════════════
Resources discovered: [count]
Resource Status Key Metric Issues
──────────────────────────────────────────────
[name] [ok/warn] [value] [findings]
Summary: [total] resources | [ok] healthy | [warn] warnings | [crit] critical
Action Items: [list of prioritized findings]
Target ≤50 lines of output. Use tables for multi-resource comparisons.
Anti-Hallucination Rules
- NEVER assume resource names — always discover via CLI/API in Phase 1 before referencing in Phase 2.
- NEVER fabricate metric names or dimensions — verify against the service documentation or
--helpoutput. - NEVER mix CLI commands between service versions — confirm which version/API you are targeting.
- ALWAYS use the discovery → verify → analyze chain — every resource referenced must have been discovered first.
- ALWAYS handle empty results gracefully — an empty response is valid data, not an error to retry.
Counter-Rationalizations
| Shortcut | Counter | Why |
|---|---|---|
| "I'll skip discovery and check known resources" | Always run Phase 1 discovery first | Resource names change, new resources appear — assumed names cause errors |
| "The user only asked for a quick check" | Follow the full discovery → analysis flow | Quick checks miss critical issues; structured analysis catches silent failures |
| "Default configuration is probably fine" | Audit configuration explicitly | Defaults often leave logging, security, and optimization features disabled |
| "Metrics aren't needed for this" | Always check relevant metrics when available | API/CLI responses show current state; metrics reveal trends and intermittent issues |
| "I don't have access to that" | Try the command and report the actual error | Assumed permission failures prevent useful investigation; actual errors are informative |
Common Pitfalls
- Transaction limits: Workato bills by transactions -- monitor usage to avoid overages
- Connection reauth: Connections require periodic re-authorization via the UI
- Recipe dependencies: Recipes can call other recipes -- trace the full chain when debugging
- Lookup tables: Row limits depend on plan -- monitor table sizes
- Error handling: Recipes without error monitors lose failed job data after retention period
- Environments: Dev/test/prod environments have separate recipe copies -- check the right one