Queues

Work through human-in-the-loop queue items with @lunnoa/client.

Queues are the platform's work-item surface for review UIs. List queues, page through items, then mark them complete.

These examples assume an authenticated lunnoa client from the overview.

List and update items

queues.ts
const queues = await lunnoa.queues.list();const { items } = await lunnoa.queueItems.list(queueId, { limit: 50 });for await (const item of lunnoa.queueItems.iterate(queueId)) {  // process each work item}await lunnoa.queueItems.updateStatus(queueId, itemId, 'COMPLETED');

Use queueItems.iterate(queueId) when you need every item without managing pages yourself.

For pauses inside a running workflow (rather than a queue inbox), see Workflows and NEEDS_INPUT. For Request Approval nodes with eligible approvers, see Approvals.

Next