{
  "name": "Invoice Chaser — Week 2: Log Every Invoice (Genesis Web Digital)",
  "nodes": [
    {
      "parameters": {
        "content": "## Invoice Chaser — Week 2 template\n\n**Free template from Genesis Web Digital** · genesisweb.org\n\nWeek 2 adds the invoice log: every new invoice is appended to a tracking sheet **before** the 7-day wait, so nothing slips through unrecorded.\n\n### Setup (once)\n1. Open **New Invoice Added** and connect your Google account, then pick your invoice spreadsheet + sheet tab.\n2. Your sheet needs these columns (rename in the email node if yours differ): `Invoice Number`, `Client Name`, `Client Email`, `Amount`, `Due Date`.\n3. Open **Log the Invoice** and pick the spreadsheet + a tracking tab (e.g. `Invoice Log`). Auto-mapping copies the invoice columns across.\n4. Open **Send Payment Reminder** and connect your SMTP / email credential, and set the From address.\n5. Toggle the workflow **Active**.\n\nEach week of the series adds one node — follow along on LinkedIn, Instagram, TikTok, or Facebook.",
        "height": 520,
        "width": 420
      },
      "id": "sticky-readme",
      "name": "READ ME — setup in 5 steps",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [-240, -180]
    },
    {
      "parameters": {
        "pollTimes": {
          "item": [
            {
              "mode": "everyHour"
            }
          ]
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "event": "rowAdded",
        "options": {}
      },
      "id": "invoice-trigger",
      "name": "New Invoice Added",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "typeVersion": 1,
      "position": [240, 60]
    },
    {
      "parameters": {
        "operation": "append",
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "columns": {
          "mappingMode": "autoMapInputData",
          "value": {},
          "matchingColumns": [],
          "schema": []
        },
        "options": {}
      },
      "id": "log-invoice",
      "name": "Log the Invoice",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [460, 60]
    },
    {
      "parameters": {
        "unit": "days",
        "amount": 7
      },
      "id": "wait-7-days",
      "name": "Wait 7 Days",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [680, 60],
      "webhookId": "invoice-chaser-week2-wait"
    },
    {
      "parameters": {
        "fromEmail": "you@yourbusiness.com",
        "toEmail": "={{ $('New Invoice Added').item.json['Client Email'] }}",
        "subject": "=Friendly reminder — invoice {{ $('New Invoice Added').item.json['Invoice Number'] }}",
        "text": "=Hi {{ $('New Invoice Added').item.json['Client Name'] }},\n\nJust a quick, friendly note — invoice {{ $('New Invoice Added').item.json['Invoice Number'] }} for {{ $('New Invoice Added').item.json['Amount'] }} was sent a week ago and is still showing as open on our end.\n\nIf you've already sent payment, thank you — feel free to ignore this. If not, no rush at all; the payment details are on the invoice, and I'm happy to resend it if that's easier.\n\nThanks so much,\n{{ $('New Invoice Added').item.json['Your Name'] || 'Your Name' }}",
        "options": {}
      },
      "id": "send-reminder",
      "name": "Send Payment Reminder",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2.1,
      "position": [900, 60]
    },
    {
      "parameters": {
        "content": "**Why log before waiting?**\n\nThe log row is written the moment the invoice lands — not 7 days later. If anything downstream ever fails, your tracking sheet still has the record. Week 3 builds on this log to escalate reminders.",
        "height": 180,
        "width": 280
      },
      "id": "sticky-log",
      "name": "Why the log comes first",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [400, 240]
    }
  ],
  "connections": {
    "New Invoice Added": {
      "main": [
        [
          {
            "node": "Log the Invoice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Log the Invoice": {
      "main": [
        [
          {
            "node": "Wait 7 Days",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 7 Days": {
      "main": [
        [
          {
            "node": "Send Payment Reminder",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}
