Workflow: Manualtrigger Workflow
Integrations: code, googleSheets, httpRequest, manualTrigger, merge, scheduleTrigger, set, stickyNote

{"meta": {"instanceId": "workflow-f4de74b3", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:42.919958", "updatedAt": "2025-09-29T07:07:42.919976", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production"}, "nodes": [{"id": "58c6003f-3311-448b-a949-4fbc22b38e2e", "name": "When clicking \u2018Test workflow\u2019", "type": "n8n-nodes-base.manualTrigger", "position": [-560, 80], "parameters": {}, "typeVersion": 1, "notes": "This manualTrigger node performs automated tasks as part of the workflow."}, {"id": "67e4f66c-256f-4e45-b98e-d2872a416ff5", "name": "Get all Users", "type": "n8n-nodes-base.httpRequest", "position": [80, 100], "parameters": {"url": "{{ $env.BASE_URL }}", "options": {"pagination": {"pagination": {"parameters": {"parameters": [{"name": "cursor", "value": "={{ $response.body.nextCursor }}"}]}, "completeExpression": "={{ !$response.body.nextCursor }}", "paginationCompleteWhen": "other"}}}, "sendQuery": true, "authentication": "{{ $credentials.predefinedCredentialType }}", "queryParameters": {"parameters": [{"name": "limit", "value": "5"}]}, "nodeCredentialType": "YOUR_CREDENTIAL_HERE"}, "credentials": {"n8nApi": {"id": "dzYjDgtEXtpRPKhe", "name": "n8n account"}, "httpHeaderAuth": {"id": "iiLmD473RYjGLbCA", "name": "Squarespace API key - Apps script"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "2a66ddc7-5fde-4e2b-9ad6-7c68968214ae", "name": "Get all rows", "type": "n8n-nodes-base.googleSheets", "position": [80, -180], "parameters": {"options": {}, "sheetName": {"__rl": true, "mode": "list", "value": "gid=0", "cachedResultUrl": "{{ $env.WEBHOOK_URL }}", "cachedResultName": "Sheet1"}, "documentId": {"__rl": true, "mode": "list", "value": "15A3ZWzIBfONL4U_1XGJvtsS8HtMQ69qrpxd5C5L6Akg", "cachedResultUrl": "{{ $env.WEBHOOK_URL }}", "cachedResultName": "n8n-submission"}}, "credentials": {"googleSheetsOAuth2Api": {"id": "JgI9maibw5DnBXRP", "name": "Google Sheets account"}}, "typeVersion": 4.5, "notes": "This googleSheets node performs automated tasks as part of the workflow."}, {"id": "f220c6db-eafb-4bb5-9cbe-43edcf563a67", "name": "Get non-users", "type": "n8n-nodes-base.merge", "position": [620, -100], "parameters": {"mode": "combine", "options": {}, "advanced": true, "joinMode": "keepNonMatches", "mergeByFields": {"values": [{"field1": "Email Address", "field2": "email"}]}, "outputDataFrom": "input1"}, "typeVersion": 3, "notes": "This merge node performs automated tasks as part of the workflow."}, {"id": "906e8dde-4c58-4e93-9e07-3064a5dd60dd", "name": "Invite Users", "type": "n8n-nodes-base.httpRequest", "position": [1100, -100], "parameters": {"url": "{{ $env.BASE_URL }}", "method": "POST", "options": {}, "jsonBody": "={{ [$json] }}", "sendBody": true, "specifyBody": "json", "authentication": "{{ $credentials.predefinedCredentialType }}", "nodeCredentialType": "YOUR_CREDENTIAL_HERE"}, "credentials": {"n8nApi": {"id": "dzYjDgtEXtpRPKhe", "name": "n8n account"}, "httpHeaderAuth": {"id": "iiLmD473RYjGLbCA", "name": "Squarespace API key - Apps script"}}, "typeVersion": 4.2, "notes": "This httpRequest node performs automated tasks as part of the workflow."}, {"id": "195d0c33-611a-4a16-b62c-8ba1f4f31e19", "name": "Schedule Trigger", "type": "n8n-nodes-base.scheduleTrigger", "position": [-560, -160], "parameters": {"rule": {"interval": [{}]}}, "typeVersion": 1.2, "notes": "This scheduleTrigger node performs automated tasks as part of the workflow."}, {"id": "dd453b5b-f238-43b1-8c44-2c3ed3a3d7ba", "name": "Edit Fields", "type": "n8n-nodes-base.set", "position": [-220, -20], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "c3a7a1ee-d1a2-4a29-b4b3-dcadf0fc16e2", "name": "n8n_url", "type": "string", "value": "{{ $env.API_BASE_URL }}"}]}}, "typeVersion": 3.4, "notes": "This set node performs automated tasks as part of the workflow."}, {"id": "07e678c7-7c98-4f09-89d8-5e4d7d442a8f", "name": "Sticky Note3", "type": "n8n-nodes-base.stickyNote", "position": [-280, -160], "parameters": {"color": 4, "width": 230, "height": 300, "content": "## Edit this node \ud83d\udc47\nChange n8n_url to your instance URL\n{{ $env.API_BASE_URL }}"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "2bfb10b6-220b-4c73-a15f-190412f2dda2", "name": "Create users list", "type": "n8n-nodes-base.set", "position": [880, -100], "parameters": {"options": {}, "assignments": {"assignments": [{"id": "36282722-07ec-47b1-ab08-c649b7901ed7", "name": "email", "type": "string", "value": "={{ $json['Email Address'] }}"}, {"id": "9b073e1d-8c16-45b1-b333-97dfe635eb73", "name": "role", "type": "string", "value": "global:member"}]}}, "typeVersion": 3.4, "notes": "This set node performs automated tasks as part of the workflow."}, {"id": "221ca946-e305-4283-bca1-4289b8a7db28", "name": "Sticky Note1", "type": "n8n-nodes-base.stickyNote", "position": [-1000, -300], "parameters": {"color": 4, "width": 371.1995072042308, "height": 600.88409546716, "content": "## Invite users to n8n from Google sheets\nThis workflow will get all Users from n8n and compare against the rows from Google sheets and create new users\n\nInvitation emails will be sent once the new users created\n\nYou can run the workflow on demand or by schedule\n\n## Spreadsheet template\n\nThe sheet columns are inspire from Squarespace newsletter block connection, but you can change the node to adapt new columns format\n\nClone the [sample sheet here]({{ $env.WEBHOOK_URL }}\n- Submitted On\t\n- Email Address\t\n- Name"}, "typeVersion": 1, "notes": "This stickyNote node performs automated tasks as part of the workflow."}, {"id": "c956e102-7fe3-4ee4-90e0-32cb11556c2c", "name": "Combine all paginated results", "type": "n8n-nodes-base.code", "position": [320, 100], "parameters": {"jsCode": "let results = [];\nfor (let i = 0; i < $input.all().length; i++) {\n  results = results.concat($input.all()[i].json.data);\n}\n\nreturn results;"}, "typeVersion": 2, "notes": "This code node performs automated tasks as part of the workflow."}], "pinData": {}, "connections": {"67e4f66c-256f-4e45-b98e-d2872a416ff5": {"main": [[{"node": "error-handler-67e4f66c-256f-4e45-b98e-d2872a416ff5", "type": "main", "index": 0}], [{"node": "error-handler-67e4f66c-256f-4e45-b98e-d2872a416ff5-f24fe85d", "type": "main", "index": 0}], [{"node": "error-handler-67e4f66c-256f-4e45-b98e-d2872a416ff5-15af1b56", "type": "main", "index": 0}], [{"node": "error-handler-67e4f66c-256f-4e45-b98e-d2872a416ff5-4f63962e", "type": "main", "index": 0}], [{"node": "error-handler-67e4f66c-256f-4e45-b98e-d2872a416ff5-f92d90dc", "type": "main", "index": 0}], [{"node": "error-handler-67e4f66c-256f-4e45-b98e-d2872a416ff5-f51841cd", "type": "main", "index": 0}], [{"node": "error-handler-67e4f66c-256f-4e45-b98e-d2872a416ff5-88e485af", "type": "main", "index": 0}], [{"node": "error-handler-67e4f66c-256f-4e45-b98e-d2872a416ff5-95ea17b6", "type": "main", "index": 0}], [{"node": "error-handler-67e4f66c-256f-4e45-b98e-d2872a416ff5-3b053297", "type": "main", "index": 0}]]}, "906e8dde-4c58-4e93-9e07-3064a5dd60dd": {"main": [[{"node": "error-handler-906e8dde-4c58-4e93-9e07-3064a5dd60dd", "type": "main", "index": 0}], [{"node": "error-handler-906e8dde-4c58-4e93-9e07-3064a5dd60dd-b992334e", "type": "main", "index": 0}], [{"node": "error-handler-906e8dde-4c58-4e93-9e07-3064a5dd60dd-5b0e7109", "type": "main", "index": 0}], [{"node": "error-handler-906e8dde-4c58-4e93-9e07-3064a5dd60dd-80eaf369", "type": "main", "index": 0}], [{"node": "error-handler-906e8dde-4c58-4e93-9e07-3064a5dd60dd-7ac04afd", "type": "main", "index": 0}], [{"node": "error-handler-906e8dde-4c58-4e93-9e07-3064a5dd60dd-8ba75441", "type": "main", "index": 0}], [{"node": "error-handler-906e8dde-4c58-4e93-9e07-3064a5dd60dd-4ea21d7c", "type": "main", "index": 0}], [{"node": "error-handler-906e8dde-4c58-4e93-9e07-3064a5dd60dd-009a640b", "type": "main", "index": 0}], [{"node": "error-handler-906e8dde-4c58-4e93-9e07-3064a5dd60dd-dca58548", "type": "main", "index": 0}]]}, "2a66ddc7-5fde-4e2b-9ad6-7c68968214ae": {"main": [[{"node": "error-handler-2a66ddc7-5fde-4e2b-9ad6-7c68968214ae-aabebe31", "type": "main", "index": 0}]]}}, "name": "Manualtrigger Workflow", "settings": {"executionOrder": "v1", "saveManualExecutions": true, "callerPolicy": "workflowsFromSameOwner", "errorWorkflow": null, "timezone": "UTC", "executionTimeout": 3600, "maxExecutions": 1000, "retryOnFail": true, "retryCount": 3, "retryDelay": 1000}, "description": "Automated workflow: Manualtrigger Workflow. This workflow integrates 9 different services: stickyNote, httpRequest, code, scheduleTrigger, merge. It contains 16 nodes and follows best practices for error handling and security.", "tags": ["automation", "n8n", "production-ready", "excellent", "optimized"], "notes": "Excellent quality workflow: Manualtrigger Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."}