AI Expense Management Bot (Masrofi)مصروفي: بوت إدارة المصاريف بالذكاء الاصطناعي
A Telegram expense assistant that understands natural Arabic and Palestinian dialect, then logs, categorises and reports.
مساعد مصاريف على تيليجرام يفهم العربية الطبيعية واللهجة الفلسطينية، ثم يسجّل ويصنّف ويرفع التقارير.
01The problemالمشكلة
Tracking expenses fails when logging them takes more effort than spending the money. Most people stop after a week of opening an app and filling in fields.
يفشل تتبّع المصاريف عندما يتطلب تسجيلها جهداً أكبر من صرف المال نفسه، ويتوقف معظم الناس بعد أسبوع من فتح تطبيق وتعبئة حقول.
Writing a quick message the way you would talk is far easier, as long as the system can understand it.
كتابة رسالة سريعة كما تتحدث أسهل بكثير، بشرط أن يفهمها النظام.
02The solutionالحل
Masrofi lets users type “coffee 5 and manaqish 8” and logs both items, categorising each one automatically.
يتيح مصروفي للمستخدم كتابة «قهوة ب 5 ومناقيش ب 8» فيسجّل الصنفين ويصنّف كلاً منهما تلقائياً.
It replies with the month total, the remaining budget and the top categories, with a forecast for month end, and the word “undo” reverses the last entry.
يرد بمجموع الشهر والميزانية المتبقية وأكثر الفئات صرفاً مع توقع لنهاية الشهر، وكلمة «تراجع» تلغي آخر تسجيل.
03How it was builtكيف بُني
Built on n8n with the Telegram Bot API and Google Sheets, using Groq to understand messages.
بُني على n8n مع Telegram Bot API وGoogle Sheets، مستخدماً Groq لفهم الرسائل.
Unauthorised users are rejected before the AI is reached, duplicate entries are blocked, and the workflow retries when Google Sheets rate-limits. Most of the effort went into small cases, such as “3 chocolate” versus “chocolate 3” and multi-item messages.
يُرفض المستخدم غير المصرّح قبل الوصول إلى الذكاء الاصطناعي، ويُمنع التسجيل المكرر، ويعيد الـ workflow المحاولة عند حدّ طلبات Google Sheets. ذهب معظم الجهد في الحالات الصغيرة مثل «3 شوكلاته» و«شوكلاته 3» والرسائل متعددة الأصناف.
04Main featuresالميزات الرئيسية
- Expense registration from natural messagesتسجيل المصاريف من رسائل طبيعية
- Automatic categorisationتصنيف تلقائي
- Monthly budget trackingمتابعة الميزانية الشهرية
- Spending analysis and month-end forecastتحليل الصرف وتوقع نهاية الشهر
- Remaining budget calculationحساب الميزانية المتبقية
- Daily, weekly and monthly reportsتقارير يومية وأسبوعية وشهرية
- Undo the last entryالتراجع عن آخر تسجيل
- Alert near the budget limitتنبيه عند الاقتراب من الميزانية
05Screenshotsلقطات الشاشة
06Linksالروابط
Need something like this?تحتاج شيئاً مشابهاً؟
Tell me about your idea and I will tell you honestly how I would approach it.
أخبرني عن فكرتك وسأخبرك بصراحة كيف سأتعامل معها.
Start a conversationابدأ المحادثة