ποΈSettings Page
The main settings page is your command center for managing the Facebook & Instagram Leads integration. Here's everything you can do! βοΈ
π How to Access
Go to Meta Leads β Settings in the Perfex CRM sidebar.
Or navigate directly to: https://yourcrm.com/admin/facebookleadsintegration
π Statistics Dashboard
At the top, you'll see four stat boxes showing your monthly performance:
π’ Synced This Month
Successfully imported leads
Green
π΄ Failed This Month
Leads that failed to import
Red
π‘ Pending Retry
Leads waiting to be retried
Yellow
π΅ Total This Month
All leads attempted
Blue
π Connection Status
Three indicators show if everything is connected:
π’ App Credentials β Configured
Your App ID & Secret are saved
π’ Webhook β Verified
Facebook successfully verified your webhook
π’ Access Token β Token Saved
You've connected with Facebook and a token is stored
π― Goal: All three should be green! π’π’π’
Action Buttons
π Test Connection
Verifies your credentials, token, and permissions with Facebook
π¨ Send Test Lead
Creates a fake test lead to verify the full flow
βοΈ Meta App Settings
App ID
Your Meta App's unique identifier
123456789012345
App Secret
Your Meta App's secret key
abc123... (click ποΈ to show)
π The App Secret is hidden by default. Click the eye icon to reveal it.
After making changes, click "Save Settings" πΎ
π Webhook Settings
These are read-only values generated by the module:
Webhook Callback URL
The URL Facebook sends lead data to
Verify Token
The secret token used during webhook verification
Click the π Copy button to copy each value.
π‘ These values never change unless you reinstall the module. Once configured in Facebook, you don't need to touch them again.
π€ Lead Settings
Configure how new leads are handled in Perfex CRM:
Default Assigned Staff
Who gets assigned to new leads (global fallback)
Pick your main sales person
Default Source
Lead source tag
Create a "Facebook" or "Meta Leads" source
Default Status
Initial status for new leads
Usually "New" or "Not Contacted"
π‘ Note: The Default Assigned Staff acts as a global fallback. You can override this per page in the Connected Pages section below. For example, leads from Page A can go to Alice, while leads from Page B go to Bob. See Per-Page Lead Assignment below!
Options
βοΈ Enable duplicate detection
Off
Prevents importing the same lead twice (based on email)
βοΈ Send email notifications
On
Sends an email to the assigned staff when a new lead arrives
π‘ Recommended: Enable duplicate detection if you run campaigns with frequent leads. This prevents the same person submitting twice from creating duplicate entries.
π Connected Pages
At the bottom of the settings page, you'll see your connected Facebook Pages:
Page Name
Your Facebook Page's name
Status
π’ Monitoring or βͺ Not Monitoring
Leads Received
Total leads received from this Page
Assign Leads To
Staff member dropdown β pick who gets leads from THIS specific page
Action
Subscribe/Unsubscribe button
π― Per-Page Lead Assignment
This is a powerful feature that lets you route leads from different Pages to different staff members! π
How it works:
Each Page has its own "Assign Leads To" dropdown π
Select a staff member to assign all leads from that page to that person
Leave it as "β Use Global Default β" to fall back to the global Default Assigned Staff setting
Changes save automatically β no need to click Save! β‘
Example scenario:
πͺ My Restaurant
Alice (Sales Rep)
All restaurant leads go to Alice
π My Real Estate
Bob (Property Agent)
All real estate leads go to Bob
π My E-Shop
β Use Global Default β
Uses whatever is set in "Default Assigned Staff" above
π‘ Priority order: Per-page assignment always wins over the global default. If a page has a specific staff member set, that's who gets the lead β regardless of the global setting.
π§ Pro tip: This also works for per-page lead source and status overrides (coming in a future UI update β the database is already ready for it!).
Managing Pages
Add Pages
Click "Connect with Facebook"
Subscribe
Click green "Subscribe" button
Unsubscribe
Click red "Stop Monitoring" button
Refresh
Click "Connect with Facebook" again
Assign Staff
Select from the "Assign Leads To" dropdown
πΎ Settings in Perfex CRM's Main Settings
The module also adds a tab in Setup β Settings (Perfex's global settings page) with quick access to:
App ID
App Secret
Webhook URL & Verify Token
Default lead settings
Links to full settings, sync history, and field mapping
π‘ This is a shortcut β all the same settings are available on the main module settings page.
Need to configure field mapping? π Field Mapping
Last updated