{
  "name": "Invoice Chaser — Week 3: Escalate on Day 14 (Genesis Web Digital)",
  "nodes": [
    {
      "parameters": {
        "content": "## Invoice Chaser — Week 3 template\n\n**Free template from Genesis Web Digital** · genesisweb.org\n\nWeek 3 adds the escalation. If an invoice is still unpaid on **day 14**, a second, firmer reminder goes out automatically and the tracking sheet flips that row's status to **Second Notice** — so you never have to remember which reminder a client is on.\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 nodes 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. Add a `Status` column to that tab — Week 3 writes to it.\n4. Open **Send Payment Reminder** and **Send Second Notice**, connect your SMTP / email credential, and set the From address on both.\n5. Open **Mark Second Notice** and point it at the same tracking tab. It matches on `Invoice Number`.\n6. Toggle the workflow **Active**.\n\nEach week of the series adds to the build — follow along on LinkedIn, Instagram, TikTok, or Facebook.",
        "height": 600,
        "width": 420
      },
      "id": "sticky-readme",
      "name": "READ ME — setup in 6 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-week3-wait-7"
    },
    {
      "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": {
        "unit": "days",
        "amount": 7
      },
      "id": "wait-7-more-days",
      "name": "Wait 7 More Days",
      "type": "n8n-nodes-base.wait",
      "typeVersion": 1.1,
      "position": [
        1120,
        60
      ],
      "webhookId": "invoice-chaser-week3-wait-14"
    },
    {
      "parameters": {
        "fromEmail": "you@yourbusiness.com",
        "toEmail": "={{ $('New Invoice Added').item.json['Client Email'] }}",
        "subject": "=Second notice — invoice {{ $('New Invoice Added').item.json['Invoice Number'] }} is now 14 days past due",
        "text": "=Hi {{ $('New Invoice Added').item.json['Client Name'] }},\n\nFollowing up on invoice {{ $('New Invoice Added').item.json['Invoice Number'] }} for {{ $('New Invoice Added').item.json['Amount'] }}, which was due on {{ $('New Invoice Added').item.json['Due Date'] }}. This is the second reminder — the invoice is now 14 days past due and still showing as unpaid.\n\nPlease arrange payment this week, or reply to this email and let me know when I can expect it. If there's an issue with the invoice, tell me and I'll get it sorted right away.\n\nThanks,\n{{ $('New Invoice Added').item.json['Your Name'] || 'Your Name' }}",
        "options": {}
      },
      "id": "send-second-notice",
      "name": "Send Second Notice",
      "type": "n8n-nodes-base.emailSend",
      "typeVersion": 2.1,
      "position": [
        1340,
        60
      ]
    },
    {
      "parameters": {
        "operation": "update",
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": ""
        },
        "columns": {
          "mappingMode": "defineBelow",
          "value": {
            "Invoice Number": "={{ $('New Invoice Added').item.json['Invoice Number'] }}",
            "Status": "Second Notice"
          },
          "matchingColumns": [
            "Invoice Number"
          ],
          "schema": []
        },
        "options": {}
      },
      "id": "mark-second-notice",
      "name": "Mark Second Notice",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 4.5,
      "position": [
        1560,
        60
      ]
    },
    {
      "parameters": {
        "content": "**Why the log comes first**\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 escalates on top of this log.",
        "height": 190,
        "width": 280
      },
      "id": "sticky-log",
      "name": "Why the log comes first",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        400,
        240
      ]
    },
    {
      "parameters": {
        "content": "**Two touches, then it stops nagging you**\n\nDay 7 = polite nudge. Day 14 = firmer second notice, same invoice. The sheet flips to `Second Notice` so a human glancing at the tab knows exactly where every invoice stands.\n\nWeek 4 teaches it to notice when an invoice actually gets **paid**, so the chain stops on its own.",
        "height": 250,
        "width": 320
      },
      "id": "sticky-escalate",
      "name": "The day-14 escalation",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        1180,
        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
          }
        ]
      ]
    },
    "Send Payment Reminder": {
      "main": [
        [
          {
            "node": "Wait 7 More Days",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 7 More Days": {
      "main": [
        [
          {
            "node": "Send Second Notice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Second Notice": {
      "main": [
        [
          {
            "node": "Mark Second Notice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "pinData": {},
  "meta": {
    "templateCredsSetupCompleted": false
  },
  "tags": []
}