Finance · erp_run_action
Run an ERP workflow (Odoo)
Confirm a quotation or order, validate a delivery, reserve stock, mark a lead won or lost, cancel: the Odoo button, under human approval.
- Price
- included
- Requirements
- Odoo
- set it up in Settings → Integrations
- Human approval
- Yes, by default
- outside-facing write: a human validates
- Reliability
- Verified
- not measured yet
Input
| Field | Type | Description |
|---|---|---|
| model * | string | Odoo model, e.g. sale.order |
| ids * | array | Record ids to act on (1-50). |
| action * | string | Workflow method, e.g. action_confirm, button_validate, action_set_won |
| context | object | Optional Odoo context, e.g. {"skip_sms": true}. |
Call this tool
Through the HTTP API, or from the MCP server with the run meta-tool.
curl https://api.ezyagents.fr/gateway/v1/run \
-H "Authorization: Bearer ezk_…" -H "Content-Type: application/json" \
-d '{"tool":"erp_run_action","input":{"model":"…","ids":[],"action":"…","context":"…"}}'$
run({ "tool": "erp_run_action", "input": {"model":"…","ids":[],"action":"…","context":"…"} })