Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. CRM
  3. Email to Lead Parser v 18.0
  4. Sales Conditions FAQ

Email to Lead Parser

by Awins
Odoo

$ 42.73

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Apps / Awins / crm_email_lead_parser

Email to Lead Parser

Reads the text of the email that creates a lead and fills the lead fields from it: Label: value lines, regular expressions or text between markers.

Install›Configure›Use
/odoo/action-crm_email_lead_parser.crm_email_parser_action/5
Email to Lead Parser in the Odoo backend
Odoo17.0, 18.0, 19.0, 20.0
EditionsCommunity, Enterprise
Works withCRM
LicenceOPL-1, 39 EUR
Tests27 automated, run on every version
Modulecrm_email_lead_parser

The situation

Your website form mails the sales alias "Name: Greta Muller, Phone: +49 30 1234567, Company: Muller GmbH, Budget: EUR 12.500,00". Odoo creates the lead, names it after the subject and keeps the whole text as the first message in the chatter. Someone then copies the name, phone, company and budget into the lead fields by hand, one lead at a time, and the budget has to be retyped as a number.

You create a parser for that sender and list the lead fields with the place in the text where each value sits. The lead arrives filled in. Odoo still creates it exactly as before; the parser only writes values afterwards, and a mail that matches no parser is left alone.

What it adds

Fields to Extract
Three ways to find a value
Each line fills one lead field. Find the value after a "Label:" at the start of a line (not case sensitive, up to the end of the line), with a regular expression that has one capture group, or between a start marker and an end marker.
Without it: Odoo keeps the email as a message and fills only the subject, the sender and the notes.
Applies To
Conditions and sequence
A parser can be limited by sender, subject, the To or Cc address (the incoming alias) and sales team. Several terms are separated by commas. The first active parser, by Sequence, whose conditions all match is used.
Transform
Numbers, dates and text
Collapse spaces, lower case, title case, number and date. A number can be read as 1,234.56, as 1.234,56 or detected; a date is read with your own format such as %d/%m/%Y. Number and date fields are converted even when no transform is chosen.
Lead Field
Many field types
Text, notes, integer, float, monetary, date, datetime, selection and many2one fields of the lead. A many2one is found by name (Country: germany), a selection by its label or key (Priority: High), and tags are linked or created from a list such as "Hardware, Support".
Add Tags
Tags on every lead
Tags set on the parser are added to every lead it handles, next to any tags read from the email.
Find or Create Contact
Contact from the parsed email
After parsing, the lead is linked to the contact with the parsed email, or a contact (and company) is created from the parsed name. When the sender is a form relay already known as a contact, the lead is not linked to the relay: the parsed email replaces it.
Without it: Odoo links the lead to whoever sent the mail, which is the form relay.
Chatter note
A log on every lead
A note on the lead lists each value written, the lines that were not found in the email and the values that could not be set, with the reason. The Leads button on the parser opens every lead it filled.
Test Parser
Try it before the mail server does
Paste the text of an email and click Extract Values. A table shows the text found, the value that would be written and a status for each line. No lead, contact or tag is created.

Getting started

Install

Open Apps, clear the Apps filter, search for Email to Lead Parser and click Activate. It needs CRM. Your incoming mail server or sales team alias must already create leads: the parser works on the lead Odoo creates from the email.

Apps › crm_email_lead_parser › Activate
Configure

Open Email Parsers and click New. Set the conditions, then add one line per lead field: pick the field, the method and its label, expression or markers, and a transform where it helps. An archived sample parser for a generic website form (Name, Email, Phone, Company, Message) is installed: remove the Archived filter to find it, duplicate it and adjust the labels.

CRM › Configuration › Email Parsers Settings for Email to Lead Parser
Use

Open a parser, click Test Parser, paste the text of a real email and click Extract Values to see what each line finds. Once the mail server runs, every new lead carries a note with what was parsed.

Test Parser: the pasted text, and for each line the text found, the value written and the status. The closing date fails because
Test Parser: the pasted text, and for each line the text found, the value written and the status. The closing date fails because "next Friday" does not match %d/%m/%Y.
The lead Odoo created from the email: contact, email, phone, revenue, closing date and tags are filled, and the chatter note lists every value.
The lead Odoo created from the email: contact, email, phone, revenue, closing date and tags are filled, and the chatter note lists every value.

Fine print

What if a label is missing or a value is wrong?
The other lines are still written. The chatter note lists the lines not found and the values that could not be set. The lead is created in every case; if a parser fails unexpectedly the error is logged and the lead stays as Odoo created it.
Which parser runs when several could match?
Only one runs per email: the first active one by Sequence whose conditions all match. A parser with no lines is skipped. Empty conditions match everything, so give a catch-all parser a high sequence number.
Does it change a contact that already exists?
If the parsed Email differs from the contact Odoo matched to the sender, the lead is not linked to that contact. If it is the same contact, Odoo's usual lead rules apply, so a parsed Phone can update that contact's phone.
Where can I run it?
On Odoo.sh and on your own server, Community or Enterprise, versions 17.0 to 20.0. Odoo Online doesn't accept third-party modules.
What doesn't it do?
It reads the text of the email body only: no attachments, PDFs or images. Only emails that create a new lead are parsed, not replies to an existing lead. One parser runs per email. A datetime is written as read, with no time zone conversion. Many2one fields are matched by name and never created; only tags are created when missing. If a label appears twice, the first one is used.
Can you adapt it for us?
Yes. Email odoo.expert.111@gmail.com with your Odoo version and what you'd like changed.

Log

18.0.1.0.0 · Oct 2026
First release, published for Odoo 17.0 to 20.0.

Will it read the labels my form tool sends?

Send the text of one real email and the lead fields you want filled, and we tell you which method fits each line.

Email odoo.expert.111@gmail.com
QR code: email Awins about this module

Also by Awins

Mailing Double Opt-In Mailing Double Opt-In mailing_double_opt_in
Courier Register Courier Register courier_dispatch_register
ABC Analysis Cycle Count ABC Analysis Cycle Count stock_abc_cycle_count
Awins builds small Odoo modules that do one job. crm_email_lead_parser · 18.0.1.0.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • CRM (crm)
• Calendar (calendar)
• Contacts (contacts)
• Discuss (mail)
Lines of code 639
Technical Name crm_email_lead_parser
LicenseOPL-1
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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with