OOps icon

OOps

Interact with OOps — the N2 ITSM suite on Odoo

Approval → Get Many

AI-generated

Summary

Searches Odoo approval records using an optional JSON domain and returns matching records, with fields, pagination, and ordering configurable.

Inputs

  • Domain (JSON) — Odoo search domain as a JSON array of tuples, such as [["state","=","new"]]. Defaults to [] (no domain); invalid JSON or a non-array value raises an error.
  • Fields — Comma-separated field names to return. Leave empty to request all fields.
  • Limit — Maximum number of records to return; defaults to 50.
  • Offset — Number of records to skip; defaults to 0.
  • Order — Odoo order clause, such as create_date desc. Leave empty to use the model default.

Output shape

A list of approval record objects, one n8n output item per record.

Uses Odoo's search_read on the itsm.request.approval model. An empty search returns no record items. Errors are raised unless Continue On Fail is enabled, in which case the affected input item produces an object with an error field.

Examples

Example 1: Find pending approvals

Set Domain (JSON) to [["state","=","new"]], optionally request fields such as name,state, and set Limit, Offset, or Order as needed.

Links

Discussion