{ "nodes": [ { "name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [ 250, 300 ], "parameters": {}, "typeVersion": 1, "id": "append-id-and-name-to-google-sheets-0" }, { "name": "Google Sheets", "type": "n8n-nodes-base.googleSheets", "position": [ 650, 300 ], "parameters": { "range": "A:B", "options": {}, "sheetId": "YOUR_SPREADSHEET_ID", "operation": "append", "authentication": "oAuth2" }, "typeVersion": 1, "id": "append-id-and-name-to-google-sheets-1" }, { "name": "Set", "type": "n8n-nodes-base.set", "position": [ 450, 300 ], "parameters": { "values": { "number": [ { "name": "id", "value": 0 } ], "string": [ { "name": "name", "value": "n8n" } ] }, "options": {} }, "typeVersion": 1, "alwaysOutputData": true, "id": "append-id-and-name-to-google-sheets-2" }, { "name": "Google Sheets1", "type": "n8n-nodes-base.googleSheets", "position": [ 850, 300 ], "parameters": { "range": "A:B", "options": {}, "sheetId": "={{ $node[\"Google Sheets\"].parameter[\"sheetId\"] }}", "authentication": "oAuth2" }, "typeVersion": 1, "id": "append-id-and-name-to-google-sheets-3" } ], "connections": { "Set": { "main": [ [ { "node": "Google Sheets", "type": "main", "index": 0 } ] ] }, "Google Sheets": { "main": [ [ { "node": "Google Sheets1", "type": "main", "index": 0 } ] ] }, "On clicking 'execute'": { "main": [ [ { "node": "Set", "type": "main", "index": 0 } ] ] } }, "name": "Append an ID and Name to Google Sheets", "active": false, "pinData": {} }