For the complete documentation index, see llms.txt. This page is also available as Markdown.

Odoo Inbound Integration

Create alerts in ilert from Odoo Helpdesk tickets — with ilert's Odoo inbound integration

Odoo is an open-source suite of business apps covering CRM, sales, projects, inventory, accounting and — with the Helpdesk app — customer support ticketing. Odoo's automation rules can react to record changes and call out to external systems via webhooks. With this integration, tickets raised in Odoo Helpdesk automatically create alerts in ilert, so the right responders are notified and escalations happen reliably.

In ilert: Create an Odoo alert source

  1. Go to Alert sources --> Alert sources and click on Create new alert source

  2. Search for Odoo in the search field, click on the Odoo tile and click on Next.

  3. Give your alert source a name, optionally assign teams and click Next.

  4. Select an escalation policy by creating a new one or assigning an existing one.

  5. Select your Alert grouping preference and click Continue setup. You may click Do not group alerts for now and change it later.

  6. The next page shows additional settings such as custom alert templates or notification priority. Click on Finish setup for now.

  7. On the final page, ilert generates an Odoo URL for your alert source. Copy it — you will need it in the next section.

In Odoo: Install Studio

Webhook actions and custom fields are configured with Odoo Studio. If it is not installed yet, go to Apps, search for studio and install the Studio (web_studio) module.

In Odoo: Send tickets to ilert

  1. Open the Helpdesk app and click the wrench icon (🛠) in the top right to enter Studio.

  2. Go to Automations and click New.

  3. Give the rule a name, keep Model set to Helpdesk Ticket, choose a Trigger — for example On create and edit — and adjust the remaining settings, such as the domains under Apply on, if you only want certain tickets to reach ilert.

  4. Under Actions To Do, click Add an action and choose the type Send Webhook Notification.

  5. In the URL field, paste the Odoo URL that you copied from ilert.

  6. In Fields, select the ticket fields that should be sent to ilert — for example subject, description, stage, priority, assignee and customer. The Sample Payload on the right shows what Odoo will post. Click Save.

That's it — tickets matching the rule now create alerts in ilert.

In Odoo: Add the ticket URL to the payload (optional)

The webhook payload contains field values only, so the ticket does not carry an absolute link to itself. If you want the alert in ilert to link back to the Odoo ticket, add a custom field that holds the full URL and fill it with a second automation rule.

  1. In Helpdesk leave Studio click on create a new ticket and then go back into studio. Studio's form editor needs an existing ticket to render the form.

  2. Open Views.

  3. Drag a Text field onto the form and set its Label to url. Tick Invisible if you do not want to see the field on the ticket — it only needs to exist so it can be sent along with the webhook.

    Odoo stores the field under the technical name x_studio_url, which is the name used in the code below.

  4. Go back to Automations and click New. Give the rule a name, for example get url, and choose the same model and trigger as before.

  5. Under Actions To Do, click Add an action, choose the type Execute Code, paste the following code and click Save.

  6. Both rules now show up in the Automations list of the Helpdesk Ticket model. Finally, open the webhook rule again and add the url field to its Fields selection so the link is included in the payload.

FAQ

Do I need Odoo Studio?

Yes. The Send Webhook Notification action and the custom url field are both Studio features. Studio is available in Odoo Online and Odoo.sh plans that include it, as well as in Odoo Enterprise.

Can I connect Odoo with multiple alert sources in ilert?

Yes. Create an additional automation rule in Odoo for each alert source and point its webhook action at that alert source's Odoo URL.

Can I use models other than Helpdesk Ticket?

The integration is built around Odoo Helpdesk tickets. Automation rules on other models can post to the same URL, but their fields are not mapped.

Last updated

Was this helpful?