Actions19
- Approval Actions
- Service Request Actions
- Task Actions
Approval → Ask
AI-generatedSummary
Create an Odoo approval record for a service request and a specified approver, optionally including a comment. Optionally pause the workflow using an Odoo callback until the approval is decided or the wait deadline is reached.
Inputs
- requestId (required) — Required numeric ID of the itsm.request awaiting approval.
- approverId (required) — Required numeric res.users ID of the user asked to approve.
- comment — Optional context for the approver; omitted from the created record when empty.
- waitForCompletion — Defaults to false. When enabled, writes the execution resume URL to the approval record and pauses the workflow. Requires the Odoo itsm_n8n_callbacks module and an execution context that supports pausing.
- maxWaitHours — Used only when waiting is enabled. Sets the wait deadline in hours; defaults to 720 (30 days), with a UI minimum of 1.
Output shape
One JSON item per input item containing id, model, request_id, and approver_id.
model is itsm.request.approval. Adds waiting: true when waiting is enabled; the returned object does not include the approval decision or a timeout indicator. Creation happens before wait setup, so a wait setup failure can leave the approval record created. With Continue On Fail enabled, failures return an item containing error.