See llms.txt for all machine-readable content.

Odoo and OpenAI integration

Save yourself the work of writing custom integrations for Odoo and OpenAI and use n8n instead. Build adaptable and scalable Data & Storage, workflows that work with your technology stack. All within a building experience you will love.

How to connect Odoo and OpenAI

Create a new workflow and add the first step

In n8n, click the "Add workflow" button in the Workflows tab to create a new workflow. Add the starting point – a trigger on when your workflow should run: an app event, a schedule, a webhook call, another workflow, an AI chat, or a manual trigger. Sometimes, the HTTP Request node might already serve as your starting point.

Odoo and OpenAI integration: Create a new workflow and add the first step

Send 10-day post-purchase WhatsApp offers with Odoo, OpenAI and Evolution API

What Problem Does It Solve? Generic, automated retention messages often feel like spam and fail to engage returning customers. Manually tracking which customers ordered exactly 10 days ago to send them tailored offers is extremely time-consuming. Sending bulk promotional WhatsApp messages too quickly can result in phone number bans. This workflow solves these issues by: Automatically fetching customers from Odoo whose invoices are exactly 10 days old. Using an AI Agent (OpenAI) to generate a highly personalized, warm Egyptian Arabic message for each customer. Offering a targeted 10% extra discount to encourage repeat purchases via social media platforms. Implementing a 1-minute "Wait" mechanism between messages to protect your WhatsApp account from being flagged. How to Configure It Odoo Setup Connect your Odoo credentials in n8n. The workflow fetches invoices starting from April 2026. Adjust the date filter in the "Fetch 10-Day Old Invoices" node if needed. OpenAI Setup Add your OpenAI API key to the "Generate AI Message" node. You can tweak the system prompt to match your specific brand voice or adjust the discount offer. WhatsApp API Setup This workflow uses the Evolution API. Update the URL and "apikey" in the "Send WhatsApp Discount" node with your specific instance details. How It Works Every day at 10:01 AM, the schedule node triggers the workflow automatically. It queries Odoo for all posted invoices exactly 10 days old and retrieves the corresponding customer contact details (Name and Phone). It processes the customers one by one through a loop (Split In Batches). For each customer, OpenAI generates a unique, friendly colloquial Arabic message calling them by their first name and offering a 10% discount. The message explicitly directs the customer to claim the offer via social media messages, completely avoiding formal "terms & conditions" jargon. The workflow sends the AI-generated text via WhatsApp and then pauses for 1 minute before processing the next customer. Customization Ideas Change the AI prompt to offer different discounts based on the total amount the customer spent in their last order. Add a condition to skip customers who have already made a new purchase within the last 10 days. Switch the AI model to Claude or Gemini depending on your preference for Arabic copywriting. For more info Contact Me

Popular ways to use the Odoo and OpenAI integration

Build your own Odoo and OpenAI integration

Create custom Odoo and OpenAI workflows by choosing triggers and actions. Nodes come with global operations and settings, as well as app-specific parameters that can be configured. You can also use the HTTP Request node to query data from any app or service with a REST API.

Odoo supported actions

OpenAI supported actions

Odoo and OpenAI integration details

Odoo

Odoo

Odoo is an open-source ERP (Enterprise Resource Planning) system. It helps you run your business by streamlining and automating your business processes such as finance, sales, CRM, inventory management, operations, POS, etc.

OpenAI

OpenAI

OpenAI, the creator of ChatGPT, offers a range of powerful models including GPT-3, DALL·E, and Whisper. Leverage these models to build AI-powered workflows.

FAQ about Odoo integrations

Need help setting up your Odoo and OpenAI integration?

Discover our latest community's recommendations and join the discussions about Odoo and OpenAI integration.

  • Artem

    How to define AI-powered Extra Workflow Inputs in AI tools?

    Artem

    Describe the question I need to pass to the tool some data from the AI Agent. Like, “task name” and “task tags” to create a task via Custom Workflow Tool. So I don’t know what to refer to in the Extra Inputs. Because th…

    Open topic
  • sérgio eduardo floresta filho

    The prompt is not being executed

    sérgio eduardo floresta filho

    Hello! My goal is to use Google Forms to collect information from my clients and then use n8n to automate the processing of this information. My workflow involves: Collecting data through Google Forms. Using n8n to re…

    Open topic
  • Heisenbug

    How to handle multi-message prompts in OpenAI Chat node?

    Heisenbug

    Describe the problem/error/question I want to send multiple messages to the OpenAI Chat node (LangChain → LLM Prompt Template) in a single execution, simulating a conversation. The first message is fixed, and the followi…

    Open topic
  • Julien

    OpenAI node - How to use the new Endpoint?

    Julien

    Is it possible to choose the Responses API or OpenAI ? It has been updated a few months ago by OpenAI, but the node still seems to be using the old Completions API. [https://platform.openai.com/docs/guides/migrate-to-re…

    Open topic
  • Andrew adawdad

    OpenAI not receicving JSON data from previous node

    Andrew adawdad

    Describe the problem/error/question Im currently using the openAI node to send a text message to the system. I am sending the previous nodes JSON data, but the openai response says that im only sending {{ $json }} instea…

    Open topic

Looking to integrate Slack and VirusTotal in your company?

Trusted by teams building smarter workflows.

Why

Why use n8n to integrate Odoo with OpenAI

Handle branching, merging and iteration easily. Pause your workflow to wait for external events.

Re-run single steps to test changes in no time. And pin your data to avoid generating trigger events every time you execute.

Your data is displayed alongside your settings, making edge cases easy to track down.

Use 1000+ workflow templates available from our core team and our community.

Copy and paste, easily import and export workflows.

Simple enough to 
understand + sophisticated 
enough to ship