ردود Google Forms في Slack
كل رد جديد على Google Form يُنشر في قناة Slack.
كيف تعمل
المشغّل: Google Sheets — صف جديد في جدول ردود النموذج
- راقب الجدول المرتبط بنموذج Google.
- رتّب كل إجابة كسطر: السؤال — الإجابة.
- أرسلها إلى قناة Slack.
المخطط
مشغّل تطبيق كود
الكود
كود JavaScript المستخدم في خطوات Code، وهو مضمَّن بالفعل في القالب بالأسفل.
// Mode: Run Once for Each Item
// Turns a form response row into readable "question — answer" lines.
const lines = Object.entries($json)
.filter(([key, value]) => key !== "row_number" && value !== "")
.map(([question, answer]) => `*${question}*\n${answer}`);
return { json: { text: `📝 New form response\n\n${lines.join("\n\n")}` } };ابنِها بأداتك
اختر أداتك — نفس الأتمتة، خطوة بخطوة.
انسخه والصقه مباشرة في مساحة عمل n8n (Ctrl+V)، أو حمّله واستخدم Import from File. بعد ذلك اربط حساباتك واستبدل كل قيمة تبدأ بـ YOUR_.
عرض الكود (117 سطر)
{
"name": "ردود Google Forms في Slack (Flowngn)",
"nodes": [
{
"parameters": {
"content": "## ردود Google Forms في Slack\nكل رد جديد على Google Form يُنشر في قناة Slack.\n\n**Setup**\n1. Open each node and connect your own credentials.\n2. Replace every YOUR_… placeholder.\n3. Test once, then activate.\n\nFree template from Flowngn",
"height": 260,
"width": 340
},
"id": "26068bc2-eac9-4e99-a8cb-b57353c0b957",
"name": "Setup notes",
"type": "n8n-nodes-base.stickyNote",
"typeVersion": 1,
"position": [
-420,
-60
]
},
{
"parameters": {
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"documentId": {
"__rl": true,
"value": "YOUR_SPREADSHEET_ID",
"mode": "id"
},
"sheetName": {
"__rl": true,
"value": "Form Responses 1",
"mode": "name"
},
"event": "rowAdded",
"options": {}
},
"id": "26068bc2-eac9-4e99-a8cb-b57353c0b957",
"name": "New response",
"type": "n8n-nodes-base.googleSheetsTrigger",
"typeVersion": 1,
"position": [
0,
0
]
},
{
"parameters": {
"jsCode": "// Mode: Run Once for Each Item\n// Turns a form response row into readable \"question — answer\" lines.\nconst lines = Object.entries($json)\n .filter(([key, value]) => key !== \"row_number\" && value !== \"\")\n .map(([question, answer]) => `*${question}*\\n${answer}`);\n\nreturn { json: { text: `📝 New form response\\n\\n${lines.join(\"\\n\\n\")}` } };",
"mode": "runOnceForEachItem"
},
"id": "26068bc2-eac9-4e99-a8cb-b57353c0b957",
"name": "Format answers",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
300,
0
]
},
{
"parameters": {
"select": "channel",
"channelId": {
"__rl": true,
"value": "#requests",
"mode": "name"
},
"text": "={{ $json.text }}",
"otherOptions": {}
},
"id": "26068bc2-eac9-4e99-a8cb-b57353c0b957",
"name": "Post to #requests",
"type": "n8n-nodes-base.slack",
"typeVersion": 2.2,
"position": [
600,
0
]
}
],
"connections": {
"New response": {
"main": [
[
{
"node": "Format answers",
"type": "main",
"index": 0
}
]
]
},
"Format answers": {
"main": [
[
{
"node": "Post to #requests",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"meta": {
"templateCredsSetupCompleted": false
},
"tags": []
}في Make، أنشئ سيناريو جديدًا وأضف هذه الوحدات بالترتيب:
- Google Sheets › Watch New Rows
- Tools › Set variable / Iterator + Array aggregator (same logic as the Code step)
- Slack › Create a Message
- كل تشغيل لوحدة يستهلك عمليات (operations) في Make — والباقة المجانية تتضمن حصة شهرية.
- دوال Make المدمجة (map و sum و formatDate…) تغني عن معظم خطوات Code؛ وللمنطق المعقد استخدم وحدة كود.
- قد تختلف أسماء الوحدات والخطوات قليلًا مع تحديث Make و Zapier لتطبيقاتهما.
في Zapier، أنشئ Zap جديدًا وأضف هذه الخطوات بالترتيب:
- Google Sheets — New Spreadsheet Row
- Code by Zapier — Run JavaScript (paste the code from the Code section)
- Slack — Send Channel Message
- الـ Zaps التي فيها أكثر من خطوتين تحتاج باقة Zapier مدفوعة.
- الـ Webhooks والفلاتر/المسارات و Code by Zapier ميزات مدفوعة في بعض باقات Zapier.
- Code by Zapier يشغّل JavaScript: أعد استخدام الكود بالأعلى، مع قراءة المدخلات من inputData بدلًا من $json.
- قد تختلف أسماء الوحدات والخطوات قليلًا مع تحديث Make و Zapier لتطبيقاتهما.
نصائح
- في Google Forms: Responses ← Link to Sheets لإنشاء الجدول.
أتمتات مشابهة
الإنتاجيةسهل
طلبات التوظيف ← جدول + تنبيه للفريق
كل طلب توظيف من نموذجك يُسجَّل في جدول التوظيف ويُشارك مع الفريق.
Typeform → Google Sheets → Slack4 س/شهر
الإنتاجيةسهل
تذكير بمهام اليوم من Notion
تصلك رسالة Slack بكل مهام Notion المستحقة اليوم.
Notion → Slack2 س/شهر
الإنتاجيةسهل
سؤال الاجتماع اليومي في Slack
كل صباح عمل، تُنشر أسئلة الاجتماع اليومي ليجيب الفريق في المحادثة.
Slack8 س/شهر