Create a lead in Odoo from external form
Create leads in Odoo from external forms
Summary
| Categories |
Webhooks
|
| Tags |
Odoo
CRM
|
| Authors |
Cetmix OU
|
| License | AGPL-3 |
| Version | 1.0.0 |
| Call sign | cx_webhook_contact_from_website |
| Website | https://cetmix.com |
Lead from Contact Form Webhook
Turn your website contact form submissions into CRM leads automatically using a secure webhook integration.
This Hangar template provides a ready-to-use Cetmix Tower webhook that receives data from an external website contact form and creates a new lead in Odoo. It includes built-in API key authentication, partner detection/creation logic, and automatic lead generation to streamline inbound sales workflows.
Key Features
Secure webhook endpoint protected with API key authentication.
Automatic CRM lead creation from incoming contact form data.
Partner matching and creation based on the sender’s email address.
Company detection and creation if the company does not exist yet.
Customizable lead metadata, including sales team, source, and responsible user.
JSON payload support for easy integration with most website platforms and form builders.
Typical Use Case
Use this webhook when your website “Contact Us” form should immediately create a lead in your CRM without manual entry. Any platform capable of sending a POST request (custom website, CMS, form service, automation tool, etc.) can push form submissions directly to Tower.
Authentication
The webhook includes an API Key authenticator that validates the X-Api-Key header using a secret stored in Tower. This ensures that only trusted systems can submit requests.
Example Payload
A typical request contains contact details such as:
Name
Email
Phone
Company
Subject
Message
Client IP
These values are used to:
Locate or create a partner.
Create a CRM lead with the submitted information.
Result
Each valid webhook request automatically produces a new CRM lead linked to the detected or newly created contact and company.
This template is ideal for teams that want a simple, secure, and automated bridge between their website and CRM without building custom backend integrations.
This package is distributed under the GNU Affero General Public License v3.0 (AGPL-3) or later license.