Webhooks - Outgoing Webhooks and Incoming Webhooks, Webhook Automation with Retry Queue and HMAC Webhook Signature
by Modvanta https://modvantaapps.tech/odoo-apps/webhooks/$ 29.91

Outgoing and incoming webhooks for any Odoo model, set up on screen
Send an HTTP request to Zapier, Make, n8n, Slack or your own system when a record is created, changed or deleted, and let other systems create or update Odoo records through a signed URL. Deliveries are queued after commit, retried with backoff and logged.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
An outgoing webhook watches one model. Choose the trigger - created, updated, created or updated, a stage or status change, deleted, a date, a schedule or a manual Action menu entry - and the destination URL. Build the payload by picking fields, or write a JSON template with placeholders, and add a signature or authentication.
Events are recorded when the Odoo transaction commits, so a rolled-back change sends nothing, and a background worker delivers them. Failed deliveries are retried with exponential backoff; after the last try they become dead letters you can replay. Every try is logged with status, error, headers (secrets masked) and response.
An incoming webhook gives another system a secret URL. Requests are checked (HMAC signature with timestamp, shared secret header or basic credentials), deduplicated by request ID and mapped onto Odoo fields to create or update records. Refused and failed requests are logged with the reason.
Who it is for
Teams using Zapier, Make or n8n Push Odoo changes to an automation platform without writing a module. | Integrators and developers Signed, retried, logged HTTP calls to your own services, and a safe way for them to write back. | Operations and support A dashboard, a delivery log and dead letters you can replay when a receiver was down. |
Key features
All screenshots were taken on Odoo 19 with this module installed. Outgoing calls went to a local stand-in for the receivers at example.com addresses; nothing left the bench.
Feature 1
Dashboard of every outgoing webhook
One card per webhook with its model, trigger and URL, and the number of deliveries waiting, sent in the last 24 hours, failed and dead, with the success rate.
Open the waiting, delivered or dead deliveries from the card

Feature 2
When and where
Pick the model and the trigger, the watched fields for updates, an optional record filter and company, then the URL, method, signature and authentication. Start, Pause and Back to Draft control whether events are recorded and sent.
Created, updated, status change, deleted, date based, scheduled or manual
Add a Send webhook entry to the model's Action menu

Feature 3
Payload: pick fields
Choose the fields to send and the JSON key of each, including fields of linked records such as the customer name of a sales order. Wrap them in a standard envelope with the event, model and ID, and send old and new values of the changed fields.
Here: number, customer, total and currency of confirmed sales orders

Feature 4
Preview and test on a real record
Build Payload shows the exact JSON for a record and the request headers with secrets masked. Send Test Request posts it to the URL and shows the HTTP status and the answer; the request is kept in the delivery log as a test.
Check a receiver before you start the webhook

Feature 5
Payload: JSON template
Write the body yourself with placeholders such as the event, the record name, the user and a link to the record, or start from a ready shape for chat messages. Placeholders can only read fields.
Templates for text, content and Adaptive Card chat messages

Feature 6
Retries, flow control and failure rules
Set the number of tries, the first retry delay, the multiplier, the longest wait and a random spread. Keep the order per record, limit requests per minute and parallel requests, and set the timeout.
Activity for the responsible and an alert email when deliveries fail
Stops after a number of failures in a row; waiting events are kept

Feature 7
Delivery queue and log
Every delivery with its webhook, event, model and record, number of tries, HTTP status, duration, next try, last error and state. Here the chat channel answered 503 three times and its two deliveries are dead letters.
Replay one or many deliveries, cancel waiting ones

Feature 8
Every try of a dead letter
A delivery shows its ID, event, record, tries, status and the log of each try with date, status, duration and error. The payload is on its own tab.
Replay Dead Letters button on the webhook

Feature 9
Incoming webhooks with HMAC check and field mapping
Each incoming webhook has a secret URL, the action (create, update, or update else create), the model and the user it runs as. Verification by HMAC signature with a signed timestamp, by a shared secret header or by basic credentials; allowed IP addresses and a body size limit.
Mapping from JSON paths to fields, with a key field to find the record
Answer first and process after, optionally firing outgoing webhooks

Feature 10
Log of incoming requests
Every request with time, caller IP, request ID, model, records created or updated, duration, error and state. Here a request with a wrong signature was refused, and one without the required email failed with the reason.
Duplicates detected by request ID

How it works, step by step
| 1 | Install the module A Webhooks app appears with Dashboard, Outgoing, Incoming, Reporting and Configuration. |
| 2 | Create an outgoing webhook Pick the model, trigger, URL and payload; add a signature or credentials under Configuration -> Credentials. |
| 3 | Preview, test and start Use Preview and Test on a real record, then press Start. Changes are delivered after each commit. |
| 4 | Receive data Create an incoming webhook, map JSON paths to fields, give the URL and secret to the other system and press Start. |
Settings
Set per webhook on its form.
| When | Model, trigger, watched fields, from and to values for status changes, date delay, schedule, record filter, company. |
| Where | URL, method, signature, authentication (bearer, basic, digest, API key, OAuth 2.0), event name, timeout, TLS check, redirects. |
| Payload | Pick fields or JSON template, envelope, old and new values, build when the event happens or when it is sent. |
| Headers | Extra headers, secret ones masked in the log. |
| Delivery | Max attempts, backoff, spread, retry 4xx, order per record, rate limit, parallel requests, retention, alerts, stop after failures. |
| Incoming | Action, model, run as user, verification method, signature header and prefix, algorithm, timestamp window, IP allow list, body limit, request ID source, mapping. |
Frequently asked questions
Is anything sent if the change is rolled back?
No. Events are recorded when the transaction commits and sent by a background worker, never inside the business transaction.
What happens when the receiver is down?
The delivery is retried with growing waits. After the last try it becomes a dead letter that you can replay, and the responsible gets an activity.
Can it call addresses on my own network?
Not by default. Loopback, private, link-local and reserved destinations are refused after DNS resolution and on every redirect. A webhook can be allowed to reach private addresses explicitly.
How do other systems prove a request is theirs?
With an HMAC signature of the timestamp and body, a shared secret header or basic credentials. Requests with a wrong signature are refused and logged.
Do I need to write code?
No. Models, triggers, fields, templates and mappings are all chosen on screen.
Compatibility
Odoo 19 Community and Enterprise | Depends on base and mail only | Any model contacts, orders, leads... | 111 tests run on install |
Connect Odoo to any system with webhooks
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Module, setup help by e-mail |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 3533 |
| Technical Name |
mdv_webhooks |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/webhooks/ |
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module