Automatic Order Creation with MiPos (Auto Order)
The most advanced feature of AIHive is the ability to “close deals” automatically. The Bot will not only provide consultation but also directly create orders on the MiPos system when customers provide sufficient delivery information.How It Works (Important)
⚠️ Crucial Concept:Therefore, the configuration process must change as follows:
To create accurate orders, the Bot needs to know exactly which Variant the customer is buying (e.g., Red shirt, Size L) rather than just a general product name.
- 🔴 OFF:
mipos_product_search(Disable general search). - 🟢 ON:
mipos_search_variants(Enable specific variant search). - 🟢 ON:
mipos_create_order(Enable order creation).
Detailed Configuration Process
Step 1: Adjust the Tools
Go to AIHive Studio -> Select Agent -> Configuration tab.- In the Tools section, find
mipos_product_search(if enabled) and toggle the switch to OFF. - Click the + Add Tool button and add the following 2 tools:
mipos_search_variantsmipos_create_order

Step 2: Configure API Connection
You need to enter the API Key for both new tools (same process as the previous section).- Click the Settings icon (ℹ️) next to the
mipos_create_ordertool. - Enter API Key and Shop ID (Get these from the MiPos admin page).
- Repeat the same process for the
mipos_search_variantstool.

Operation Result
After completing the configuration, when a customer chats and finalizes a purchase, the Bot will automatically execute the following process:- Customer: “I’ll take the red Black Rouge lipstick, phone number 0912xxx, address at…”
- Bot: Automatically calls the API to create an order in MiPos.
- Response: The Bot immediately sends the order confirmation to the customer: “Your order has been successfully created! Thank you!”

