A hands-on course where you build a workflow that reads supplier invoices from email with AI, in Arabic or English, PDF or photo, checks every number, saves the data in a register, files the document and sends doubtful invoices to a person. Built with n8n, Gemini and Google Sheets.دورة تطبيقية تبني فيها سير عمل يقرأ فواتير المورّدين من البريد بالذكاء الاصطناعي، بالعربية أو الإنجليزية، ملفاً أو صورة، ويفحص كل رقم ويحفظ البيانات في سجل ويؤرشف المستند ويرسل الفواتير المشكوك فيها إلى شخص. مبني باستخدام n8n وGemini وGoogle Sheets.
Typing invoices into a spreadsheet is slow, boring and risky: a misread digit or an invoice paid twice costs real money. In this hands-on course you build a system that does the typing and the checking for you, while people keep control of payments.
You follow Al-Rasheed Trading, an example wholesaler in Baghdad that receives about 300 supplier invoices a month. You learn which fields matter and where invoices go wrong, set up an invoice register in Google Sheets with a duplicate key, and label invoice emails in Gmail. In n8n you build the workflow step by step: a Gmail trigger that downloads attachments, a code step that turns each attachment into its own item, and a Gemini step that reads PDFs and phone photos in Arabic and English and returns a fixed JSON shape. A validation step checks required fields, dates, totals, line sums, currency and AI confidence, and never changes an amount. Every file is saved in Drive with a clear name; new, valid invoices are added to the register, and everything else goes to a Review list with the reason and an email to the owner. You finish by measuring accuracy on 20 invoices, adding an error workflow and agreeing a daily review routine. A comparison with Power Automate and AI Builder shows how to build the same design in Microsoft 365.
Every lesson has illustrated step-by-step screens, copy-ready prompts and code, short narrated videos and knowledge checks. Starter files include six sample invoices (Arabic, English, USD, a phone photo, an error and a duplicate), the sheet template, the prompt and both code steps. The course ends with a 15-question final exam.
إدخال الفواتير في جدول عمل بطيء وممل وخطِر: فالرقم المقروء خطأ أو الفاتورة المدفوعة مرتين يكلّفان مالاً حقيقياً. ستبني في هذه الدورة التطبيقية نظاماً يتولى الإدخال والفحص نيابة عنك، مع بقاء الدفع تحت سيطرة الناس.
تتابع شركة «الرشيد التجارية»، وهي شركة جملة مثال في بغداد تستلم نحو 300 فاتورة مورّدين شهرياً. تتعلم الحقول المهمة وأين تقع أخطاء الفواتير، وتُعدّ سجلاً للفواتير في Google Sheets مع مفتاح لكشف التكرار، وتصنّف رسائل الفواتير في Gmail. ثم تبني سير العمل في n8n خطوة بخطوة: مُشغِّل Gmail ينزّل المرفقات، وخطوة شيفرة تجعل كل مرفق عنصراً مستقلاً، وخطوة Gemini تقرأ ملفات PDF وصور الهاتف بالعربية والإنجليزية وتعيد شكل JSON ثابتاً. وتفحص خطوة التحقق الحقول الإلزامية والتواريخ والمجاميع ومجموع البنود والعملة وثقة الذكاء الاصطناعي، ولا تغيّر أي مبلغ أبداً. ويُحفظ كل ملف في Drive باسم واضح، وتُضاف الفواتير الجديدة السليمة إلى السجل، ويذهب كل ما سواها إلى قائمة مراجعة مع السبب وبريد إلى المسؤول. وتختم بقياس الدقة على 20 فاتورة وإضافة سير عمل للأخطاء والاتفاق على روتين مراجعة يومي. وتبيّن مقارنة مع Power Automate وAI Builder كيف تبني التصميم نفسه في Microsoft 365.
في كل درس شاشات توضيحية خطوة بخطوة، وتعليمات وشيفرات جاهزة للنسخ، وفيديوهات قصيرة مع تعليق صوتي، وأسئلة للتحقق من الفهم. وتشمل ملفات البداية ست فواتير نموذجية (عربية وإنجليزية وبالدولار وصورة هاتف وفاتورة فيها خطأ وأخرى مكررة) وقالب الجدول والتعليمة وخطوتي الشيفرة، وتنتهي الدورة باختبار نهائي من 15 سؤالاً.
Accountants, accounts payable staff, office managers and anyone who processes invoices or similar documents. No programming is needed: all code is provided and explained. Completing an n8n course first (such as H-1) helps. You need an n8n workspace, a Gemini API key and a Google account.
المحاسبون وموظفو الحسابات الدائنة ومديرو المكاتب وكل من يعالج الفواتير أو المستندات المشابهة. لا تحتاج إلى البرمجة، فكل الشيفرات جاهزة ومشروحة، ويفيدك إنهاء دورة في n8n أولاً (مثل H-1). تحتاج إلى مساحة n8n ومفتاح Gemini API وحساب Google.