πŸ§ͺTesting Leads

Before going live, let's make sure everything works perfectly! Here are multiple ways to test. πŸ”¬


Method 1: Module's Built-In Test Lead (Easiest! ⭐)

The fastest way to test the complete flow:

  1. Go to Meta Leads β†’ Settings

  2. Click "Send Test Lead" button πŸ“¨

  3. A test lead will be created in Perfex CRM

  4. You'll be asked: "Test lead created! Would you like to view it?"

  5. Click Yes to see the lead πŸŽ‰

What This Tests:

  • βœ… Module is working

  • βœ… Lead creation in Perfex CRM

  • βœ… Default assignment, source, and status

  • βœ… Field mapping for standard fields

What This Doesn't Test:

  • ❌ Facebook webhook delivery

  • ❌ Facebook β†’ your server connection

  • ❌ Real Facebook form field names

πŸ’‘ Use this for a quick sanity check, then move to Method 2 for a full test.


This is the best way to test the complete flow β€” from Facebook all the way to your CRM, without spending any money on ads.

Step-by-Step:

  1. Select your Page from the dropdown

    • Choose the Page you subscribed in the module

  2. Select a Form (or create a test form)

    • If you haven't created a Lead Form yet, you'll need to create one first in Ads Managerarrow-up-right

    • Or just create a quick test form (see below)

  3. Click "Create Lead" πŸ§ͺ

  4. Within seconds, check your Perfex CRM:

    • Go to Leads β€” you should see a new lead! πŸŽ‰

    • Go to Meta Leads β†’ Sync History β€” you'll see the sync entry

What This Tests:

  • βœ… Everything! The complete real-world flow

  • βœ… Facebook sends real webhook data

  • βœ… Your server receives and processes it

  • βœ… Lead is created in Perfex CRM

  • βœ… Field mapping works with real Facebook field names

🎯 This is the definitive test. If this works, real Lead Ads will work too.


Method 3: Test Connection Button

Tests your credentials and permissions (but not lead delivery):

  1. Go to Meta Leads β†’ Settings

  2. Click "Test Connection" πŸ”

  3. You should see:

⚠️ If any permission shows as missing, reconnect Facebook (Connect with Facebook button in the Pages section).


Method 4: Create a Quick Test Form

If you don't have a Lead Form yet for the Testing Tool:

  1. Click "+ Create" β†’ Objective: Leads

  2. Set up a basic ad set (budget, audience β€” doesn't matter for testing)

  3. In the Ad section, click "Create Form"

  4. Add these basic fields:

    • Full Name

    • Email

    • Phone Number

  5. Add a privacy policy URL (any URL works for testing)

  6. Save the form (you don't need to publish the campaign!)

  7. Now go back to the Testing Toolarrow-up-right β€” your form will appear in the dropdown


πŸ” Checking Sync History

After any test, check the Sync History page:

  1. Go to Meta Leads β†’ Sync History

  2. You'll see a table with all sync attempts:

Column
Example
Meaning

Date/Time

2026-02-06 10:30:15

When the lead was received

Meta Lead ID

123456789

Facebook's internal lead ID

Perfex Lead

#42 β€” John Smith

The created lead in Perfex (with link)

Status

βœ… Success

Whether the sync was successful

Message

Lead created successfully

Details about the sync

Status Types:

Status
Meaning
What to Do

βœ… Success

Lead created in Perfex

Nothing β€” it worked! πŸŽ‰

❌ Failed

Something went wrong

Check the error message

⚠️ Skipped

Lead was a duplicate

Expected if duplicate detection is on

πŸ”„ Pending

In retry queue

Will be retried automatically


βœ… Testing Checklist

Run through this checklist to make sure everything works:


🚨 Test Failed?

Don't panic! Check the Troubleshooting page for solutions to common issues.


πŸŽ‰ All Tests Passed?

Congratulations! πŸ₯³ Your Meta Leads integration is fully set up and working!

Now you can:

  1. 🎯 Create and run real Lead Ad campaigns

  2. πŸ“Š Monitor leads in Sync History

  3. πŸ‘€ Follow up with leads in Perfex CRM

  4. β˜• Sit back and let automation do the work!


Having issues? Check πŸ‘‰ Troubleshooting

Last updated