# Ask your AI assistant which works orders are due

Source: https://zigaflow.com/help/ask-ai-which-works-orders-are-due

**The short answer:** Ask your AI assistant, connected through the Zigaflow MCP server: "List this week's works orders in production, earliest due first, with the stock still to allocate." Ask for the list in the order you will work through it. The assistant gives each works order with its status and due date, and you check one in Works Orders.

In Zigaflow · Add-on: API Calls · Last checked 4 December 2026

## Before you start

- [Set up the Zigaflow MCP server](https://zigaflow.com/help/set-up-the-zigaflow-mcp-server)

## Steps

### 1. Connect your AI assistant

Your assistant needs the Zigaflow MCP server, working as the MCP user chosen in Settings. If it isn't connected yet, follow [Set up the Zigaflow MCP server](https://zigaflow.com/help/set-up-the-zigaflow-mcp-server).

### 2. Ask the question

Type this into your assistant:

```text
List this week's works orders in production, earliest due first, with the stock still to allocate.
```

Say the order you want: earliest due first. Then the top of the list is the next thing to do. Add "and any that are late" as well: in our demo account nothing was due this week, and both works orders were behind.

### 3. Read the answer

In our demo account the assistant answered: **neither works order is due this week; both are late. WO1001 for Wrenfield College is Released, due 30 November, 250 items, none delivered, with no description. WO1000 for Fellbrook Leisure is Draft, due 7 October, 250 notebooks, none delivered.**

The list does not show stock allocation. To ask what is still to allocate, ask the assistant to read each works order's items as well.

### 4. Check it in Zigaflow

Open Works Orders and find the works order the assistant named. Check its status and due date, then open it to see its items.

![The works orders pipeline in Zigaflow, with WO1000 in Draft and WO1001 Released](https://cdn.sanity.io/images/sgnztw5h/production/c85fd7482a38e0aaaa3ea4456d7e83be5eddf7c1-1384x180.png?w=2400&fit=max&auto=format)

## What this lesson teaches

**Ask your data**, level 2 of [AI skills with Zigaflow](https://zigaflow.com/help/ai-skills): Ask for the list in the order you will work through it.

> **Tip:** The Zigaflow MCP server comes with the API calls add-on. It isn't on the Quotes plan.

## Do it by hand

The same work without an assistant: [Works orders](https://zigaflow.com/help/works-orders) and [Allocate stock to individual items on a works order](https://zigaflow.com/help/allocate-stock-to-individual-items-on-a-works-order).

## Frequently asked questions

### Can the assistant tell me what stock is still to allocate?

Only if it reads each works order's items. Ask for that in the question; the list alone does not hold it.

### Does asking change anything in Zigaflow?

No. This question only reads your works orders.

### Can I use ChatGPT, Claude or Copilot for this?

Claude, yes, and any AI tool that connects to the Zigaflow MCP server with an API key: Microsoft Copilot Studio, n8n, Zapier, Claude Code, Cline, Cursor, Gemini CLI, GitHub Copilot, Goose, Junie, OpenAI Codex, Visual Studio Code and Zed, each with a setup guide. ChatGPT, the Gemini app and Microsoft 365 Copilot sign in to MCP servers with OAuth only, so they cannot connect yet.
