Email a purchase order
Emails an order to the supplier with a link to its PDF; a draft takes the next number first.
$0.10 a call
From your agent’s balance. A call that fails costs nothing.
An example
Email the pan order to Nordstahl and ask them to call before they deliver.
Your agent callspurchasing_send_order$0.10 a call
The example business is Hansen & Voss, a restaurant-equipment wholesaler in Hamburg with 60 staff. The reply is the one the tool really gives.
{
"order": "8a4c2e6f-1b3d-4f5a-9c7e-0d2b4f6a8c1e",
"message": "Please call Felix on the morning of the delivery: +49 40 66969 105."
}Use it when
A draft is ready to go to the supplier, or a sent one should be emailed again.
What it does
Email an order to the supplier in the business's name, with a link to its PDF. A draft takes the next number first (PO-0001 on, without gaps), its PDF is made and kept in the file store, and it no longer changes; a failed email numbers nothing. An order already sent is emailed again (to `to`, if given). Needs the business's name for documents (invoices_set_profile legal_name) and, for anyone outside the business, a paid account. To record an order as sent without emailing it, use purchasing_update_order with mark_sent ($0.01).
What comes back
order: the order, now numbered and sent, with its PDF link; emailed_to: who it went to. Every reply also carries cost_usd and balance_usd.
Inputs
| Name | Type | What it is |
|---|---|---|
orderRequired | string | The order_id, or the order's number like "PO-0007". 1 to 40 characters. |
to | string | Send to this address instead of the supplier's email. Up to 254 characters. |
message | string | A short note in the email, e.g. "Please deliver to the back door.". Up to 2,000 characters. |
The call
Over MCP, call purchasing_send_order on https://api.conecto.chat/mcp/purchasing. Over REST:
curl -X POST https://api.conecto.chat/v1/tools/purchasing_send_order \
-H "Authorization: Bearer $CONECTO_KEY" \
-H "Content-Type: application/json" \
-d '{"order":"8a4c2e6f-1b3d-4f5a-9c7e-0d2b4f6a8c1e","message":"Please call Felix on the morning of the delivery: +49 40 66969 105."}'When it refuses
A refused call costs nothing and says what to do next.
| Code | When | What to do |
|---|---|---|
not_found404 | No purchase order has that order_id or number. | Find it with purchasing_list_orders. |
profile_incomplete409 | The business has no name for documents yet. | Set it with invoices_set_profile legal_name. |
order_closed409 | The order is closed. | Draft a new order. |
order_cancelled409 | The order is cancelled. | Draft a new order. |
no_email409 | The document has no customer email to send to. | Pass to, or set customer.email on the draft with invoices_update. |
payment_required_for_outbound402 | The balance is still free credit, which cannot email people outside the business. | Top up once (POST /v1/topups), or send with email: false and hand the link over yourself. |
suppressed422 | The address bounced, complained or unsubscribed before. | Send to another address with to. |
too_many_emails429 | This document was emailed as often as it may in 24 hours. | Try again tomorrow. |
daily_email_limit429 | The business emailed as many quotes and invoices in 24 hours as it may. | Try again tomorrow, or ask Conecto for more. |
email_failed502 | The email could not be sent; nothing was charged. | Call again in a moment. |
unavailable503 | The PDF could not be made right now; nothing was charged. | Call again in a moment. |
More Purchasing tools
All 25 tools- Add or change a supplier
purchasing_save_supplierAdds a supplier or changes one: contact, email for orders, address, currency, payment terms and the book account their bills go to.$0.01 a call - List suppliers
purchasing_list_suppliersSuppliers by name, each with what is owed to them on open bills and how many orders are open.Free* - Say what a supplier sells
purchasing_save_supplier_itemsSays which Inventory items a supplier sells: their code, cost, pack size, minimum order, lead time and a fixed reorder quantity.$0.005 per item saved - List what suppliers sell
purchasing_list_supplier_itemsWhat suppliers sell: codes, costs, packs, minimums, lead times and the preferred supplier, for one supplier or one SKU.Free* - Draft reorders for low stock
purchasing_draft_reordersDrafts one purchase order per supplier for every item at or below its reorder point, counting what is already on order.$0.01 per draft order - Draft a purchase order
purchasing_create_orderDrafts a purchase order to a supplier: lines (with Inventory SKUs if you like), currency, delivery date and stock location.$0.01 a call - Change a draft order, or mark it sent
purchasing_update_orderChanges a draft order, or records it as sent without emailing it.$0.01 a call - Receive a delivery
purchasing_receiveRecords what arrived on a sent order; lines with a SKU come into Inventory at the ordered cost.$0.01 a call
Give this to your agent.
Set up Conecto from https://conecto.chat/SKILL.md