The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "H4K \u2014 UI Webhook (Update Sheet) v3",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "h4k-update",
"responseMode": "responseNode",
"options": {}
},
"id": "a1b2c3d4-e5f6-4a7b-8c9d-0e1f2a3b4c5d",
"name": "Receive from UI",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2,
"position": [
0,
0
]
},
{
"parameters": {
"mode": "runOnceForEachItem",
"jsCode": "const b = $input.item.json.body ?? $input.item.json;\nconst f = b.fields ?? {};\nreturn {\n json: {\n action: b.action ?? '',\n id: b.id ?? '',\n name: f.name ?? '',\n beacon_chat_id: f.beacon_chat_id ?? '',\n tags: f.tags ?? '',\n status: f.status ?? '',\n scheduled_at: f.scheduled_at ?? '',\n target_groups: f.target_groups ?? '',\n active: f.active ?? '',\n content: f.content ?? '',\n media_url: f.media_url ?? ''\n }\n};"
},
"id": "b2c3d4e5-f6a7-4b8c-9d0e-1f2a3b4c5d6e",
"name": "Flatten Fields",
"type": "n8n-nodes-base.code",
"typeVersion": 2,
"position": [
220,
0
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true
},
"conditions": [
{
"leftValue": "={{ $json.action }}",
"rightValue": "update-post",
"operator": {
"type": "string",
"operation": "notEquals"
}
}
]
}
},
"id": "c3d4e5f6-a7b8-4c9d-0e1f-2a3b4c5d6e7f",
"name": "Not update-post?",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
440,
0
]
},
{
"parameters": {
"operation": "update",
"documentId": {
"__rl": true,
"value": "12WESjeS-G5yitJIPehxnjs3dvjBdHmb0R-vtvSu0W-8",
"mode": "list",
"cachedResultName": "H4K Scheduler"
},
"sheetName": {
"__rl": true,
"value": "posts",
"mode": "name"
},
"columns": {
"mappingMode": "autoMapInputData",
"value": {},
"matchingColumns": [
"id"
],
"schema": []
},
"options": {}
},
"id": "d4e5f6a7-b8c9-4d0e-1f2a-3b4c5d6e7f8a",
"name": "Update Posts Sheet",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4.5,
"position": [
660,
120
],
"credentials": {
"googleSheetsOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true
},
"conditions": [
{
"leftValue": "={{ $json.action }}",
"rightValue": "append-group",
"operator": {
"type": "string",
"operation": "notEquals"
}
}
]
}
},
"id": "e5f6a7b8-c9d0-4e1f-2a3b-4c5d6e7f8a9b",
"name": "Not append-group?",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
660,
-120
]
},
{
"parameters": {
"operation": "append",
"documentId": {
"__rl": true,
"value": "12WESjeS-G5yitJIPehxnjs3dvjBdHmb0R-vtvSu0W-8",
"mode": "list",
"cachedResultName": "H4K Scheduler"
},
"sheetName": {
"__rl": true,
"value": "groups",
"mode": "name"
},
"columns": {
"mappingMode": "autoMapInputData",
"value": {},
"schema": []
},
"options": {}
},
"id": "f6a7b8c9-d0e1-4f2a-3b4c-5d6e7f8a9b0c",
"name": "Append New Group",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4.5,
"position": [
880,
-240
],
"credentials": {
"googleSheetsOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"operation": "update",
"documentId": {
"__rl": true,
"value": "12WESjeS-G5yitJIPehxnjs3dvjBdHmb0R-vtvSu0W-8",
"mode": "list",
"cachedResultName": "H4K Scheduler"
},
"sheetName": {
"__rl": true,
"value": "groups",
"mode": "name"
},
"columns": {
"mappingMode": "autoMapInputData",
"value": {},
"matchingColumns": [
"id"
],
"schema": []
},
"options": {}
},
"id": "a7b8c9d0-e1f2-4a3b-4c5d-6e7f8a9b0c1d",
"name": "Update Groups Sheet",
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4.5,
"position": [
880,
0
],
"credentials": {
"googleSheetsOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"respondWith": "json",
"responseBody": "{\"ok\": true}",
"options": {}
},
"id": "b8c9d0e1-f2a3-4b4c-5d6e-7f8a9b0c1d2e",
"name": "Respond OK",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.1,
"position": [
1100,
-60
]
}
],
"connections": {
"Receive from UI": {
"main": [
[
{
"node": "Flatten Fields",
"type": "main",
"index": 0
}
]
]
},
"Flatten Fields": {
"main": [
[
{
"node": "Not update-post?",
"type": "main",
"index": 0
}
]
]
},
"Not update-post?": {
"main": [
[
{
"node": "Not append-group?",
"type": "main",
"index": 0
}
],
[
{
"node": "Update Posts Sheet",
"type": "main",
"index": 0
}
]
]
},
"Not append-group?": {
"main": [
[
{
"node": "Update Groups Sheet",
"type": "main",
"index": 0
}
],
[
{
"node": "Append New Group",
"type": "main",
"index": 0
}
]
]
},
"Update Posts Sheet": {
"main": [
[
{
"node": "Respond OK",
"type": "main",
"index": 0
}
]
]
},
"Append New Group": {
"main": [
[
{
"node": "Respond OK",
"type": "main",
"index": 0
}
]
]
},
"Update Groups Sheet": {
"main": [
[
{
"node": "Respond OK",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
}
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
googleSheetsOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
H4K — UI Webhook (Update Sheet) v3. Uses googleSheets. Webhook trigger; 8 nodes.
Source: https://github.com/hamal4kids/h4k-scheduler2.0/blob/216c705c201b4dc3f54c01a618635f5ef434e0d3/n8n-workflows/4-register-v3.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
[SANTOBET] FLUXO TODO - BACKUP. Uses googleSheets, httpRequest, googleSheetsTrigger. Webhook trigger; 57 nodes.
FLUXO DISPARO DATA E HORA. Uses itemLists, googleSheets, httpRequest. Webhook trigger; 48 nodes.
This workflow allows you to accept online payments via YooKassa and log both orders and transactions in Google Sheets — all without writing a single line of code. It supports full payment flow: produc
Transform your n8n instance management with this advanced automation system featuring artificial intelligence-driven workflow selection. This template provides comprehensive maintenance operations wit
Nexus_v6(ล่าสุดจริงๆ)ล่าสุดไกไก. Uses googleSheets, httpRequest. Webhook trigger; 41 nodes.