πŸŽ›οΈ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:

Stat
What It Shows
Color

🟒 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:

Indicator
What It Means

🟒 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

Button
What It Does

πŸ” 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

Setting
Description
Example

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:

Setting
What It Is

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:

Setting
What It Does
Recommendation

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

Option
Default
Description

β˜‘οΈ 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:

Column
Description

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:

  1. Each Page has its own "Assign Leads To" dropdown πŸ“‹

  2. Select a staff member to assign all leads from that page to that person

  3. Leave it as "β€” Use Global Default β€”" to fall back to the global Default Assigned Staff setting

  4. Changes save automatically β€” no need to click Save! ⚑

Example scenario:

Page
Assigned To
What Happens

πŸͺ 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

Action
How

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