# Ask your AI assistant to raise purchase orders from a job

Source: https://zigaflow.com/help/ask-ai-to-raise-purchase-orders-from-a-job

**The short answer:** Ask your AI assistant, connected through the Zigaflow MCP server: "Raise the purchase orders for the lines on job JB1024, ready for me to check." The job is made up: use your own. The assistant creates draft purchase orders from the job's lines. Open every one before it goes to a supplier: check the supplier, the lines and the quantities.

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, with your own details in place of the words in brackets:

```text
Raise the purchase orders for the lines on job [job number], ready for me to check.
```

Say "ready for me to check" so the purchase orders stay as drafts. It helps to ask the assistant first what needs ordering and why: a line covered by stock needs nothing.

In our demo account we asked: "Raise the purchase orders for the lines on job JB1024, ready for me to check." Its customers, suppliers and figures are made up.

### 3. Read the answer

In our demo account the assistant made **PO1021 to Corvell, a draft linked to JB1024, with no lines**. The job's one line, 500 totes, is a stock item and stock covers it, so nothing needed ordering. Nothing was sent.

An empty purchase order is a sign to stop and ask why. Ask the assistant to read back what it created: the empty order still carried the customer's PO number and the job description.

### 4. Check it in Zigaflow

Open the job, go to its links and open each purchase order. Check the supplier, the lines and the quantities before you send any of them.

![Purchase order PO1021 to Corvell in Zigaflow, a draft with no lines](https://cdn.sanity.io/images/sgnztw5h/production/bfb8a5e1239ea3222b6d50bc2dc6cb3b36586333-1600x860.png?w=2400&fit=max&auto=format)

## What this lesson teaches

**Draft, don't send**, level 4 of [AI skills with Zigaflow](https://zigaflow.com/help/ai-skills): Name the supplier and the lines; check every purchase order before it goes.

> **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: [Create purchase orders from a job](https://zigaflow.com/help/creating-a-purchase-order-from-a-job-sales-order) and [One purchase order for more than one customer - avoiding supplier minimum orders](https://zigaflow.com/help/one-purchase-order-for-more-than-one-customer-avoiding-supplier-minimum-orders).

## Frequently asked questions

### Why is the purchase order empty?

Stock covered everything on the job, so there was nothing to order. Ask the assistant what needs ordering before it creates anything, and delete an empty purchase order.

### Will the assistant send the purchase orders?

Not if you ask for them ready to check. Send each one yourself once you have read it.

### 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.
