| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Discuss (mail) • Calendar (calendar) • Contacts (contacts) |
| Lines of code | 2019 |
| Technical Name |
atliis_facebook_lead_ads_sync |
| License | OPL-1 |
| Website | https://www.atliis.com/ |
| Versions | 17.0 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
CRM (crm)
• Discuss (mail) • Calendar (calendar) • Contacts (contacts) |
| Lines of code | 2019 |
| Technical Name |
atliis_facebook_lead_ads_sync |
| License | OPL-1 |
| Website | https://www.atliis.com/ |
| Versions | 17.0 18.0 19.0 |
Facebook Lead Ads Sync
Sync Facebook Lead Ad submissions directly into Odoo CRM.
Capture new lead submissions without CSV exports or manual data entry. Configure Facebook app connections, discover pages and lead forms, map fields into CRM, and import leads on demand or through scheduled sync.
Bring Facebook leads into your Odoo sales pipeline
The module connects Odoo CRM with Facebook Lead Ads so marketing responses become traceable CRM leads with mapping, defaults, duplicate prevention, and sync logs.
Facebook Connections
Configure multiple Facebook App connections with App ID, App Secret, and long-lived access token.
Pages and Forms
Sync accessible Facebook Pages and automatically discover Lead Ad forms for each page.
Field Mapping
Map form answers to CRM fields, set fixed values, or append custom questions to the lead description.
Audit Logs
Track connection tests, page sync, form sync, lead import, retries, and errors in Odoo.
From Facebook form to Odoo CRM — automatically
No CSV exports, no manual entry. Every submission flows straight into your sales pipeline through three steps.
-
1
Facebook
Prospect submits your Lead Ad form on Facebook. -
2
Odoo
Field mappings and connection defaults handle assignment, UTM, tags, and lead naming. -
3
Result
A fully populated CRM lead is ready to follow up — no manual data entry required.
Setup and daily sync workflow
Follow these steps to connect Facebook, configure CRM defaults, discover forms, map fields, and import lead submissions into Odoo.
Before You Start — Get Facebook App Credentials
To connect Odoo with the Facebook Graph API, you need a Facebook Developer App with the correct permissions and a long-lived access token. Follow these four phases before configuring Odoo.
1. Create a Facebook Developer App
Go to developers.facebook.com/apps, click Create App, and follow the setup wizard. Once created, open App Settings > Basic and copy the App ID and App Secret into Odoo.
2. Open Graph API Explorer and add permissions
Go to
developers.facebook.com/tools/explorer.
Add the required permissions: ads_management,
business_management,
leads_retrieval,
pages_read_engagement,
pages_manage_metadata,
pages_manage_ads. Then click
Generate Access Token.
3. Extend to a Long-Lived Access Token
Go to developers.facebook.com/tools/debug/accesstoken, paste the token, click Debug, then Extend Access Token. Copy the extended token — this is the long-lived token you paste into the Long-Lived Access Token field in Odoo.
4. Test Connection in Odoo
Paste the App ID, App Secret, and Long-Lived Access Token into your Odoo connection record. Click Test Connection — the status should move from Draft to Active.
Enable Facebook Ads access in Odoo
Assign the proper Facebook Lead Ads security group to the users who will manage connections, pages, forms, mappings, and sync logs.
Managers can configure the integration while users can review company-scoped Facebook Ads records.
Configure CRM settings
Go to CRM, open Configuration, then Settings. In the Facebook Lead Ads section, set the default connection or open all connection records.
The default connection works as a fallback for CRM lead import behavior.
Create and activate a connection
Open CRM > Facebook Lead Ads > Connections, create a new connection, add the Facebook credentials, configure lead defaults, and click Test Connection.
A successful test moves the connection from Draft to Active and makes it ready for page and form discovery.
Sync Facebook Pages and forms
Use Sync Pages on the connection to fetch accessible Facebook Pages. Open a page and use Sync Forms to discover the Lead Ad forms attached to it.
Each form can be enabled or disabled for automatic sync.
Map fields and fetch leads
Open a Lead Form and configure the Field Mappings tab. Use Fetch Facebook Fields to pull form questions automatically, then adjust mappings as required.
Click Fetch Leads Now whenever you want to import submissions on demand.
Review imported CRM leads
Imported submissions appear as standard Odoo CRM leads. The Facebook Lead Ads tab stores the source connection, page, form, submission time, Facebook Lead ID, and raw payload.
Every import is logged so failed records can be retried or marked resolved from the Sync Logs menu.
Install and configure
Install the app, assign Facebook Lead Ads access, configure a connection, then sync pages and forms before importing leads.
1. Add the module
Copy atliis_facebook_lead_ads_sync into your
Odoo addons path.
2. Update Apps
Restart Odoo, update the app list, and install Facebook Lead Ads Sync.
3. Assign access
Give responsible users the Facebook Ads Manager or Facebook Ads User group.
4. Configure sync
Add Facebook credentials, test the connection, sync pages, map fields, and import leads.
Common questions
Can this module import Facebook Lead Ads automatically?
Yes. A scheduled action named Facebook Lead Ads: Sync All Connections is included and can be enabled from Settings > Technical > Scheduled Actions. You can also fetch leads manually from a specific form at any time.
Can I configure multiple Facebook connections?
Yes. You can create multiple Facebook connections for different companies, pages, or campaign structures.
How are duplicate leads prevented?
The original Facebook Lead ID is stored on the CRM lead. If the same lead is imported again, it is skipped.
Can custom form questions be saved?
Yes. Custom questions can be mapped to CRM fields, assigned fixed values, or appended to the lead description.
Where can I review sync errors?
Open CRM > Facebook Lead Ads > Sync Logs to review successful, skipped, failed, retried, and resolved operations.
Get in touch with us
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