Workflow: orchestrate n8n logic for Manual Noop Monitor Triggered
Integrations: if, manualTrigger, noOp, set

{"nodes": [{"name": "On clicking 'execute'", "type": "n8n-nodes-base.manualTrigger", "position": [250, 300], "parameters": {}, "typeVersion": 1}, {"name": "Check for Close Date", "type": "n8n-nodes-base.if", "position": [660, 300], "parameters": {"conditions": {"string": [{"value1": "={{$json[\"Close Date\"]}}", "value2": "/\\d\\d\\d\\d-\\d\\d-\\d\\d/i", "operation": "regex"}]}, "combineOperation": "any"}, "typeVersion": 1}, {"name": "Set Close Date 3 Weeks Later", "type": "n8n-nodes-base.set", "position": [910, 370], "parameters": {"values": {"string": [{"name": "Close Date", "value": "={{new Date(new Date().setDate(new Date().getDate() + 21)).toISOString()}}"}]}, "options": {}, "keepOnlySet": true}, "typeVersion": 1}, {"name": "NoOp", "type": "n8n-nodes-base.noOp", "position": [1140, 280], "parameters": {}, "typeVersion": 1}, {"name": "Set Close Date", "type": "n8n-nodes-base.set", "position": [450, 300], "parameters": {"values": {"string": [{"name": "Close Date", "value": "2021-11-29T00:00:00.000Z"}]}, "options": {}}, "typeVersion": 1}, {"name": "Set Close Date To Original", "type": "n8n-nodes-base.set", "position": [910, 210], "parameters": {"values": {"string": [{"name": "Close Date", "value": "={{$node[\"Set Close Date\"].json[\"Close Date\"]}}"}]}, "options": {}, "keepOnlySet": true}, "typeVersion": 1}], "connections": {"Set Close Date": {"main": [[{"node": "Check for Close Date", "type": "main", "index": 0}]]}, "Check for Close Date": {"main": [[{"node": "Set Close Date To Original", "type": "main", "index": 0}], [{"node": "Set Close Date 3 Weeks Later", "type": "main", "index": 0}]]}, "On clicking 'execute'": {"main": [[{"node": "Set Close Date", "type": "main", "index": 0}]]}, "Set Close Date To Original": {"main": [[{"node": "NoOp", "type": "main", "index": 0}]]}, "Set Close Date 3 Weeks Later": {"main": [[{"node": "NoOp", "type": "main", "index": 0}]]}}}