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.
| Odoo | 16.0, 17.0, 18.0, 19.0, 20.0 |
| Editions | Community, Enterprise |
| Works with | CRM |
| Licence | OPL-1, 39 EUR |
| Tests | 27 automated, run on every version |
| Module | crm_ |
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
Getting started
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
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
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.
Fine print
Log
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
Also by Awins
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