كيف تؤتمت رسائل البريد الإلكتروني لطلبات التوظيف من العملاء وتنقلها إلى نظام CRM باستخدام Claude أو Gemini
مرّر رسالة العميل إلى Claude أو Gemini بقواعد صارمة ودع مسؤول التوظيف يعتمدها. في أول برومبت خمّن Gemini ثمانية حقول من ثمانية.
- Saves time
- Consistent decisions
- Less legal risk
23/10/2026 · 9 دقيقة قراءة

الأوامر باللغة الإنجليزية: فهي تعمل بشكل أفضل بهذه الطريقة في جميع أدوات AI.
ثمانية من ثمانية. عند تحويل ثلاث رسائل عملاء فوضوية إلى job orders (طلبات توظيف)، ملأ Gemini كل حقل لم يُذكر مما فحصناه بتخمين واثق: مدير التوظيف، ونمط عمل من المقر، وعدد وظائف يساوي واحدًا. في نظام CRM يبدو كل منها سليمًا. وكل منها خاطئ.
الخلاصة: وجّه رسائل العملاء إلى صندوق بريد واحد، واجعل أداة أتمتة تمرر كل رسالة إلى Claude أو Gemini ببرومبت استخراج صارم، ودع مسؤول التوظيف يعتمد كل سجل قبل دخوله إلى CRM. لم تكفِ عبارة "لا تخمّن أبدًا". ما نجح: ملء مدير التوظيف وعدد الوظائف ونمط العمل فقط عند ذكرها، وإبقاء قيمة الحقل وحدها داخله، وإرسال الطلبات التمييزية والتناقضات إلى قائمة تنبيهات. مع البرومبت النهائي لم يخمّن Gemini أي حقل، وخمّن Claude حقلًا واحدًا وضع عليه تنبيهًا بنفسه. لا يصلح أي منهما للكتابة في CRM دون مراجعة.
المسار في خمسة أجزاء
لا تتركه يملأ شروط الرسوم أبدًا؛ دعه ينبّه بعبارة "نفس شروط الرسوم كالمرة السابقة".
- بوابة دخول. عنوان واحد لإعادة التوجيه. مشغّل "New Inbound Email" في Zapier يعمل عند وصول رسائل إلى عنوان zapiermail.com مخصص؛ وعقدة "Email Trigger (IMAP)" في n8n تقرأ صندوق بريد مشتركًا.
- خطوة الاستخراج. يذهب نص الرسالة إلى Claude أو Gemini عبر API مع البرومبت أدناه.
- تحليل صارم. إذا تعذّرت قراءة الإجابة بصيغة JSON فلا يُنشأ شيء وتذهب الرسالة إلى شخص.
- طابور مراجعة. يفحص مسؤول التوظيف كل سجل بحثًا عما أخطأت فيه تجاربنا: ملاحظة داخل حقل، تنبيه تمييز غائب عن طلب ينطبق عليه، شركة مكتوبة كمعرّف نطاق ("orchard-foods")، عدد وظائف مقروء من كلمة "the" أو "a".
- الكتابة في CRM. تنشئ واجهة REST في Bullhorn طلب توظيف بطلب PUT إلى
entity/JobOrder؛ وتحذّر وثائقها من أن غياب حقل إلزامي يعيد خطأ 400. حوّل "not stated" إلى حقل فارغ، لا إلى قيمة افتراضية أبدًا.
اختبرنا الخطوتين 2 و3؛ أما الخطوتان 1 و5 فمأخوذتان من وثائق المزوّدين وليستا تجربة مبنية من البداية إلى النهاية.
ما الذي تحذفه أولًا. قد تحمل سلاسل الرسائل المعاد توجيهها سيرة ذاتية لمرشح أو رقم هاتفه. احذف ذلك، وتجاوز المرفقات افتراضيًا، واستخدم حساب API خاصًا بالشركة.

تفكيك رسالة واحدة
دخلت ثلاث رسائل مختلقة. هذه تحوي معظم الفخاخ.
From: Dana Levi <[email protected]>
Subject: FW: warehouse roles
Hi, see below, can you start on this asap? Actually make it 3 forklift operators not 2, we lost another one Friday.
Dana
---------- Forwarded message ----------
From: Yossi Ben-Ami <[email protected]>
Dana - we need 2 forklift operators for the Ashdod site, night shift (22:00-06:00), must have a valid forklift license. Pay 58 per hour plus night bonus. Also a shift supervisor for the same site, someone with 3+ years running a team of 10+. Ideally young guys who can handle the physical side, under 30. Start beginning of next month.
Yossi
طلب سائقي الرافعات الشوكية مع البرومبت الأول:
| الحقل | ما تقوله الرسالة | Claude (Opus 5.5) | Gemini (3.8 Flash) |
|---|---|---|---|
| headcount | 2 ثم "make it 3" | 3 مع تنبيه تعارض | 3 مع تنبيه تعارض |
| work_model | لا شيء | not stated | "onsite" |
| hiring_manager | لا شيء (Yossi أرسل الطلب فقط) | not stated | "Yossi Ben-Ami" |
| client_company | نطاق البريد فقط | "Orchard Foods (taken from the email domain...)" | "Orchard Foods" |
| سطر "under 30" | تفضيل بحسب العمر والجنس | أُبعد عن المتطلبات الإلزامية مع تنبيه | أُبعد عن المتطلبات مع تنبيه؛ وفي طلب آخر حكم بأن السطر "يخالف" القانون |
أصاب كلاهما في الجزء الصعب: تسود أحدث رسالة، ولم يتحول سطر العمر إلى شرط. كان الضرر أهدأ، وتسبب غلاف الكود في إجابة Claude برفض محلّلنا الصارم للإجابة كلها.
رسائل مختلقة، تجربة واحدة لكل برومبت. الحقول المفحوصة: نمط العمل ومدير التوظيف وعدد الوظائف حين تصمت الرسالة.
Source: اختبارنا، عُدّ بسكربت
Show the data
| البرومبت الأول | خمس قواعد إضافية | البرومبت النهائي | |
|---|---|---|---|
| Claude | 2 | 0 | 1 |
| Gemini | 8 | 0 | 0 |
البرومبت الذي صمد
كل قاعدة فيه ترد على إخفاق ظهر في التجارب:
| الإخفاق | التجربة | الأداة | القاعدة التي أصلحته |
|---|---|---|---|
| 8 حقول مخمَّنة | الأولى | Gemini | مدير التوظيف وعدد الوظائف ونمط العمل فقط عند ذكرها |
| إجابة داخل غلاف كود | الأولى | Claude | البدء بـ [ والانتهاء بـ ] |
| ملاحظة داخل حقل الشركة | الأولى | Claude | الحقل يحوي قيمته فقط |
| "Not stated" لكل شركة | الثانية | Claude | يجوز أخذ الاسم من النطاق مع تنبيه |
| غاب تنبيه العمر عن طلب الرافعات | الثانية | Gemini | التنبيه في كل طلب يمكن أن ينطبق عليه |
| شركات كمعرّفات نطاق | النهائية | Gemini | لم يُحل؛ حوّلها قبل الكتابة في CRM |
وهو مقسّم إلى Persona وTask وContext وFormat.
PERSONA
You extract job orders from client emails for a recruitment agency. Your output is checked by a recruiter and then created as records in our CRM.
TASK
For each email, return one JSON object per job order.
CONTEXT
Rules:
- Use only what the emails say. If a field is not stated, write "not stated". Never guess.
- A field holds only its value. Put any note or doubt in flags, never inside another field.
- Write a hiring manager only if the email names that person as the hiring manager. A team name ("Lior's team") or the sender is not enough.
- Write a headcount or work model only if the email states it. "Remote OK" is "not stated"; add a flag asking whether it is remote or hybrid.
- When a forwarded or quoted older message conflicts with the newest message, use the newest message and add a flag.
- Do not copy a discriminatory requirement (age, gender, religion, family status, nationality, health) into must_haves. Put it in flags on every job order it could apply to.
- Do not say whether something is legal or illegal. Flag it for the recruiter to check.
- Do not create a job order for a role the client says is not confirmed. Mention it in flags of the nearest job order instead.
- The company name may come from the sender's email domain. Add a flag saying so.
FORMAT
Each object has exactly these fields:
client_company, client_contact_name, client_contact_email, job_title, headcount (a number or "not stated"), location, work_model ("onsite", "hybrid", "remote" or "not stated"), shift_or_hours, pay (exact wording from the email, not converted), must_haves (a list, only requirements the email states), start_date (as written), hiring_manager, deadline_for_profiles, status ("open" or "on hold"), source_quote (the sentence that creates this job order), missing_info (a list of what a recruiter needs before starting that the email does not give), flags (a list: discriminatory or possibly unlawful requests, conflicting numbers, references to attachments or earlier conversations you cannot see).
Your whole answer must start with [ and end with ]. No code fences, no text before or after.
Emails:
[paste one or more client emails, with From, Date and Subject lines]
حين أفسد إصلاح شيء شيئًا آخر
أوقفت النسخة الثانية كل تخمين ثم بالغت، كما يوضح الجدول: غياب تنبيه العمر أسوأ من حقل مخمَّن، لأن من يفتح ذلك السجل لا يراه. حُللت النسخة النهائية بسلاسة عند كليهما ونبّهت على سطر العمر في طلبي Orchard كليهما. أما تخمين Claude الوحيد، وهو وظيفة واحدة من عبارة "the senior data engineer"، فجاء مع تنبيه خاص يطلب من مسؤول التوظيف التأكيد.
برومبتان لما بعد السجل
اسأل العميل عما ينقص. مرّر سجلات عميل واحد.
Below are job order records extracted from one client's email, with their missing_info and flags. Write a short reply email to the client contact that:
- confirms what we understood in 2-3 lines
- asks only the questions needed to start, as a numbered list of at most 5, most important first
- handles any flagged discriminatory requirement politely: say we can only screen on job-related requirements, and ask what the physical demands of the job are
- does not mention AI, JSON or flags
- is under 150 words, plain and friendly
Records:
[paste the records for one client]
عالج Claude سطر العمر بجملة هادئة واحدة (مقتبسة تحت المخاطر)، لكنه كتب للعميل "Both roles start in early December" وهو يطلب التاريخ الدقيق، وبلغ 151 كلمة مقابل حد 150. وسأل Gemini عن المتطلبات البدنية لكنه لم يقل أبدًا إن العمر والجنس خارج النقاش. اقرأ قبل الإرسال.
افحص ما يتغير في CRM.
Below is our current CRM record for a client company and the new job order records extracted from their latest email. List every change the email asks us to make to the client company record, as a table: field | current value | new value | the quote from the email. Do not change anything the email does not mention. Then list anything in the job orders that conflicts with the current record.
Current CRM record:
[paste the client record]
New job orders:
[paste the job order records]
على سجل عميل مختلق، اقترح Claude تغييرين وطلب العنوان الكامل في حيفا. أما Gemini فاستبدل عنوان الشارع بكلمة "Haifa" فقط.
المخاطر في هذا المسار
- انحياز العميل يصبح بحثك. "Young guys, under 30" طلب لا يجوز لشركة توظيف تنفيذه. أجب عنه كتابةً؛ جملة Claude مناسبة: "we can only screen on job-related requirements, so we'll leave age and gender out." اسأل محاميك كيف تنطبق القواعد في البلد الذي توظّف فيه؛ هذه ليست استشارة قانونية.
- إخفاقات صامتة. حلّل بصرامة وأرسل كل إخفاق إلى شخص.
الخطوة التالية: عندما تصل طلبات التوظيف نظيفة، حوّل الموجز إلى وصف وظيفي، وانظر كيف يستطيع Claude تغذية جدول Google عبر Zapier إذا كان CRM لديك ما زال جدول بيانات.
This article is general information, not legal advice. Laws differ by country and change often, so consult your lawyer before you rely on it for your situation.


