| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Calendar (calendar) • Contacts (contacts) • Discuss (mail) |
| Lines of code | 1141 |
| Technical Name |
crm_facebook_leads_pro |
| License | OPL-1 |
| Website | mailto:solman28@gmail.com |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Calendar (calendar) • Contacts (contacts) • Discuss (mail) |
| Lines of code | 1141 |
| Technical Name |
crm_facebook_leads_pro |
| License | OPL-1 |
| Website | mailto:solman28@gmail.com |
| Versions | 18.0 19.0 |
Facebook Lead Ads Integration
Automatically sync Facebook Lead Ads into Odoo CRM with advanced field mapping and campaign tracking
⭐ Key Features
Automatic Lead Sync
Fetch leads from Facebook Lead Ads forms directly into Odoo CRM automatically every hour.
Smart Field Mapping
Map Facebook form fields to Odoo CRM fields automatically with intelligent matching.
Campaign Tracking
Track Facebook Campaign ID, Ad Set ID, and Ad ID per lead for ROI analysis.
Page & Form Management
Manage connected Facebook Pages and Lead Forms with an intuitive interface.
Custom Lead Fields
Capture Project Timeline, Flooring Area, Callback Consent, and Address.
Organized UI
Facebook lead data appears in a dedicated "Facebook Info" tab inside each lead.
✅ Prerequisites
Your Facebook App must be approved for these permissions:
pages_show_list
pages_manage_ads
pages_read_engagement
leads_retrieval
ads_management
business_management
💡 See FACEBOOK_APP_REVIEW.md in the module for detailed App Review instructions.
⚙ Configuration
- Login to your Facebook account.
- Go to https://developers.facebook.com/apps and press Create App (Business type). Set the Display Name and enter the Contact Email.
- Submit your app for review with the required permissions. This is mandatory for production use.
- Go to the Settings section and choose Basic. From there you can get your App ID and App Secret.
- In Odoo, go to CRM / Configuration / Settings. In Facebook Leads Settings paste your App ID and App Secret and click Get Access Token.
- You will be redirected to Facebook to authorize the app. Make sure to include all the pages you need to sync.
- After granting access, you will be redirected to Odoo with a generated access token. Click Get Pages to retrieve your Facebook Pages.
- Go to CRM / Configuration / Facebook Pages and access the page you want to sync. Use Get Forms to retrieve all Lead Gen forms.
- For each form, edit the mapping between Facebook fields and Odoo fields. Unmapped fields will automatically go into the Description field.
▶ Usage
🕒 A cron job is configured to run every 1 hour to automatically fetch all new leads.
👆 You can also manually click Fetch Facebook Leads from any lead form to sync immediately.
📅 The cron job can be changed to narrower or bigger intervals in the Scheduled Actions.
🔑 Token & Authentication
👤 User Access Token
Purpose: Only to discover and add new Facebook Pages
Expires: Every 60 days
🖹 Page Access Token
Purpose: Daily operations (fetching leads, forms)
Expires: Never
💡 Important: Once you have added your Facebook Pages, the automatic sync will continue to work even if the User Token expires. You only need to regenerate the User Token if you want to add new Pages in the future.
❓ Support & FAQ
Q: What happens if a lead is deleted in Odoo?
A: The lead will be reimported on the next sync. To permanently exclude a lead, use the Archive feature instead of Delete.
Q: Does the module support all field types?
A: The module supports most common field types (char, text, integer, float, date, datetime, boolean, selection, many2one).
Q: Can I sync leads to other models besides CRM Leads?
A: Currently the module syncs to CRM Leads only. Contact us for custom integrations.
Need help? Contact solman28@gmail.com
Solman Vaisman / solman28@gmail.com
🔒 This module is provided under a proprietary license. Unauthorized use, distribution, or modification is strictly prohibited.
CRM Facebook Lead Ads
This module integrates Facebook Lead Ads with Odoo CRM to automatically sync leads into your CRM pipeline.
Features
- Automatic Lead Sync: fetch leads from Facebook Lead Ads forms directly into Odoo CRM
- Smart Field Mapping: map Facebook form fields to Odoo CRM fields automatically
- Campaign Tracking: track Facebook Campaign ID, Ad Set ID, and Ad ID per lead
- Page & Form Management: manage connected Facebook Pages and Lead Forms
- Custom Lead Fields: capture additional data like project timeline, flooring area, callback consent, and address
Configuration
- Create a Facebook App at https://developers.facebook.com/apps
- Submit your app for review with the required permissions: - pages_show_list - pages_manage_ads - pages_read_engagement - leads_retrieval - ads_management - business_management
- Navigate to CRM > Settings > Facebook Leads Settings
- Enter your Facebook App ID and App Secret
- Click "Get Access Token" and authorize the app
- Click "Get Pages" to sync your Facebook Pages
- Map form fields to Odoo lead fields
- Start fetching leads automatically
Usage
- Click "Fetch Facebook Leads" in any lead form to manually sync
- Leads will appear with a "Facebook Info" tab containing all ad data
- Configure automated fetching via Scheduled Actions (runs every hour by default)
Token & Authentication
This module uses two types of tokens:
- User Access Token: used only to discover and add new Facebook Pages. Expires every 60 days.
- Page Access Token: used for daily operations (fetching leads, forms). Does NOT expire.
Once you have added your Facebook Pages, the automatic sync will continue to work even if the User Token expires. You only need to regenerate the User Token if you want to add new Pages in the future.
Support
For support, please contact: solman28@gmail.com
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