Skip to main content

Create Record

Creates a record in Odoo.

This node is also exposed as an AI Agent tool.

This node has 1 input port and 1 output port.

Common Properties

Every node shares these.

  • Name — the node's display name on the canvas.
  • Color — the node's colour on the canvas.
  • Delay Before (sec) — wait this long before the node runs.
  • Delay After (sec) — wait this long after the node runs.
  • Continue On Error — carry on instead of failing the flow. Defaults to false.
info

When Continue On Error is true the error is not raised at all, so a Catch node will not see it either.

Inputs

PropertyFieldDescription
Client IDinClientIDClient ID from Connect node (optional if credentials provided)
ModelinModelOdoo model name (e.g. res.partner، sale.order)
ValuesinValuesField values as JSON object (e.g. {"name": "John"، "email": "john@example.com"})

Outputs

PropertyFieldDescription
Record IDoutRecordIDID of the created record

Options

PropertyFieldDescription
CredentialsoptCredentialsOdoo login credentials

Requirements

  • A Client ID from this package's Connect node, unless you set credentials directly on this node.
  • Odoo Login — Odoo server URL, database, username and API key/password
    • server — Server URL (text, required). Odoo server URL (e.g. https://mycompany.odoo.com)
    • database — Database (text, required). Odoo database name
    • username — Username / Email (text, required). Odoo login email or username
    • password — API Key / Password (password, required). API key (recommended) or password. Generate API key from Settings > My Profile > Account Security

Store these in a Vault and reference the vault item from the node, rather than typing the secret into the property.

Connect · Disconnect · Search Read · Update Record · Delete Record · Get Fields · Execute · Toolkit

See also