صفحة الإعدادات
صفحة الإعدادات الرئيسية هي مركز التحكم لإدارة تكامل Facebook و Instagram Leads. إليك كل ما يمكنك فعله!
كيفية الوصول
انتقل إلى Meta Leads → Settings في الشريط الجانبي لـ Perfex CRM.
أو انتقل مباشرة إلى: https://yourcrm.com/admin/facebookleadsintegration
لوحة الإحصائيات
في الأعلى، ستجد أربعة صناديق إحصائ ية تعرض أداءك الشهري:
| 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 |
حالة الاتصال
ثلاثة مؤشرات توضح إذا كان كل شيء متصلًا:
| 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 |
الهدف: يجب أن تكون الثلاثة خضراء!
أزرار الإجراءات
| 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
| 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.
بعد إجراء التغييرات، انقر على "Save Settings"
إعدادات Webhook
هذه قيم للقراءة فقط يتم إنشاؤها بواسطة الوحدة:
| Setting | What It Is |
|---|---|
| Webhook Callback URL | The URL Facebook sends lead data to |
| Verify Token | The secret token used during webhook verification |
انقر على زر Copy لنسخ كل قيمة.
These values never change unless you reinstall the module. Once configured in Facebook, you don't need to touch them again.
إعدادات Leads
تكوين كيفية التعامل مع العملاء المحتملين الجدد في 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!
الخيارات
| 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.
الصفحات المتصلة
في أسفل صفحة الإعدادات، ستجد صفحات Facebook المتصلة:
| 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 |
تعيين Leads حسب الصفحة
هذه ميزة قوية تتيح لك توجيه العملاء المحتملين من صفحات مختلفة إلى موظفين مختلفين!
كيف تعمل:
- لكل صفحة قائمة منسدلة "Assign Leads To" خاصة بها
- حدد موظفًا لتعيين جميع العملاء المحتملين من تلك الصفحة له
- اتركها "- Use Global Default -" للرجوع لإعداد Default Assigned Staff العام
- التغييرات تُحفظ تلقائيًا - لا حاجة للنقر على Save!
مثال:
| 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.
إدارة الصفحات
| 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 |
الإعدادات في الإعدادات الرئيسية لـ Perfex CRM
تضيف الوحدة أيضًا تبويبًا في Setup → Settings (صفحة الإعدادات العامة لـ Perfex) مع وصول سريع إلى:
- App ID
- App Secret
- Webhook URL & Verify Token
- إعدادات leads الافتراضية
- روابط للإعدادات الكاملة وتاريخ المزامنة وتعيين الحقول
This is a shortcut - all the same settings are available on the main module settings page.
هل تحتاج إلى تكوين تعيين الحقول؟ Field Mapping