SAP Business One Integration Template
Integrate the SAP Business One ERP system into your Mid-call Actions with three powerful functions: check item availability, retrieve order status, and create quotes — perfect for B2B sales and customer service.Overview & Features
Item Availability
- Real-time stock inquiry
- Reserved and ordered quantities
- Multi-warehouse overview
- Reorder status
Order Status
- Complete order details
- Delivery date tracking
- Partial delivery status
- Customer service integration
Create Quote
- Instant quote generation
- Customer-specific pricing
- Discount management
- PDF export and email sending
Tool 1: Check Item Availability
Configuration in the Famulor Interface
- Tool Details
- Query Parameters
| Name* |
SAP B1 Item Availability |
| Function Name* | check_sap_item_availability |
| HTTP Method | GET |
| Endpoint* | https://{{SAP_B1_HOST}}/b1s/v1/Items('{item_code}') |
| Timeout (ms) | 5000 |"{{itemName}}: {{available}} pcs available, {{reserved}} reserved. {{#if onOrder}}{{onOrder}} pcs on reorder.{{/if}}"
Tool 2: Retrieve Order Status
Configuration in the Famulor Interface
- Tool Details
| Name* |
SAP B1 Order Status |
| Function Name* | get_sap_order_status |
| HTTP Method | GET |
| Endpoint* | https://{{SAP_B1_HOST}}/b1s/v1/Orders({{order_id}}) |"Order {{orderNumber}} for {{customerName}}: Status {{status}}, ordered on {{orderDate}}, delivery planned for {{deliveryDate}}"
Tool 3: Create Quote
Configuration in the Famulor Interface
- Tool Details
| Name* |
SAP B1 Create Quote |
| Function Name* | create_sap_quotation |
| HTTP Method | POST |
| Endpoint* | https://{{SAP_B1_HOST}}/b1s/v1/Quotations |"Quote {{docNum}} has been created. The quote is valid until {{valid_until}}."

