Ana içeriğe geç

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:

  1. Meta LeadsSettings gidin
  2. "Send Test Lead" düğmesine tıklayın
  3. Perfex CRM'de bir test lead oluşturulacak
  4. "Test lead created! Would you like to view it?" sorulacak
  5. 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ı
ipucu

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:

  1. Go to: 👉 https://developers.facebook.com/tools/lead-ads-testing/

  2. Select your Page from the dropdown

    • Choose the Page you subscribed in the module
  3. 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)
  4. Click "Create Lead"

  5. Within seconds, check your Perfex CRM:

    • Go to Leads - you should see a new lead!
    • Go to Meta LeadsSync 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
bilgi

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 LeadsSettings
  2. Click "Test Connection"
  3. 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
uyarı

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. Go to Ads Manager
  2. Click "+ Create" → Objective: Leads
  3. Set up a basic ad set (budget, audience - doesn't matter for testing)
  4. In the Ad section, click "Create Form"
  5. Add these basic fields:
    • Full Name
    • Email
    • Phone Number
  6. Add a privacy policy URL (any URL works for testing)
  7. Save the form (you don't need to publish the campaign!)
  8. 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:

  1. Go to Meta LeadsSync History
  2. You'll see a table with all sync attempts:
ColumnExampleMeaning
Date/Time2026-02-06 10:30:15When the lead was received
Meta Lead ID123456789Facebook's internal lead ID
Perfex Lead#42 - John SmithThe created lead in Perfex (with link)
StatusSuccessWhether the sync was successful
MessageLead created successfullyDetails about the sync

Status Types:

StatusMeaningWhat to Do
SuccessLead created in PerfexNothing - it worked!
FailedSomething went wrongCheck the error message
SkippedLead was a duplicateExpected if duplicate detection is on
PendingIn retry queueWill 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:

  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? Troubleshooting