Skip to main content
These recipes provide approval workflows for common customer service scenarios, designed to balance quick response times with appropriate oversight.
  • Complaint Escalation
  • Account Modifications
  • Service Credits
  • Bulk Updates

Complaint Escalation

Manage complaint escalations with intelligent routing based on severity and customer tier.
const escalateComplaint = needsHumanApproval({
  type: 'async',
  title: 'Complaint Escalation',
  ask: (args) => `Review escalation request for ticket #${args.ticketId}`,
  autoApprove: async (args) => args.customerTier === 'VIP'
})
  • Customer dissatisfaction escalations
  • VIP customer issues
  • Complex technical problems
  • Multi-department issues
  • Include full ticket history
  • Set clear severity criteria
  • Define compensation limits
  • Document resolution attempts

Next Steps