Templates / AI agent patterns / ai-human-approval-gate
AI Proposal with Human Approval
Lets a model propose how to resolve a customer complaint but keeps a person in charge of anything costly. The proposal comes back as JSON; small goodwill gestures are executed straight away, while refunds over 100 wait for a support lead who approves or rejects them. Nothing irreversible happens on the model's word alone.
Scenarios · 3
- A small voucher is executed without approval propose-resolution → needs-approval → execute-resolution → resolved
- A 350 refund is rejected by the support lead needs-approval → approve-proposal → handoff → handed-off
- A 350 refund is approved and executed approve-proposal → execute-resolution → reply-customer → resolved
Job types · 4
-
email-sendReply to customer -
helpdesk-ticket-assignHand off to a human agent -
io.camunda.agenticai:aiagent:1Propose resolution -
resolution-executeExecute resolution
Files · 2
- ai-human-approval-gate.bpmn Process model
- ai-human-approval-gate.bpmn.tests.json Test scenarios (runScenario format)
Every scenario passes on @bpmnkit/engine's runScenario in the
package's tests. casen template use ai-human-approval-gate [dir] writes the files above
into your project — see the templates guide for running
the scenarios and deploying.