# Ask your AI assistant which jobs made less margin than quoted

Source: https://zigaflow.com/help/ask-ai-which-jobs-made-less-margin-than-quoted

**The short answer:** Ask your AI assistant, connected through the Zigaflow MCP server: "Which jobs finished this month made less margin than we quoted? Work margin out as sale price minus actual cost." Saying how the figure is worked out means two people get the same answer. The assistant compares quoted and actual margin, and you check the job's lines.

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
Which jobs finished this month made less margin than we quoted? Work margin out as sale price minus actual cost.
```

Define margin in the question. A job with no costs booked against it shows 100% margin, which it has not made, so asking for sale price minus actual cost keeps those out.

### 3. Read the answer

In our demo account the assistant answered: **no job finished this month, because none of the 15 is fully delivered. One has slipped already: JB1002, the Fellbrook totes, was quoted at 51.8% margin and is at 43.5%, with costs of 475 against 405 forecast.**

It also pointed out that 11 of the 15 jobs show 100% margin because no costs are booked against them. A job with no costs has not made 100%.

### 4. Check it in Zigaflow

Open the job and look at its Items tab. Compare the Forecast Costings margin with the Actual Costings margin on the line.

![The Items tab of job JB1002 in Zigaflow: forecast margin 51.79%, actual margin 43.45%](https://cdn.sanity.io/images/sgnztw5h/production/52068868695dfd1855aec3f84e400223af203a6b-1584x390.png?w=2400&fit=max&auto=format)

## What this lesson teaches

**Analyze**, level 3 of [AI skills with Zigaflow](https://zigaflow.com/help/ai-skills): Say how the figure is worked out, so two people get the same answer.

> **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: [Tracking costs and profit on jobs/sales orders](https://zigaflow.com/help/tracking-costs-and-profit-on-jobs-sales-orders) and [Setting the actual cost to the forecast](https://zigaflow.com/help/setting-the-actual-cost-to-the-forecast).

## Frequently asked questions

### Why do some jobs show 100% margin?

No costs have been booked against them yet. Book the actual costs, or ask the assistant to leave out jobs with none.

### Does asking change anything in Zigaflow?

No. This question only reads your jobs.

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