Fetch Odoo customer data and export to JSON or Excel
Needs changesWhat 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.
- Prepare Dynamic Filter (Function): runs custom JavaScript (legacy Function node)
- Fetch Customer (Odoo): get many (custom)
- Prepare Output Data (Function): runs custom JavaScript (legacy Function node)
- Check If Excel Required (If): checks a condition and branches into true / false
- Return all data for create binary file (Code): runs custom JavaScript code
- Respond with JSON (Respond to Webhook): sends the response back to the webhook caller
- Convert to Excel (Convert to File): converts data to a file (xlsx)
- Respond with File (Respond to Webhook): sends the response back to the webhook caller
Services it uses
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 Filter1, Prepare Output Data1: 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.0 | Replace with |
|---|---|
| Function (legacy) Prepare Dynamic Filter1, Prepare Output Data1 | Code node, mode 'Run Once for All Items' |
Nodes used (7)
- Webhook
n8n-nodes-base.webhook - Function
n8n-nodes-base.function - If
n8n-nodes-base.if - Convert to File
n8n-nodes-base.convertToFile - Respond to Webhook
n8n-nodes-base.respondToWebhook - Odoo
n8n-nodes-base.odoo - Code
n8n-nodes-base.code
From the author
Odoo Customers API – Export to JSON or Excel Odoo Customers API – Export to JSON or Excel provides a simple way to fetch customer records from your Odoo database and get them back either as a structured JSON response or a downloadable Excel (.xlsx) file. ⚙️…