> ## Documentation Index
> Fetch the complete documentation index at: https://impactiveai-a49db5ff.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Demand Forecast Agent

> An AI assistant that answers questions about the actuals, forecasts, and inventory on the demand forecast screen, and changes settings after your approval

This is the user guide for the DeepFlow **Demand Forecast Agent** (Demand Forecast AI Assistant). It covers everything from querying and analyzing data by asking questions to changing real data through approval.

> [!NOTE]
>
> Intended audience: SCM managers and demand planners who use the demand forecast screen

## Demand Forecast Agent overview

### What is the Demand Forecast Agent?

An AI assistant that lets you query the shipments, forecasts, and inventory shown on the demand forecast screen by asking questions, and see the results as tables and charts. It helps you search for items and interpret anomalies, and, after your approval, it can change lead times, stock thresholds, favorites, and abnormal actuals review results, or register S\&OP agenda items.

On screen it appears as the **Demand Forecast AI Assistant**.

### Main workflow

1. On the demand forecast screen, check the forecast model, cycle, and reference date, then open the AI Assistant.
2. Pick a suggested question, or ask your own by entering an item code, period, and comparison basis.
3. Check the reference date, target count, tables, and charts in the answer, and go to the item detail screen if needed.
4. Ask follow-up questions about causes, forecast changes, and response scenarios.
5. If a change is needed, specify the targets and values, review them on the approval card, and run the change. You can check the results in AI change history under settings.

### Screen layout

| Area | Role |
| - | - |
| **AI Assistant tab** | On the right edge of the screen. Click it to open the chat window. You can also start a question from the AI icon on summary cards, categories, and the detail screen. |
| **Top bar** | Chat history · Settings · New chat · Switch window mode · Close |
| **Suggested questions** | The list screen focuses on overall inventory, items to watch, and categories; the detail screen focuses on the current item |
| **Chat area** | Questions · answers · tool run status · tables · charts · approval cards · follow-up questions |
| **Input area** | Question input · image attachment · auto-approve · send/stop |
| **Settings** | User Context · Skills · AI change history |

***

## 1. Getting started

![Demand forecast list screen with the AI Assistant tab](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-00-list-v2.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=f6a3552f8f4e736fa2ca0a7e538ff483)

Demand forecast list screen — the AI Assistant tab on the right edge

### 1-1. Opening the agent

**1. Go to the demand forecast screen**

Go to the demand forecast list or an item detail screen.

**2. Open the AI Assistant**

Click the **\[AI Assistant]** tab on the right edge of the screen.

**3. Check the data reference date**

Check the **data as of** date on the start screen.

**4. Ask a question**

Click a suggested question, or type a question in the input box and send it.

Click the AI icon (**Ask AI about …**) on a summary card, category, or the detail screen to choose a question that fits that area. Choosing a question opens a new chat and sends it right away. To continue an existing chat, type in the input box instead.

### 1-2. Window modes

![Start screen in small window mode](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-01-open-v2.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=7a2728ec64a773f3caac2c387d38def8)

Small window — start screen and suggested questions for the list screen

| Mode | Use | Controls |
| - | - | - |
| **Small window** | Quick questions while viewing the list | Drag the top bar to move it and drag the edges to resize it. Double-click the top bar to return it to the default position. |
| **Side panel** | View the screen and the answer side by side | Drag the panel's left border to change its width. Double-click the border to return to the default width. |
| **Full screen** | Wide tables, charts, and long analyses | Switch with the full-screen icon in the top bar. Chat history appears on the left. |

Click \[Close (✕)] to close the window. You can reopen earlier chats from chat history.

### 1-3. Sending and stopping questions

* Press **Enter** to send and **Shift+Enter** for a new line.
* While an answer is being generated, the send button changes to **\[Stop]**.
* \[Stop] only stops answer generation. Data changes that have already run are not reverted.

***

## 2. Asking questions

### 2-1. Suggested questions

![Suggested questions on the item detail screen](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-09-detail.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=a3506c61396af513ef95619ebdb15d29)

Item detail screen — suggested questions for the current item

| Screen | Suggested question | What you see |
| - | - | - |
| List | Inventory issues to check first | Out of stock, understock, and overstock items and what to check first |
| List | SKUs to watch | Key items with a sales surge or understock risk |
| List | Compare by category | Actuals volume, forecast, hit rate, and inventory status by category |
| List | Analyze by customer | Sales and share by customer |
| Detail | Forecast summary for this item | The item's actuals and forecast trend |
| Detail | Forecast accuracy | The item's hit rate |
| Detail | Inventory · order timing | Days of supply, expected run-out date, recommended order date |
| Detail | Response scenarios | Differences in demand, inventory, and revenue by bias correction |

Suggested questions vary with the data on screen. Click \[Refresh] to load them again.

### 2-2. Asking your own questions

You get more accurate answers when you include **target + period (forecast point) + metric to check + output format**. For items with similar names, specify the item code.

| Purpose | Example question |
| - | - |
| Inventory issues | Show a table of the 10 out of stock or understock items with the largest 3-month average actuals as of the current reference date. |
| Sales trend | Compare the 3-month and 6-month average actuals for \[category name] and the change versus last year. |
| Forecast chart | Show the past actuals and upcoming forecast for \[item code] as a chart. |
| Forecast changes | Compare the differences between recent forecast runs for \[item code] and their error versus actuals. |
| Cause review | Show this item's abnormal actuals history and review status. Don't save anything. |
| Scenarios | Compare demand, days of supply, and revenue by response scenario for \[item code] at M+1. |
| Check targets before a change | Before changing the lead time for \[category name] to 45 days, show me the target count and current values first. Don't change anything yet. |

On the list screen, include the item code, item name, or category in your question. On the detail screen, you can ask about "this item." If the target could be read as more than one item, specify the item code again.

### 2-3. Screen context and query scope

* The **forecast model, cycle, reference date, and detail-screen item** at the moment you send the question are used as the basis.
* If you don't specify a forecast point, the agent queries the point based on the item's lead time. If you need a specific month or an M+1 comparison, include the point in your question.
* The category, search term, and checked rows selected in the list may not be applied to your question automatically. Type the category name, item code, and status conditions directly into the question, and check the target count shown in the answer.
* Queries cover active items in operation. Actuals in a forecast group may be summed into the representative item code.
* When you reopen an earlier chat, the answers from that time are shown. To check against current data, ask again.

***

## 3. Query and analysis features

### 3-1. Overall status and item search

The overall status summary shows item counts by status. The item list query finds targets by item code, item name, category, inventory status, owner, and favorites. You can combine conditions and sort order, such as "the top 10 understock items by actuals."

* One item can have several statuses at once, so the sum of counts by status differs from the total item count.
* Check items without linked inventory separately from items with normal inventory.

### 3-2. Comparing sales, categories, and customers

| Feature | What you can check | Example question |
| - | - | - |
| **Sales summary** | Sales volume, revenue, average selling price, ending inventory, comparison with the previous period and last year, and trends — overall and by category, item, and customer | Show the sales volume and revenue trend for \[customer name] over the last 6 months. |
| **Sales trend** | Recent actuals, 3/6-month (monthly) or 6/12-week (weekly) averages, change versus the previous month, previous week, and last year | Find the 10 key items whose sales dropped sharply recently. |
| **Performance by category** | Recent average actuals, next forecast, hit rate, bias, and number of out of stock, understock, and overstock items | Compare actuals and the understock ratio by top-level category. |
| **Forecast hit rate** | Hit rate overall and by category, share within the normal range, over-/under-forecast items, and items with large errors | Tell me which key items have large forecast errors. |

* If you don't specify a period, the 12 cycles before the reference date are queried.
* Metrics that are not linked, such as revenue or inventory, may not be available. A blank value is not zero.

### 3-3. Item forecasts and inventory/order timing

![Actuals and forecast chart in full screen mode](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-04-fullscreen-chart.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=122a64247c61a42c30487eca9c50a337)

Full screen — item actuals and forecast chart

**1. Specify the item**

Specify an item code, or ask from the item detail screen.

**2. Check the item summary**

Use the item summary to check lead time, forecast, inventory status, days of supply, run-out date, and recommended order date.

**3. View it as a chart**

Ask "Show the demand trend and forecast as a chart" to see the actuals and forecast as a chart.

**4. Keep asking**

If needed, follow up with forecast adjustment reference metrics and the demand trend over the last 7 and 30 days.

* Depending on the query results, the chart shows actuals, AI forecast, past forecasts, and the S\&OP plan. Without daily actuals, the 7-day and 30-day trends show as no data.
* **The recommended order date and run-out outlook are analysis results.** The agent does not issue purchase orders or register goods receipts. Before ordering, also check the goods receipt plan, sales promotions, and the item detail settings.

### 3-4. Comparing runs, abnormal actuals, and cause review

| Feature | How to use |
| - | - |
| **Forecast comparison by point** | Compares forecasts, revision rates, and error versus actuals across recent runs. Example: "Tell me how the recent forecast runs for \[item code] differ." |
| **Forecast bias detail** | Shows forecast, actuals, bias rate, and over-/under-forecast bias by period. |
| **Shipment patterns** | Compares shipment patterns across past years, recent cycles, and the same category. Monthly patterns by year are available only for monthly. |
| **Abnormal actuals history** | Shows detection point, actuals, change rate, detection rule, review status, and cause. Querying alone does not change the review status. |
| **AI analysis results** | Shows AI analysis already generated on the detail screen. If there is none, generate it on the detail screen first. |
| **Event calendar** | Shows promotions in the period and sales changes before and after them. The agent does not determine causes from same-period promotions alone. |

### 3-5. Response scenarios and S\&OP

You can compare demand, days of supply, and revenue for the AI baseline, average bias correction, over-forecast bias correction, and under-forecast bias correction. Querying alone does not change forecast or plan values.

**1. Ask for a scenario comparison**

Ask "Compare the response scenarios for \[item code] at \[target point]."

**2. Check the differences**

Check demand and the inventory and revenue differences by scenario.

**3. Check where to register**

To register, ask "Show the S\&OP sheets I can register to and existing agenda items."

**4. Request agenda registration**

Specify the sheet, target month, and scenario, and request agenda registration.

**5. Check the result**

Review the approval card and the run result, then check the agenda item on the [S\&OP](https://impactiveai-a49db5ff.mintlify.site/en/sop.md) screen.

* S\&OP agenda lookup and registration and AI analysis lookup are available for monthly and weekly.
* If you have already registered an agenda item, it may be updated. Check existing agenda items first.
* The agenda quantity is calculated by the system from the selected scenario.

### 3-6. Dataset status

You can query the dataset list and details to check type, cycle, row count, period, missing ranges, ranges with far fewer rows, and recent upload status.

Examples: "Show the dataset list and recent upload status," "Check \[dataset name] for missing dates or ranges with few rows."

> [!TIP]
>
> The demand forecast screen currently accepts image attachments only. Even if a dataset upload skill appears in the skill list, you can't start a CSV or Excel upload from the chat. Use the [Dataset Management](https://impactiveai-a49db5ff.mintlify.site/en/dataset.md) screen to register data.

### 3-7. External information search

For things internal data can't explain well — market trends, news, weather, competitor information — you can request a web search. The web search skill must be turned on.

* If auto-approve is off, web searches also show an approval card. Check the search query before approving.
* Check the sources and publication dates shown in the answer, and keep external information separate from internal figures when you make decisions.

***

## 4. Reviewing answers

### 4-1. Tool run status

![Tool run status in side panel mode](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-02-progress-v2.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=f028fce1b61bb03c7e8a3d3848912355)

Side panel — tool run status, result table, and auto-approve/stop in the input area

* While an answer is being generated, progress such as "Thinking," the name of the query tool, and "Organizing results" is shown.
* Expand a tool that ran to see its inputs and results. Some results also include the **raw data (JSON)**.
* A task shown with an error or rejected status did not complete.

### 4-2. Tables and Excel download

* Click a column header to sort.
* Click **\[Download Excel]** to get the table as a CSV file. Use it after the table has finished generating.
* The download covers the rows of the table shown in the answer. If there are fewer rows than the total target count, the rest are not included, so ask again for the range you need.
* The sort order on screen and the row order in the CSV may differ.

### 4-3. Opening details, follow-ups, copy, and feedback

![Detail, follow-up, and feedback area at the bottom of an answer](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-03-answer-v2.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=1565016af96c15eca33d20b509a9708d)

Bottom of an answer — detail buttons, follow-up questions, copy and feedback

* Click an item link in a table, or the **\[Open detail screen]** or **\[View item name details]** button, to go to that item's detail screen.
* Click a follow-up question under the answer to continue in the same chat.
* Use the copy icon to copy the answer.
* Use the feedback icons to choose **Helpful** or **Not helpful**; you can leave a comment with Not helpful. Click the same feedback again to cancel it.

### 4-4. Reading the numbers

| Item | Description |
| - | - |
| **Hit rate** | Previous forecast ÷ actuals × 100. The closer to 100%, the more accurate; above 100% is over-forecast and below is under-forecast. The normal range is 80–120%. |
| **Category average hit rate** | A simple average of item hit rates. It differs from a sales-weighted average, and errors on small-volume items can weigh heavily. |
| **Days of supply** | How long current inventory can cover forecast demand. It depends on stock thresholds, forecast point, and scenario. |
| **vs. last year / previous period** | Monthly compares with the same month last year and the previous month; weekly with the same week last year and the previous week. Make sure the comparison periods match. |
| **Blank / no data** | Not collected, not linked, or not calculable. This is different from zero sales or a normal status. |

> [!WARNING]
>
> AI answers can be inaccurate. Check important figures and change decisions on the detail screen with the same forecast model, cycle, reference date, and forecast point.

***

## 5. Changing data and approval

### 5-1. Queries vs. changes

* Queries, comparisons, and previews do not change the original values.
* Lead time, stock thresholds, favorites, abnormal actuals review, and S\&OP agenda registration change real data.
* First query the targets, current values, and new values, then request the change.

### 5-2. Approval card

![Approval card](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-05-approval.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=2f0b81c89f5ee46e1578ead973165593)

Approval card — task name and inputs, \[Reject] · \[Approve]

**1. Request the change**

Enter the item code, scope, and value to change in your question.

**2. Review the approval card**

Check the task name and inputs on the **Please review before running** card.

**3. Reject or approve**

If the targets or values are wrong, click **\[Reject]**, adjust the conditions, and ask again. If everything is right, click **\[Approve]**.

**4. Check the result**

Check the completed or error status, then confirm the result on the relevant screen and in AI change history.

* The approval card may show system field names as is, such as itemId (item code). If anything is unclear, ask before approving: "Explain the target items, current values, and new values in plain terms."
* A task marked **Rejected** was not run.

### 5-3. Auto-approve

* Set it below the input box in the side panel and full screen, or in the menu to the left of the input box (**Attach · Auto-approve**) in the small window.
* **When auto-approve is on, web searches and data changes run immediately without an approval card.** Turn it off if you want to review each change.
* Tasks run with auto-approve are also recorded in AI change history.

### 5-4. Changing lead time

Single-item example: "Check the current lead time for \[item code], then change it to 45 days." Lead time accepts **0–365 days**. Changing it also changes the lead-time-based forecast point, cumulative forecast, and recommended order date.

For bulk changes, start with a preview.

**1. Request a preview**

Ask "Just preview the target count and current distribution if I change items in \[category name] with a 30-day lead time to 45 days."

**2. Check the targets**

Check the forecast model and reference date, the target count, and some items with their current values.

**3. Request the actual change**

Request the actual change with the same conditions.

**4. Check the result**

After approval, check the result and AI change history.

* Bulk change targets are based on the list for the current forecast model and reference date. If the target count differs between the preview and the run, request the preview again.
* Items that already have the same lead time are excluded, so the target count and the number actually changed may differ.
* For customers with ERP integration, changes apply only within DeepFlow and are not reflected in your ERP system. You can revert them with \[Revert to ERP value] in Item Management (see chapter 6 of the [Item Management guide](https://impactiveai-a49db5ff.mintlify.site/en/item-management.md)).

### 5-5. Changing stock thresholds

**1. Check the current thresholds**

Ask "Show the current out of stock, understock, and overstock thresholds and their source for \[item code/category/all]."

**2. Set scope and values**

Decide the scope of the change and enter the number of days for each threshold.

**3. Approve and run**

Check the scope and values on the approval card, then run.

* Values must follow the order overstock > understock ≥ out of stock.
* Changing the all-item or category thresholds keeps any thresholds set separately on subcategories or individual items. For items that didn't change, query their threshold source and individual thresholds again.

### 5-6. Abnormal actuals review, favorites, and S\&OP agenda items

| Change | What to specify | Result to check |
| - | - | - |
| **Save abnormal actuals review** | Item code, point of occurrence, cause, recurrence, or mark as normal | Review status in abnormal actuals history. The original shipments are not changed. |
| **Change favorites** | Item code and add/remove | Favorite marks in the list and favorites query results |
| **Register S\&OP agenda item** | Item code, sheet, target month, scenario | The agenda item and quantity on the S\&OP sheet. Also check whether an agenda item you registered earlier was updated. |

***

## 6. Chat history, settings, and image attachments

### 6-1. Chat history

![Chat history list](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-08-history-list-v2.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=afa4cfbb92c2bd33c4f7b4f14f4fdab5)

Chat history — search, new chat, recent chats

* Click the **Chat history** icon in the top bar to see your chats, most recently updated first. You can search by title.
* Click **\[New chat]** to start a new question.
* Clicking the delete icon shows a confirmation. Deleted chats can't be reopened, so copy what you need or download the tables first.
* Deleting a chat does not revert data changes that have already run.
* In long chats, conditions you entered earlier may not be applied. Re-enter important item codes, periods, and conditions.

### 6-2. User Context

![User Context and skill list in settings](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-06-settings.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=2e1052b17760f57dcf4a282e5d8be981)

Settings — User Context and the skill list

**1. Open settings**

Click the settings icon in the top bar.

**2. Enter your preferences**

Enter the items you care about, your work perspective, and your preferred answer format in **User Context**.

**3. Save**

Click **\[Save]** and confirm that it saved.

Example: "Focus on the beverage category. Explain recent actuals and understock risk first, and put comparison figures in a table."

User Context holds up to 2,000 characters of preferences that shape how answers are written. Enter query targets and change scopes directly in your questions.

### 6-3. Turning skills on and off

* Find a skill with **Search skills** in settings and use its switch to turn it on or off. The agent doesn't use skills that are off.
* Skill switches save immediately, separately from the User Context \[Save] button.
* Skills are grouped into Insights, Data query, Visualization, Web, and Data change. Web search and data change skills are marked **Approval required**.
* If a query doesn't work, check that the relevant skill is on.

### 6-4. AI change history

![AI change history](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-07-history.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=09eaac74772191cb16aa997ca6470450)

Bottom of settings — skills that need approval and AI change history

**1. Go to AI change history**

Go to **AI change history** at the bottom of settings.

**2. Review the records**

Check the task type, summary, user, run time, and whether it failed.

**3. See before/after values**

Click **N targets** to expand the before and after values.

**4. Narrow it down**

Turn on the **My changes only** switch to see only your tasks. Load older records with **\[Show more]**.

* Changes run by other users in your company are shown too.
* If there are many targets, only some may be shown.
* Change history is for review only; there is no revert feature. To restore, check the previous value and change it again with the relevant feature.

### 6-5. Attaching images

![Image attachment](https://mintcdn.com/impactiveai-a49db5ff/f6FrR5HBvkewuvkr/images/forecast-agent/agent-10-attach.png?fit=max\&auto=format\&n=f6FrR5HBvkewuvkr\&q=85\&s=69f2c8f6c212959125192583046bcba0)

**1. Open attach**

Click the attach icon in the side panel or full screen, or Attach in the small-window menu.

**2. Add images**

Select an image, paste a copied image into the input box, or drag it into the chat area.

**3. Check and send**

Check the images in the preview and send them with your question. You can remove images you don't need before sending.

* You can attach up to **3 images** at a time, up to **4MB** per file.
* When you send a screenshot, include what you want checked in your question.
* PDF, document, CSV, and Excel files can't be attached.

***

## 7. FAQ

> [accordion] I can't see the agent.
>
> Make sure you're on the demand forecast v2 list or detail screen. Click the **\[AI Assistant]** tab on the right edge of the screen to open it. It works differently from the chatbot on the previous demand forecast screen.

> [accordion] The numbers on screen and in the answer differ.
>
> Check that the forecast model, cycle, reference date, item code, and forecast point are the same. Also check the averaging period, whether inventory is linked, and the difference between item-level values and overall totals. If the answer is from an earlier chat, ask again against current data.

> [accordion] The hit rate is over 100%.
>
> Hit rate is previous forecast ÷ actuals, so it can exceed 100%. Above 100% is over-forecast and below is under-forecast. The normal range is 80–120%.

> [accordion] There is no cause analysis or recent demand trend.
>
> The agent doesn't generate new AI analyses; it only reads results already generated on the detail screen. Check that an AI analysis was generated on the detail screen and that daily actuals exist.

> [accordion] A task stays pending approval.
>
> It proceeds only after you click **\[Approve]** or **\[Reject]** on the approval card. If the targets or values are wrong, reject it, adjust your question, and ask again.

> [accordion] No approval card appears.
>
> Query features don't show an approval card. If you requested a change and none appears, check whether auto-approve is on. With auto-approve on, web searches and data changes run immediately.

> [accordion] I changed the all-item thresholds, but some items didn't change.
>
> Thresholds set separately on subcategories or individual items are kept. Query the stock thresholds and their source for those items.

> [accordion] The skill is there, but file upload doesn't work.
>
> The demand forecast screen currently accepts image attachments only. Use the Dataset Management screen to register data.

> [accordion] The response cut off or an error occurred.
>
> Reopen the chat from chat history. If it was a change request, check AI change history and the actual values before asking again, to avoid running it twice. Also check your login and network status.

> [accordion] I reached the trial account question limit.
>
> Trial accounts can ask up to 3 demand forecast questions per day. Questions on the previous demand forecast screen and the v2 screen count toward the same limit.

***

## 8. Quick walkthrough

**1. Check inventory issues**

On the list screen, click **Inventory issues to check first** to see counts by status and priority items.

**2. Narrow the targets**

Narrow it down: "Show only the 5 with the largest 3-month average actuals."

**3. View an item chart**

Click an item link to go to the detail screen, and in a new chat ask "Show this item's forecast and actuals as a chart."

**4. Compare scenarios**

Ask "Compare demand and days of supply for this item by response scenario. Query only."

**5. Change and verify**

If a change is needed, start with "First show me only the current values and the targets to change," review the approval card, then check the run result and AI change history.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.