{ "name": "Send Scheduled Congratulations from Sheets", "nodes": [ { "name": "Daily Trigger", "type": "n8n-nodes-base.cron", "position": [ 200, 400 ], "parameters": { "triggerTimes": { "item": [ { "hour": 8 } ] } }, "typeVersion": 1, "id": "send-scheduled-congratulations-from-sheets-0" }, { "name": "Congratulations Calendar", "type": "n8n-nodes-base.googleSheets", "position": [ 400, 400 ], "parameters": { "range": "A:E", "options": { "valueRenderMode": "FORMATTED_VALUE" }, "sheetId": "YOUR_SPREADSHEET_ID", "authentication": "oAuth2" }, "typeVersion": 1, "id": "send-scheduled-congratulations-from-sheets-1" }, { "name": "Any Event Today?", "type": "n8n-nodes-base.if", "position": [ 600, 400 ], "parameters": { "conditions": { "string": [ { "value1": "={{$node[\"Congratulations Calendar\"].json[\"Date\"]}}", "value2": "={{ $now.setZone('UTC').toFormat('d/M') }}" } ] } }, "typeVersion": 1, "id": "send-scheduled-congratulations-from-sheets-2" }, { "name": "Do Nothing", "type": "n8n-nodes-base.noOp", "position": [ 800, 550 ], "parameters": {}, "typeVersion": 1, "id": "send-scheduled-congratulations-from-sheets-3" }, { "name": "Congratulations Messages", "type": "n8n-nodes-base.googleSheets", "position": [ 1000, 550 ], "parameters": { "range": "Congratulations Messages!A:B", "options": {}, "sheetId": "YOUR_SPREADSHEET_ID", "authentication": "oAuth2" }, "typeVersion": 1, "id": "send-scheduled-congratulations-from-sheets-4" }, { "name": "Merge Data", "type": "n8n-nodes-base.merge", "position": [ 1200, 400 ], "parameters": { "mode": "mergeByKey", "propertyName1": "Event Name", "propertyName2": "Event Name" }, "typeVersion": 1, "id": "send-scheduled-congratulations-from-sheets-5" }, { "name": "Personalize Message", "type": "n8n-nodes-base.function", "position": [ 1400, 400 ], "parameters": { "functionCode": "const newItems = [];\n\nfor (let i=0;i