يمكنك استيراده للمقارنة بعد بناء مشروعك بنفسك خطوة بخطوة.
معاينة محتوى الملف مباشرة
{
"name": "M13 - Tally Intake & Validation Blueprint",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "tally-workshop-intake",
"responseMode": "responseNode",
"options": {}
},
"name": "Tally Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
240,
300
]
},
{
"parameters": {
"assignments": {
"assignments": [
{
"name": "submission_id",
"value": "={{ $json.body?.data?.submissionId ?? \"MANUAL-\" + $now.toMillis() }}",
"type": "string"
},
{
"name": "full_name",
"value": "={{ ($json.body?.data?.fields?.find(f => f.label === \"الاسم\")?.value ?? \"\").toString().trim() }}",
"type": "string"
},
{
"name": "clean_email",
"value": "={{ ($json.body?.data?.fields?.find(f => f.label === \"البريد\")?.value ?? \"\").toString().trim().toLowerCase() }}",
"type": "string"
},
{
"name": "category",
"value": "={{ ($json.body?.data?.fields?.find(f => f.label === \"الفئة\")?.value ?? \"\").toString().trim() }}",
"type": "string"
}
]
}
},
"name": "Normalize Fields",
"type": "n8n-nodes-base.set",
"typeVersion": 3.4,
"position": [
480,
300
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true
},
"conditions": [
{
"leftValue": "={{ $json.full_name !== \"\" && $json.clean_email !== \"\" }}",
"rightValue": true,
"operator": {
"type": "boolean",
"operation": "equals"
}
},
{
"leftValue": "={{ [\"Design\", \"Data\", \"Content\"].includes($json.category) }}",
"rightValue": true,
"operator": {
"type": "boolean",
"operation": "equals"
}
}
],
"combinator": "and"
}
},
"name": "Validate Rules",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
720,
300
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={{ { \"received\": true, \"submission_id\": $json.submission_id } }}",
"options": {
"responseCode": 200
}
},
"name": "Respond 200 to Tally",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"position": [
1160,
300
]
}
],
"connections": {
"Tally Webhook": {
"main": [
[
{
"node": "Normalize Fields",
"type": "main",
"index": 0
}
]
]
},
"Normalize Fields": {
"main": [
[
{
"node": "Validate Rules",
"type": "main",
"index": 0
}
]
]
}
}
}