{
  "name": "HVACAutomate — Invoice Follow-Up Nudge (Day 3 + Day 7)",
  "flow": [
    {
      "id": 1,
      "module": "gateway:CustomWebHook",
      "version": 1,
      "parameters": { "hook": 1, "maxResults": 1 },
      "mapper": {},
      "metadata": {
        "designer": { "x": 0, "y": 0 },
        "notes": "Trigger when invoice is sent from your billing tool (QuickBooks, ServiceTitan, Jobber). Send: customer_name, customer_email, invoice_number, invoice_amount, payment_link"
      }
    },
    {
      "id": 2,
      "module": "builtin:BasicFeeder",
      "version": 1,
      "parameters": { "delay": 259200 },
      "mapper": {},
      "metadata": { "designer": { "x": 300, "y": 0 }, "notes": "3-day delay (259200 seconds)" }
    },
    {
      "id": 3,
      "module": "gmail:ActionSendEmail",
      "version": 1,
      "parameters": { "account": 1 },
      "mapper": {
        "to": "{{1.customer_email}}",
        "subject": "Invoice #{{1.invoice_number}} — Quick reminder",
        "bodyType": "html",
        "body": "<p>Hi {{1.customer_name}},</p><p>Just a quick heads-up that invoice #{{1.invoice_number}} for ${{1.invoice_amount}} is due. You can pay online here: <a href='{{1.payment_link}}'>Pay Now</a> or call us at YOUR_PHONE.</p><p>Thanks!</p><p>YOUR_NAME<br/>YOUR_COMPANY</p>"
      },
      "metadata": { "designer": { "x": 600, "y": 0 } }
    },
    {
      "id": 4,
      "module": "builtin:BasicFeeder",
      "version": 1,
      "parameters": { "delay": 345600 },
      "mapper": {},
      "metadata": { "designer": { "x": 900, "y": 0 }, "notes": "4 more days (total 7 days)" }
    },
    {
      "id": 5,
      "module": "gmail:ActionSendEmail",
      "version": 1,
      "parameters": { "account": 1 },
      "mapper": {
        "to": "{{1.customer_email}}",
        "subject": "Invoice #{{1.invoice_number}} — 7 days past due",
        "bodyType": "html",
        "body": "<p>Hi {{1.customer_name}},</p><p>Following up on invoice #{{1.invoice_number}} for ${{1.invoice_amount}} from YOUR_COMPANY — it's now 7 days past due. Please arrange payment at your earliest convenience: <a href='{{1.payment_link}}'>Pay Now</a> or call YOUR_PHONE.</p><p>Thank you,<br/>YOUR_NAME<br/>YOUR_COMPANY</p>"
      },
      "metadata": { "designer": { "x": 1200, "y": 0 } }
    }
  ],
  "metadata": {
    "version": 1,
    "scenario": {
      "roundtrips": 1,
      "maxErrors": 3,
      "autoCommit": true,
      "autoCommitTriggerLast": true,
      "sequential": true,
      "confidential": false,
      "dataloss": false,
      "dlq": false,
      "freshVariables": false
    },
    "designer": { "orphans": [] },
    "zone": "us1.make.com"
  }
}
