Approval Chain Design
Given the business requirement, design a complete approval chain:
- Identify approval levels: Who must approve (role + fallback)? What triggers each level?
- Define conditions: What attributes route to each approver (amount, risk score, policy type)?
- Set timeouts: How long before the approval auto-escalates?
- Specify actions: What happens on approve/reject/timeout (notify, route, archive)?
Output a structured approval chain spec:
approval_chain:
name: [descriptive name]
trigger: [what initiates the chain]
levels:
- role: Supervisor
condition: amount < 10000
timeout_hours: 24
fallback_role: Manager
- role: Manager
condition: amount >= 10000 AND amount < 50000
timeout_hours: 48
fallback_role: VP
on_approve: [next workflow step]
on_reject: [rejection notification + reason capture]
audit_events: [list all events to log for compliance]
Ask clarifying questions if the business context, approval roles, or dollar thresholds are ambiguous.