Templates / Export Odoo company data via API endpoint with JSON/Excel output options

Export Odoo company data via API endpoint with JSON/Excel output options

Needs changes

by V3 Code Studio ✓ · 1,018 views · created 2025-10-14 · CRM

Needs changes. This template uses 1 thing(s) that n8n 3.0 removes: Function (legacy). 1 breaking item(s) found. Static check, last run 2026-12-01.

📬 Weekly n8n 3.0 breakage alerts, free

What this workflow does

This workflow has 9 nodes and runs when an HTTP GET request hits its webhook URL. Along the way it connects Odoo.

How it runs

Trigger: When an HTTP GET request hits its webhook URL.

  1. Prepare Dynamic Filter (Function): runs custom JavaScript (legacy Function node)
  2. Fetch Companies from Odoo (Odoo): get many (custom)
  3. Prepare Output Data (Function): runs custom JavaScript (legacy Function node)
  4. Check If Excel Required (If): checks a condition and branches into true / false
  5. Code: runs custom JavaScript code
  6. Respond with JSON (Respond to Webhook): sends the response back to the webhook caller
  7. Convert to Excel (Convert to File): converts data to a file (xlsx)
  8. Respond with File (Respond to Webhook): sends the response back to the webhook caller

Services it uses

Odoo

Before you upgrade to n8n 3.0

1 thing in this workflow is removed in n8n 3.0. Fix it before you upgrade:

  • Function (legacy) in Prepare Dynamic Filter, Prepare Output Data: replace with Code node, mode 'Run Once for All Items'.

Rather not rewrite it? Many of these flows can be rebuilt in Make (free plan).

Published 2025 — 19% of 2025 templates need changes for 3.0. See how template age affects 3.0 readiness →

Removed in 3.0Replace with
Function (legacy)
Prepare Dynamic Filter, Prepare Output Data
Code node, mode 'Run Once for All Items'

Nodes used (7)

From the author

How it works This workflow provides an API endpoint /api/v1/get-companies that retrieves company records directly from your Odoo database. It’s built for teams who need to query or export company data — either as structured JSON for integrations or as Excel…

Excerpt from V3 Code Studio's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.