Lead'leri Test Etme
Yayına geçmeden önce her şeyin mükemmel çalıştığından emin olalım! İşte test etmenin birden fazla yolu.
Yöntem 1: Modülün Yerleşik Test Lead'i (En Kolay!)
Tam akışı test etmenin en hızlı yolu:
- Meta Leads → Settings gidin
- "Send Test Lead" düğmesine tıklayın
- Perfex CRM'de bir test lead oluşturulacak
- "Test lead created! Would you like to view it?" sorulacak
- Lead'i görmek için Yes tıklayın
Bu Ne Test Eder:
- Modül çalışıyor
- Perfex CRM'de lead oluşturma
- Varsayılan atama, kaynak ve durum
- Standart alanlar için field mapping
Bu Ne Test Etmez:
- Facebook webhook teslimatı
- Facebook → sunucunuz bağlantısı
- Gerçek Facebook form alan adları
Hızlı bir sağlık kontrolü için bunu kullanın, ardından tam test için Yöntem 2'ye geçin.
Yöntem 2: Facebook Lead Ads Testing Tool (Önerilen!)
Reklamlara para harcamadan Facebook'tan CRM'inize kadar tam akışı test etmenin en iyi yolu budur.
Step-by-Step:
-
Go to: 👉 https://developers.facebook.com/tools/lead-ads-testing/
-
Select your Page from the dropdown
- Choose the Page you subscribed in the module
-
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 Manager
- Or just create a quick test form (see below)
-
Click "Create Lead"
-
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):
- Go to Meta Leads → Settings
- Click "Test Connection"
- You should see:
✅ App Credentials: Valid
App ID is configured and accessible
✅ Access Token: Valid
Token is valid and has access to your pages
✅ Permissions: All required permissions granted
pages_show_list, pages_read_engagement, leads_retrieval,
pages_manage_ads, ads_management
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:
- Go to Ads Manager
- Click "+ Create" → Objective: Leads
- Set up a basic ad set (budget, audience - doesn't matter for testing)
- In the Ad section, click "Create Form"
- Add these basic fields:
- Full Name
- Phone Number
- Add a privacy policy URL (any URL works for testing)
- Save the form (you don't need to publish the campaign!)
- Now go back to the Testing Tool - your form will appear in the dropdown
Checking Sync History
After any test, check the Sync History page:
- Go to Meta Leads → Sync History
- 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 Connection - All green checkmarks
- Send Test Lead - Lead appears in CRM
- Facebook Testing Tool - Lead appears in CRM via webhook
- Check Sync History - Entry shows "Success"
- Check the Lead - All fields are correctly mapped
- Check Assignment - Lead is assigned to the right staff member
- Check Source - Lead has the correct source
- Check Status - Lead has the correct initial status
- Email Notification - Email received (if enabled)
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:
- Create and run real Lead Ad campaigns
- Monitor leads in Sync History
- Follow up with leads in Perfex CRM
- Sit back and let automation do the work!
Having issues? Troubleshooting