Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
CRM (crm)
• Calendar (calendar) • Contacts (contacts) • Discuss (mail) |
Community Apps Dependencies | Show |
Lines of code | 454 |
Technical Name |
ai_lead_generation |
License | AGPL-3 |
Website | https://www.odooengineering.com |
Versions | 16.0 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Odoo Apps Dependencies |
•
CRM (crm)
• Calendar (calendar) • Contacts (contacts) • Discuss (mail) |
Community Apps Dependencies | Show |
Lines of code | 454 |
Technical Name |
ai_lead_generation |
License | AGPL-3 |
Website | https://www.odooengineering.com |
Versions | 16.0 17.0 18.0 |
AI Lead Generation
Automated ChatGPT-Powered Lead Scraping for CRM
Harness the power of OpenAI and ChatGPT to scrape and create new leads in your Odoo CRM automatically. This module integrates a configurable ChatGPT API flow, letting you specify target countries, industries, or geographic regions through a flexible settings panel. Whether you need on-demand or scheduled scraping, AI Lead Generation adapts to your workflow by having AI create leads with four key fields: name, description, email_from, and phone.
Effortless Installation & Configuration
The module is straightforward to install from the Apps menu. Once installed, navigate to Settings → AI Lead Generation to configure your OpenAI API key and advanced fields, including Target Countries, Target Markets, Target Geographic Area, OpenAI Model, Search Tool Type, and Search Context Size. These parameters let you fine-tune where ChatGPT searches for potential leads and how it processes the results. You can choose an on-demand approach (by pressing a button on an AI Agent Job) or let the built-in cron job scrape the web for new leads at regular intervals.


How It Works
AI Lead Generation leverages an Odoo model (our AI Agent Job Model) that queues up web-scraping requests powered by ChatGPT. Each "job" uses your selected parameters (countries, markets, geographic areas, etc.) to direct OpenAI's language model to find relevant companies. The module automatically turns the returned JSON results into new CRM leads. If duplicates are detected (based on email), they are skipped, ensuring clean data in your pipeline.
Manage Your AI Jobs
From the AI Agent Jobs menu, you can view pending, in-progress, and completed jobs. A built-in cron ensures that new jobs process automatically. Any malformed JSON from ChatGPT is logged, and fresh CRM leads are created whenever a valid response is parsed. You can also trigger manual runs or re-runs through an action button if needed, giving you full control over the lead generation process.

Automated Cron Scheduling
A default cron rule is included, running every hour (configurable) to initiate new scraping jobs. You decide how frequently ChatGPT should collect leads based on your business needs. Logs and job statuses provide full transparency, while disabling the cron allows a purely on-demand approach for those who prefer tighter control or require fewer automated tasks.

View Your Scraped Leads
Once new leads have been scraped and created, they are visible in your CRM leads list. Duplicates are automatically skipped based on email checks, ensuring each lead is unique. Here is a snapshot of the generated results:

Why AI Lead Generation?
- Configurable Parameters Easily adjust target countries, markets, or geographic areas in Settings.
- Seamless CRM Integration Newly discovered leads automatically appear in Odoo.
- Duplicate Avoidance Checks email to prevent repeating the same lead.
- Scheduled or Manual Run on your schedule or via a simple button.
- Clear Logs & Warnings Malformed data is flagged for quick troubleshooting.
- Active Support & Updates We provide ongoing improvements and help as needed.
Get in Touch
We welcome your feedback and questions to continually enhance AI Lead Generation. If you have any requests, suggestions, or need help with installation, feel free to reach out.
Please log in to comment on this module