N8n: خطأ QS101 n8n Quickstart Discord webhook

< تنبيه Discord المعطى في دروس البدء السريعة لإنشاء التقارير ومراقبة أخطاء التقارير () يعطي دائمًا رسالة خطأ، أعتقد أنه معطوب، حاولت webhook آخر على خادم آخر وعمل بشكل مثالي

ما هي رسالة الخطأ (إن وجدت)؟

رسالة الخطأ هي: مشكلة في العقدة “Discord”

يرجى مشاركة سير العمل الخاص بك



(حدد العقد على لوحتك واستخدم اختصارات لوحة المفاتيح CMD+C/CTRL+C و CMD+V/CTRL+V لنسخ ولصق سير العمل.)

شارك المخرجات التي أرجعتها العقدة الأخيرة

معلومات عن إعداد n8n الخاص بك

  • إصدار n8n: cloud
  • قاعدة البيانات (الافتراضي: SQLite):
  • إعداد n8n EXECUTIONS_PROCESS (الافتراضي: own, main):
  • تشغيل n8n عبر (Docker, npm, n8n cloud, تطبيق سطح المكتب):
  • نظام التشغيل: windows

مرحبا @aledomains ،

يرجى التحقق من هذا الحل السابق لمعرفة ما إذا كان يساعدك.

ملاحظة: أول شيء يجب تجربته هو وضع assessment_id في رسالة Discord بين قوسين مربعين [your_assessment_id]، حيث سيتحقق خادم n8n من ذلك أيضًا.

أيضًا، يرجى نقل هذا المنشور إلى الفئة الفرعية n8n Academy > QS101: n8n Quickstart ، وهي أكثر ملاءمة، حتى يتمكن الطلاب الآخرون من التواصل معها، وقد تجد بعض الإجابات المفيدة أثناء متابعتك للدورات أيضًا.

@kristinker لقد نقلتها لك.

{
“nodes”: [
{
“parameters”: {},
“type”: “n8n-nodes-base.manualTrigger”,
“typeVersion”: 1,
“position”: [
-1216,
160
],
“id”: “d81b3e7d-eedf-45db-8504-8e206e8051e8”,
“name”: “عند النقر على “تنفيذ سير العمل””
},
{
“parameters”: {
“operation”: “get”,
“dataTableId”: {
“__rl”: true,
“value”: “WRN8lY85BrlgXPOz”,
“mode”: “list”,
“cachedResultName”: “asset v1 n8n QS101 2026H2 type asset block customers”,
“cachedResultUrl”: “/projects/x01PMzD5KFfVDplU/datatables/WRN8lY85BrlgXPOz”
}
},
“type”: “n8n-nodes-base.dataTable”,
“typeVersion”: 1.1,
“position”: [
-896,
272
],
“id”: “ed12a24b-c723-4e04-805f-8904a60dd686”,
“name”: “الحصول على العملاء”
},
{
“parameters”: {
“url”: “https://learn.app.n8n.cloud/webhook/courses/n8n-quickstart/company-data”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “httpHeaderAuth”,
“sendHeaders”: true,
“headerParameters”: {
“parameters”: [
{
“name”: “x-assessment-id”,
“value”: “4ab743e60a4b3af5b0075b90e2ed1b0e”
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.4,
“position”: [
-896,
64
],
“id”: “b3f99e6a-78d8-4e97-abd3-4bf9587fa732”,
“name”: “الحصول على بيانات الطلبات”,
“credentials”: {
“httpHeaderAuth”: {
“id”: “SRMr2TirVHYPQYMR”,
“name”: “حساب مصادقة رأس n8n Quickstart”
}
}
},
{
“parameters”: {
“mode”: “combine”,
“advanced”: true,
“mergeByFields”: {
“values”: [
{
“field1”: “customerID”,
“field2”: “customerID”
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.merge”,
“typeVersion”: 3.2,
“position”: [
-640,
160
],
“id”: “7477b066-a729-4144-aa24-c362d6c3ea03”,
“name”: “دمج”,
“alwaysOutputData”: false
},
{
“parameters”: {
“sortFieldsUi”: {
“sortField”: [
{
“fieldName”: “orderTotal”,
“order”: “descending”
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.sort”,
“typeVersion”: 1,
“position”: [
-224,
160
],
“id”: “4db095a0-5131-4615-8f2f-7f7eb3a30fc3”,
“name”: “الترتيب حسب الإجمالي”
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “8e5b6003-a1cf-4021-a472-f08d91f24a2d”,
“name”: “orderTotal”,
“value”: “={{ $json.orderPrice * $json.quantity }}\n”,
“type”: “number”
}
]
},
“includeOtherFields”: true,
“options”: {}
},
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.4,
“position”: [
-432,
160
],
“id”: “1affdff7-cc0d-4072-81e9-09b62d5e4794”,
“name”: “حساب الإجمالي”
},
{
“parameters”: {
“conditions”: {
“options”: {
“caseSensitive”: true,
“leftValue”: “”,
“typeValidation”: “strict”,
“version”: 3
},
“conditions”: [
{
“id”: “71cbf134-741d-4c65-abc7-f173962529ca”,
“leftValue”: “={{ $json.region }}”,
“rightValue”: “Europe”,
“operator”: {
“type”: “string”,
“operation”: “equals”
}
}
],
“combinator”: “and”
},
“options”: {}
},
“type”: “n8n-nodes-base.filter”,
“typeVersion”: 2.3,
“position”: [
0,
0
],
“id”: “312a9a9d-012a-4a12-a188-9583126a7a45”,
“name”: “أوروبا فقط”
},
{
“parameters”: {
“options”: {}
},
“type”: “n8n-nodes-base.convertToFile”,
“typeVersion”: 1.1,
“position”: [
224,
0
],
“id”: “e2269355-2262-48ab-b984-fa8d35cf7674”,
“name”: “تحويل إلى CSV”
},
{
“parameters”: {
“method”: “POST”,
“url”: “https://learn.app.n8n.cloud/webhook/courses/n8n-quickstart/upload-report”,
“authentication”: “genericCredentialType”,
“genericAuthType”: “httpHeaderAuth”,
“sendHeaders”: true,
“headerParameters”: {
“parameters”: [
{
“name”: “x-assessment-id”,
“value”: “4ab743e60a4b3af5b0075b90e2ed1b0e”
}
]
},
“sendBody”: true,
“contentType”: “binaryData”,
“inputDataFieldName”: “data”,
“options”: {}
},
“type”: “n8n-nodes-base.httpRequest”,
“typeVersion”: 4.4,
“position”: [
480,
0
],
“id”: “6a406f69-2651-4f55-a1e8-a78f40e532ea”,
“name”: “تحميل التقرير”
},
{
“parameters”: {
“fieldsToSummarize”: {
“values”: [
{
“field”: “orderTotal”
},
{
“aggregation”: “sum”,
“field”: “orderTotal”
}
]
},
“fieldsToSplitBy”: “region”,
“options”: {
“outputFormat”: “separateItems”
}
},
“type”: “n8n-nodes-base.summarize”,
“typeVersion”: 1.1,
“position”: [
16,
304
],
“id”: “f38c4638-0fd8-4c50-828e-37140212cef8”,
“name”: “تلخيص حسب المنطقة”
},
{
“parameters”: {
“sortFieldsUi”: {
“sortField”: [
{
“fieldName”: “sum_orderTotal”,
“order”: “descending”
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.sort”,
“typeVersion”: 1,
“position”: [
256,
304
],
“id”: “6f15f955-0800-4b36-bf5a-4f0fd48dba78”,
“name”: “ترتيب الملخص”
},
{
“parameters”: {
“assignments”: {
“assignments”: [
{
“id”: “462aec62-c3af-4be6-ac26-bdbc225f39ba”,
“name”: “discord_message”,
“value”: “=4ab743e60a4b3af5b0075b90e2ed1b0e ملخص المبيعات الإقليمي:{{ $json.region }} - {{ $json.count_orderTotal }} طلبات، الإجمالي:${{ $json.sum_orderTotal.toFixed(2) }}”,
“type”: “string”
}
]
},
“options”: {}
},
“type”: “n8n-nodes-base.set”,
“typeVersion”: 3.4,
“position”: [
544,
304
],
“id”: “9029bea5-13a4-4779-8a4c-647619afc6be”,
“name”: “بناء رسالة Discord”
},
{
“parameters”: {
“authentication”: “webhook”,
“content”: “=[معرّف التقييم الخاص بك] ملخص المبيعات الإقليمي: {{ $json.region }} - {{ $json.count_orderTotal }} طلبات، الإجمالي: ${{ $json.sum_orderTotal.toFixed(2) }}”,
“options”: {}
},
“type”: “n8n-nodes-base.discord”,
“typeVersion”: 2,
“position”: [
816,
304
],
“id”: “aa59b403-5f03-4b2b-9107-c95c56e860aa”,
“name”: “Discord”,
“webhookId”: “641166c6-2f54-474d-8c54-1b0ca31c84fe”,
“credentials”: {
“discordWebhookApi”: {
“id”: “wdnUkHDk0MW4HzOa”,
“name”: “حساب Discord Webhook لـ n8n Quickstart S2”
}
}
}
],
“connections”: {
“When clicking ‘Execute workflow’”: {
“main”: [
[
{
“node”: “GetOrderData”,
“type”: “main”,
“index”: 0
},
{
“node”: “GetCustomers”,
“type”: “main”,
“index”: 0
}
]
]
},
“GetCustomers”: {
“main”: [
[
{
“node”: “Merge”,
“type”: “main”,
“index”: 1
}
]
]
},
“GetOrderData”: {
“main”: [
[
{
“node”: “Merge”,
“type”: “main”,
“index”: 0
}
]
]
},
“Merge”: {
“main”: [
[
{
“node”: “CalculateTotal”,
“type”: “main”,
“index”: 0
}
]
]
},
“SortByTotal”: {
“main”: [
[
{
“node”: “EuropeOnly”,
“type”: “main”,
“index”: 0
},
{
“node”: “SummarizeByRegion”,
“type”: “main”,
“index”: 0
}
]
]
},
“CalculateTotal”: {
“main”: [
[
{
“node”: “SortByTotal”,
“type”: “main”,
“index”: 0
}
]
]
},
“EuropeOnly”: {
“main”: [
[
{
“node”: “ConvertToCSV”,
“type”: “main”,
“index”: 0
}
]
]
},
“ConvertToCSV”: {
“main”: [
[
{
“node”: “UploadReport”,
“type”: “main”,
“index”: 0
}
]
]
},
“SummarizeByRegion”: {
“main”: [
[
{
“node”: “SortSummary”,
“type”: “main”,
“index”: 0
}
]
]
},
“SortSummary”: {
“main”: [
[
{
“node”: “BuildDiscordMessage”,
“type”: “main”,
“index”: 0
}
]
]
},
“BuildDiscordMessage”: {
“main”: [
[
{
“node”: “Discord”,
“type”: “main”,
“index”: 0
}
]
]
}
},
“pinData”: {
“When clicking ‘Execute workflow’”: [
{}
]
},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “3a8d30bb884e0ab54ff34ae8dbd93db3ded3a583052130c4b0eea71fb451de8c”
}
}

إليك سير العمل، يرجى الاطلاع عليه."},

يرجى قراءة رسالتك السابقة مرة أخرى. من الجدير بالفحص أن يكون assessment_id الخاص بك موضوعًا بين قوسين معقوفين.

شكراً على ردك. فعلاً تفقدته، لكن النتيجة كانت نفسها مع ذلك.

يرجى التحقق من المسافات بين الفواصل والنقاط الثنائية مرة أخرى.

نجح الأمر. شكراً!