# How to automate material restocking in Uranus OS
Material restocking in Uranus OS: alert, check, order and receipt on one board, plus an agent that opens the purchase task when stock reaches the minimum.

The storekeeper notices the box of screws is nearly empty. He sends a voice note to the purchasing WhatsApp group. The buyer is in a meeting, the message scrolls away, and three days later the line stops because the material ran out. In the stock spreadsheet the minimum was right there, in a column nobody reads.

The alert existed. It just never turned into an order, and nobody owned the next step.

## The stages

Who takes part: Purchasing and the warehouse.

- Alert
- Check
- Order
- Receipt

The weak point is getting from Alert to Check. The warning leaves the warehouse and has to reach someone who confirms the quantity and places the order.

## How to set it up in Uranus OS

1. **Create a "Restocking" project type** with the four stages above. Each item that needs restocking becomes a card with its own key, such as OS-305.
2. **Build the task form.** The fields that matter: minimum stock and due date. Add the item, the internal code, current stock, quantity to order and the usual supplier. With the minimum and the current count on the same card, everyone can see the math.
3. **Set an owner for each stage.** Alert and Check go to the warehouse, which counts and confirms. Order goes to the buyer. Receipt goes back to the warehouse, which checks what arrived.
4. **Write the procedure in Documents.** How to count, where to record it, the minimum for each item family and who is allowed to change it. It sits next to the tasks, and every version keeps who wrote it.

## Where the agent comes in

The agent opens the purchase task when stock reaches the minimum you set. The storekeeper updates current stock on the card during the count. When someone calls the agent, at the start of a shift for example, it goes through the cards, compares current against minimum and drafts the purchase task for every item that has hit the limit.

The instruction fits in a few lines:

> Look at the restocking cards in Alert and Check. When current stock is at or below minimum stock, create a purchase task with the item, the quantity to order, the usual supplier and the due date. Assign it to the buyer and move the card to Order. If current stock is blank, comment asking the warehouse for a count.

To do that it calls `tasks_search` to find the cards, `tasks_get` to read the fields, `tasks_create` to open the purchase task, `tasks_assign` to give it an owner and `tasks_transition` to change the stage. By default the agent proposes and a person clicks Approve or Decline. The buyer sees the proposal, adjusts the quantity if needed, and only then does it go in.

The agent only reaches what you allow it in the system. If it handles restocking, it has no reason to see the sales pipeline.

## What gets recorded

Every change lands in the history with a name and a date: who counted, who changed the minimum, who approved the order. Whatever the agent proposed carries the "agent" badge, next to the name of whoever approved it. If the line stops for lack of material, the card shows which stage the order was in and who had it.

## With the AI you already use

If your company already uses ChatGPT, Claude, Gemini or another assistant, it can operate Uranus OS through the MCP server. The buyer asks their usual assistant which items are below minimum, and the answer comes from the cards, not from a spreadsheet someone forgot to update.

Uranus OS is in closed beta. If you prefer, Uranus can set this process up with your team.

[Join the closed beta](/contact?servico=teste)
