# Application Workflow and Automation: Approval Queue

A human approval queue where each card names the automation, the action awaiting sign off, context chips, the requester, and approve or decline actions.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/approval-queue
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Workflow and Automation](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation)
- Created: 2026-07-10
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/approval-queue.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-workflow-automation-approval-queue
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- npm packages: class-variance-authority, lucide-react, radix-ui
- shadcn/ui components: avatar, avatars, badge, button
- Installs to: `@/components/blocks/application-pro/workflow-automation/approval-queue`

## About this block

Approval Queue is the human in the loop surface for
automations that pause before a sensitive action. Each
card names the automation, states the action awaiting
sign off in plain words, and lists the deciding context
as chips: an amount and customer for a refund, an
account and term for a renewal, a count and segment for
a bulk delete. An expiry timer sits in the corner of
every card.

The footer of each card credits the requesting trigger
with an avatar and a relative timestamp, then offers
Decline and Approve actions. A closing note explains
that approvals expire after 72 hours, and that expired
runs are cancelled and logged in run history, so a
missed decision fails safe rather than silently.

## When to use

Reach for this block on an approvals inbox page or in a
review drawer, wired to your automation queue. It fits
any workflow where an automation should not act alone:
refunds over a threshold, contract renewals, or
destructive bulk operations. The context chips are the
key surface; the approver decides from them without
leaving the card.

A natural flow around it on an Application Pro page:

**Before**

- [App shell](https://www.shadcn-ui-blocks.com/blocks/application-pro/app-shells)
- [Notifications](https://www.shadcn-ui-blocks.com/blocks/application-pro/notifications)

**After**

- [Run history table](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation)
- [Activity feed](https://www.shadcn-ui-blocks.com/blocks/application-pro/activity)

## What you can display

One strong use is the automation approvals inbox. Other
queue shapes:

- **Single approval detail.** One request expanded with
  the full payload and a reason field on decline.
- **Multi approver.** A card showing two of three
  sign offs collected before the run resumes.
- **Delegated review.** The same queue scoped to a
  reviewer with a reassign action per card.

> Tip: put the deciding numbers on the card as chips;
> an approver who has to open the run to see the amount
> will hesitate, and hesitation is where queues stall.

## More in Application Workflow and Automation

- [Automation Builder](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/automation-builder)
- [Automation Error Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/automation-error-card)
- [Automation Templates Grid](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/automation-templates-grid)
- [Automation Usage Stats](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/automation-usage-stats)
- [Condition Branch Card](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/condition-branch-card)
- [Connection Health Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/connection-health-panel)
- [Run Detail Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/run-detail-panel)
- [Run History Table](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/run-history-table)
- [Schedule Trigger Panel](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/schedule-trigger-panel)
- [Trigger Action Row](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/trigger-action-row)
- [Workflow Canvas Blueprint](https://www.shadcn-ui-blocks.com/blocks/application-pro/workflow-automation/workflow-canvas-blueprint)
