AI Agent Hub
Back to skills
Colipu Enterprise Procurement Assistant icon

Colipu Enterprise Procurement Assistant

Business Operations Updated 2026.08.29

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_b68bd153/colipu-procurement into your AI assistant.

About this skill

Problem Solved

Enterprise procurement agents often need to move from product search to order placement and order lookup on the Colipu B2B platform. The workflow is fragile because APIs are spread across login, search, receiver, cost center, pre-submit, confirm, async order-number retrieval, detail, and cancel steps. This skill wraps those endpoints in ColipuClient and helper scripts so agents can follow a deterministic API flow instead of guessing field semantics.

How It Works

The skill supports three common paths: place an order directly when ItemId and quantity are known; search by keyword and show candidates first; or run buy_products.py for search, selection, confirmation, and ordering. Orders use Direct=true and merge multiple SKUs into one submission instead of creating separate pre-submissions. The agent obtains EGG_SESS from login, selects a valid ReceiverId and CostCenterId, calls /api/confirm/create to get GuId, then calls /api/confirm/orderConfirm and polls /api/confirm/getOrderCreateResult for the asynchronous SoId. If pre-submit returns failure, the flow stops.

Boundaries

It is intended for routine office supplies, order queries, and cancellations, not negotiation, returns, other platforms, or web UI automation. The skill does not validate budget. Before submission, the agent must show the item list, total amount, recipient, and cost center, and require explicit user confirmation. Credentials must come from environment variables and must not be written to logs or repositories.

Use Cases

  • Search Colipu office supplies by keyword, filter by price, select SKUs, and submit a merged order.
  • Place an order directly from ItemId and quantity, then poll for the asynchronous SoId after confirmation.
  • Query order lists or order details to verify amount, line items, recipient, and approval status.
  • Cancel orders in approval or pending shipment status and surface API failure reasons.

Best For

  • Office procurement administrators who need keyword-based selection, merged SKU ordering, and auditable user confirmation.
  • Platform engineers integrating Colipu APIs into agent workflows or procurement automation scripts.
  • Operations staff tracking order details such as SoId, paid amount, line items, and approval status.
  • Support engineers handling failed procurement cases who need to cancel eligible orders and capture API errors.