younifyd
Menu

Count Records

Count the records matching a domain

Use it in a workflow

  1. Add a step and choose the Odoo connector.
  2. Pick the Count Records action (under erp).
  3. Fill in the fields below, then reference the result from later steps as {{countRecords.response.data}}.

Fields

modelstringrequired

The Odoo model's technical name, e.g. res.partner, sale.order, product.product, account.move.

domainstring

Odoo search filter as JSON, e.g. [["is_company", "=", true], ["country_id.code", "=", "GB"]]. Leave empty for all records.

contextstring

Optional Odoo context as JSON, e.g. {"lang": "fr_FR", "active_test": false}.

Need more? See the Odoo guide for connection setup and behaviour shared by every action.

Was this page helpful?