basma

BASMA WhatsApp automation nodes for n8n — trigger, message, quality, and contact handling

Documentation

n8n-nodes-basma

حزمة n8n الرسمية لمنصة BASMA (أتمتة واتساب). 4 nodes منفصلة + credential.

التثبيت

Settings → Community Nodes → Install → n8n-nodes-basma

الـ Nodes

1. BASMA Trigger

يستقبل أحداث واتساب من بصمة لحظياً.

  • Event: Message Received / Status / Connection / All
  • Ignore Own Messages: يتجاهل رسائلك
  • Validate Secret: تحقق من X-Basma-Secret
  • Output نظيف: from, text, pushName, messageType, messageId, timestamp, raw

2. BASMA Message

يستخرج وينظّف بيانات الرسالة (text, type, length, isEmpty).

3. BASMA Quality

يتحقق من جودة الرسالة، يفلتر الفارغة، ويعطي qualityScore.

4. BASMA Contact

يستخرج رقم المُرسِل النظيف + اسمه + تخمين الدولة + هل مجموعة.

مثال Workflow

BASMA Trigger → BASMA Quality → AI Agent → Send (HTTP /api/send)

الإرسال

استخدم HTTP Request:

POST https://www.basmaweb.com/api/send
Authorization: Bearer bsm_live_xxxx
{ "to": "201234567890", "type": "text", "text": "مرحباً" }

Credential

  • API Key: bsm_live_... (من الإعدادات → API Key)
  • Base URL: https://www.basmaweb.com

Discussion