تقدر تستخدمه في إيه؟
- توجيه رسائل العملاء من الموقع إلى المبيعات أو إجابات FAQ أو تذاكر الدعم.
- تصعيد التصنيفات غير الواضحة إلى موظف بدل اختراع ردود من الذكاء الاصطناعي.
إيه المطلوب عشان تشغله؟
- Webhook عبر Backend موثوق مع n8n وجداول Google Sheets لأقسام Messages وLeads وTickets وFAQ.
- مفتاح OpenAI API بفوترة منفصلة وحساب خدمة Google وSMTP وبوت تيليجرام.
تشغّله إزاي؟
- اطلب الحزمة Premium المرخصة واستوردها إلى n8n.
- اربط Header Auth وOpenAI API وSheets وSMTP وTelegram Credentials.
- جهز FAQ وباقي تبويبات الجدول ثم اضبط بيانات الشركة والمحادثات وminConfidence.
- اختبر رسائل مبيعات ودعم وأسئلة شائعة، وتأكد من التوجيه واستخدام ردود FAQ المعتمدة والتصعيد للبشر.
يستخدم AI لتصنيف الطلبات فقط، وتأتي إجابات FAQ من النص المعتمد منك. لا تضع رمز الـWebhook في كود المتصفح.
الحزمة بتحتوي على دليل تثبيت وإعداد وحل مشكلات مفصل.
يعمل مع
- Google Sheets
- OpenAI
- Telegram
- Webhook
المتطلبات
- رمز الـWebhook (Header Auth)
- حساب خدمة Google (مفتاح JSON)
- مفتاح OpenAI API
- حساب SMTP لدى مزوّد بريدك، لرسائل العملاء
- بوت تيليجرام
تربط حساباتك بنفسك داخل n8n الخاص بك، ولا ترى Jervis بيانات اعتمادك ولا تخزنها.
الإعدادات التي ستُدخلها
- جدول بيانات الدعم
- رابط جدول البيانات أو معرّفه. شاركه مع بريد حساب الخدمة بصلاحية محرر.
- تبويب الرسائل
- كل رسالة وما حدث لها. ومنه يعرف الـFlow الرسالة التي استلمها من قبل.
- تبويب الأسئلة الشائعة
- أسئلتك وإجاباتك (faqId وquestion وanswer_en وanswer_ar). لا يُرسل للعملاء إلا هذه الإجابات.
- تبويب العملاء المحتملين
- تُضاف هنا استفسارات الشراء، صف لكل استفسار.
- تبويب التذاكر
- تتحول طلبات الدعم هنا إلى تذكرة، صف لكل طلب.
- اسم النشاط
- يظهر في رسائل البريد للعملاء (حتى 100 حرف).
- عن نشاطك (اختياري)
- جملة أو جملتان تساعدان الذكاء الاصطناعي على التمييز بين المبيعات والدعم. حتى 1000 حرف.
- عنوان المرسل
- support@your-company.com أو "Your Company <support@your-company.com>". يجب أن يسمح به مزوّد SMTP.
- عنوان الرد (اختياري)
- إلى أين تذهب ردود العملاء. فارغ: إلى عنوان المرسل.
- إشعار الاستلام بالبريد (اختياري)
- yes: يصل العميل الذي لديه بريد إشعار قصير "استلمنا رسالتك" برقمه المرجعي عندما سيرد عليه موظف. no: لا تُرسل إلا إجابات الأسئلة الشائعة.
- نموذج OpenAI (اختياري)
- نموذج يدعم Structured Outputs. الافتراضي gpt-5-mini: سريع ومنخفض التكلفة.
- الحد الأدنى للثقة (اختياري)
- من 0.5 إلى 0.99. الرسائل التي يقل فيها تأكد الذكاء الاصطناعي عن ذلك تذهب إلى موظف. الافتراضي 0.7؛ ارفعه لأتمتة أقل.
- محادثة الفريق على تيليجرام
- معرّف المجموعة أو القناة التي تستقبل كل رسالة يجب أن يتولاها موظف.
- محادثة المبيعات على تيليجرام (اختياري)
- تستقبل العملاء المحتملين الجدد. فارغ: محادثة الفريق.
- محادثة الدعم على تيليجرام (اختياري)
- تستقبل تذاكر الدعم الجديدة. فارغ: محادثة الفريق.
- لغة الفريق (اختياري)
- لغة رسائل تيليجرام وملخص الذكاء الاصطناعي: en أو ar. يحصل العملاء دائمًا على لغتهم.
بيئة التشغيل المدعومة
n8n >=2.42.0 <3.0.0
دعم Jervis Runtime لأتمتات الكتالوج مخطط له.
التوثيق
أدلة التثبيت والإعداد وحل المشكلات والبنية مضمّنة في الحزمة.
الجديد في 1.0.0
صدر في 7 أكتوبر 2026
Added
• Message intake through an authenticated webhook: validation, plain-text storage, email or phone required,
• control and bidi-override characters removed, Arabic digits in phone numbers accepted.
• A stable message id from the Idempotency-Key header or messageId field, or derived from the contact, the
• text and the day; a reference (S-…) derived from it.
• The Messages tab as the flow's memory: every message is claimed there before anything else happens; repeat
• deliveries and same-second races are answered duplicate and do nothing.
• Classification with OpenAI Structured Outputs (strict JSON schema): sales, support, FAQ or other, a confidence,
• one of your FAQ ids and a one-line summary. Name, email and phone are not sent; requests use store: false.
• Routing: sales to the Leads tab and sales chat, support to a ticket in the Tickets tab and the support chat, FAQ
• questions answered by email with your own answer in the customer's language.
• Human escalation on Telegram for low confidence, "other", FAQ questions without a matching entry,
• contradictory, malformed or refused AI answers, OpenAI failures and failed leads, tickets or FAQ emails.
• Optional acknowledgement email with the customer's reference.
• Customer emails carry no text from the message (fixed subjects; the name only when it is a plain name), and at
• most 3 go to one address in 24 hours.
• Rows are claimed with a unique claimId, safe when n8n's execution ids start again.
• A repeat of a message whose processing stopped alerts the team chat once instead of being dropped silently; the
• attempt and its outcome are recorded in the original row, so later repeats send nothing.
• The losing row of a same-second race is marked duplicate by its claimId, never deleted, so sorting or
• editing the tab cannot make the flow remove or change another message's row.
• Links are removed from the AI summary; Telegram excerpts are cut by code points; GPT-5 and o-series models
• are asked for low reasoning effort.
• No automatic retry of writes and sends that may have gone through (leads, tickets, emails, Telegram); reads,
• the classification and the Messages update retry.
• Import-tested in a clean n8n 2.42.3 against fake Google Sheets, OpenAI, SMTP and Telegram.