Human-in-the-Loop lets your assignments pause at specific points and wait for your input before continuing. Use it to keep a human decision in the loop wherever your workflow requires review — approving a risky action, answering a follow-up question, or checking a draft before it goes out. Human-in-the-Loop is a built-in connection. No setup is required — it is available for every assignment automatically.Documentation Index
Fetch the complete documentation index at: https://docs.duvo.ai/llms.txt
Use this file to discover all available pages before exploring further.
When to Use It
Human-in-the-Loop is the right tool when:- The action is irreversible — sending an email, deleting records, submitting a form, making a payment
- The decision requires judgment — exception handling, ambiguous requests, policy edge cases
- Compliance requires sign-off — expenses over a threshold, contract changes, PII-related actions
- You want to review a draft first — see what the assignment will send or publish before it does
Request Types
Assignments can send three types of requests:Approval
The assignment presents a proposed action and waits for you to confirm or reject before proceeding. What you see: A request with a title summarizing the action and a description providing the context you need to decide.- Approve — The assignment continues with the proposed action.
- Deny — The assignment receives your rejection and follows whatever fallback you defined in the SOP (for example: skip this step, try an alternative, or stop).
Question
The assignment asks you to choose from a set of options before it decides how to proceed. Use this when the right next step depends on context only you have. What you see: A question with selectable options. Pick one and submit — the assignment receives your answer and continues down the correct path. Example SOP instruction:Login Request
The assignment needs a login to access a system it has not been authorized for. It pauses and directs you to add the login in Resources > Logins and Secrets. Once the login is saved, the assignment continues.Adding Approval Gates to Your SOP
You control exactly where approvals happen by writing them into your SOP. You do not configure Human-in-the-Loop separately — just describe the checkpoint in plain language and the assignment will pause there. Review before sending:Writing good approval request titles
The title is the first thing you see when a request arrives. Write your SOP so the title includes the specific details — not just “Requesting approval.” For example:- “Send invoice to Acme Corp — $4,200 due 2026-06-01”
- “Delete 47 archived records from the leads table”
- “Publish blog post: 5 Ways to Cut Procurement Costs”
Responding to Requests
Activity Inbox
The Activity Inbox is your central queue for all pending requests. A badge in the left sidebar shows the count of pending items. Requests appear the moment an assignment pauses. To respond:- Open the Activity Inbox from the left sidebar.
- Click the request to open the detail panel.
- For approvals: click Approve or Deny.
- For questions: select your answer and submit.
During a live job
When you are watching an assignment run in real time, approval requests appear directly in the session window. You can approve or answer without leaving the job view — the assignment is waiting and will continue as soon as you respond.Via Slack
If you have connected Slack and enabled notifications, pending requests are delivered as direct messages from the Duvo bot. Each message includes the request title, description, and interactive buttons.- Tap Approve or Deny directly in Slack — no need to open Duvo.
- For questions, select your answer from the options in the message.
- Once you respond, the message updates to confirm the outcome and the assignment resumes.
Via Microsoft Teams
Pending requests arrive as Adaptive Cards in Microsoft Teams. Select your response directly from the card. To enable Teams notifications, connect Teams at the team level, link your personal Teams account, then enable Activity Inbox in Microsoft Teams under Settings > Notifications.Managing High Volumes
When an assignment generates many requests — for example, a batch job that reviews dozens of items — use the bulk actions in the Activity Inbox to keep up:- Mark all as responded — Dismisses all pending requests at once. Use this when a backlog of requests no longer needs individual review.
- Delete all responded — Removes answered requests to keep the inbox clean.
- Delete all — Clears everything, both pending and answered.
Practical Examples
Reviewing outbound communications
Add this to any assignment that sends messages on your behalf:Expense threshold enforcement
Add this to an expense-processing SOP:Data modification gate
Add this before writing to a live system:Exception routing
Add this to a support or operations assignment:Tips
- Define the rejection behavior — Tell the assignment what to do if denied. Without a fallback, it may stop entirely or retry the same action.
- Use questions for branching — When the right path depends on context you have but the assignment does not, use a question rather than a yes/no approval.
- Do not overuse approvals — Every approval gate adds wait time. Use them only for decisions that genuinely require human judgment and let the assignment handle routine steps on its own.
- Test the pause behavior — Run the assignment once and verify it pauses where you expect. Check that the approval title and description give you enough context to decide without opening other systems.
Related
- Designing Human-in-the-Loop Workflows — When to add approval gates, how to choose request types, escalation patterns, and ramping toward safe autonomy
- Activity Inbox — Where you manage and respond to all pending requests
- Scheduling Assignments — How to run assignments automatically so requests appear in your inbox
- Expense Report Approval — A full tutorial showing HITL in a finance workflow
- Reviewing Drafts Before Sending — A tutorial showing how to gate outbound communications with Human-in-the-Loop