AutomationFlowsFinance › Automated Invoice Workflow with Smart Reminders Using Gpt-4, Stripe, and…

Automated Invoice Workflow with Smart Reminders Using Gpt-4, Stripe, and…

Original n8n title: Automated Invoice Workflow with Smart Reminders Using Gpt-4, Stripe, and Google Workspace

ByMarth - Business Automation @marth on n8n.io

This workflow is a sophisticated, end-to-end solution that automates the entire billing lifecycle, from invoice creation to intelligent payment reminders and status tracking. It's designed to give you complete control over your cash flow without the manual effort. Smart Invoice…

Event trigger★★★★☆ complexityAI-powered16 nodesGoogle Sheets TriggerGoogle DocsOpenAIGmailHTTP RequestSlackGoogle Sheets
Finance Trigger: Event Nodes: 16 Complexity: ★★★★☆ AI nodes: yes Added:

This workflow corresponds to n8n.io template #6515 — we link there as the canonical source.

This workflow follows the Gmail → Google Docs recipe pattern — see all workflows that pair these two integrations.

The workflow JSON

Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →

Download .json
{
  "id": "6eON4lzsjqC1Z068",
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "name": "Automated Smart Cash Flow & Billing Management System with GPT-4 & Stripe Invoice",
  "tags": [],
  "nodes": [
    {
      "id": "df5f56b9-4635-4e37-8a7d-817f3df75d9c",
      "name": "Google Sheets Trigger",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        0,
        -48
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "848e065e-eae8-421d-bbd9-e1a9b1eef0cd",
      "name": "Create Invoice from Template",
      "type": "n8n-nodes-base.googleDocs",
      "position": [
        608,
        -48
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "e1a76867-2490-407c-8a99-f6ae5900bbd2",
      "name": "AI Invoice Content Generation",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        224,
        -48
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "dffb2fa4-b443-4efa-aabd-33c607d44430",
      "name": "Send Invoice",
      "type": "n8n-nodes-base.gmail",
      "position": [
        816,
        -48
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "a7ed9045-3db3-4552-9242-3e84d0f6cc62",
      "name": "Until 3 Days Before Due Date",
      "type": "n8n-nodes-base.wait",
      "position": [
        1040,
        -48
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "fecc0ec5-443c-4cb6-8751-c8259f3c11dd",
      "name": "Check Payment Status",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1264,
        -48
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "ebcdecb9-2e66-4677-924e-ebef5fae8633",
      "name": "Is Paid?",
      "type": "n8n-nodes-base.if",
      "position": [
        1488,
        -48
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "f0023881-38c4-4341-89cf-3fcc8a2b52e0",
      "name": "Pre-Due Reminder",
      "type": "n8n-nodes-base.gmail",
      "position": [
        1712,
        -48
      ],
      "parameters": {},
      "typeVersion": 2.1
    },
    {
      "id": "3ca8c97d-2170-4e00-9f13-4703f93deec2",
      "name": "Until 2 Days After Due Date",
      "type": "n8n-nodes-base.wait",
      "position": [
        1936,
        -48
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "4b743a9e-91b8-4cc1-b9b3-a13a7c851d78",
      "name": "Overdue Alert",
      "type": "n8n-nodes-base.slack",
      "position": [
        2160,
        -48
      ],
      "parameters": {},
      "typeVersion": 2.3
    },
    {
      "id": "171efded-664a-4a15-a776-c034b6784c4b",
      "name": "Update Status",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1728,
        240
      ],
      "parameters": {},
      "typeVersion": 4.6
    },
    {
      "id": "8c7cc594-8735-48e5-9fff-dfd3791124a6",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        -112
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "f3058313-e6d3-4833-ab1f-e9eba9ed5c02",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        192,
        -112
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "121ba2c1-c7d4-4c7f-b193-81013c2dbd91",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1008,
        -112
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5344a5b1-ebed-4d48-baa2-c6cbf992df67",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1648,
        160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c62bcaa6-9bea-44da-a257-22153a37ce19",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -64,
        160
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "4c6ef985-4fb3-4f8a-b537-44570b2ca70e",
  "connections": {
    "Is Paid?": {
      "main": [
        [
          {
            "node": "Pre-Due Reminder",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Update Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Invoice": {
      "main": [
        [
          {
            "node": "Until 3 Days Before Due Date",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Pre-Due Reminder": {
      "main": [
        [
          {
            "node": "Until 2 Days After Due Date",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Payment Status": {
      "main": [
        [
          {
            "node": "Is Paid?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "AI Invoice Content Generation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Until 2 Days After Due Date": {
      "main": [
        [
          {
            "node": "Overdue Alert",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Invoice from Template": {
      "main": [
        [
          {
            "node": "Send Invoice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Until 3 Days Before Due Date": {
      "main": [
        [
          {
            "node": "Check Payment Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Invoice Content Generation": {
      "main": [
        [
          {
            "node": "Create Invoice from Template",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Pro

For the full experience including quality scoring and batch install features for each workflow upgrade to Pro

About this workflow

This workflow is a sophisticated, end-to-end solution that automates the entire billing lifecycle, from invoice creation to intelligent payment reminders and status tracking. It's designed to give you complete control over your cash flow without the manual effort. Smart Invoice…

Source: https://n8n.io/workflows/6515/ — original creator credit. Request a take-down →

More Finance workflows → · Browse all categories →

Related workflows

Workflows that share integrations, category, or trigger type with this one. All free to copy and import.

Finance

How It Works Trigger: Watches for new emails in Gmail with PDF/image attachments. OCR: Sends the attachment to OCR.space API (https://ocr.space/OCRAPI) to extract invoice text. Parsing: Extracts key f

Gmail Trigger, Google Sheets, Slack +3
Finance

Automatically processes vendor invoices received by email, creates QuickBooks bills with full details, and attaches the original PDF. Small/medium businesses using QuickBooks Online Bookkeepers proces

Gmail Trigger, Information Extractor, OpenAI Chat +3
Finance

Automatically generate an Invoice PDF from Google Sheets data with DocuPotion. Uses googleSheetsTrigger, googleSheets, n8n-nodes-docupotion, googleDrive. Event-driven trigger; 12 nodes.

Google Sheets Trigger, Google Sheets, N8N Nodes Docupotion +1
Finance

This workflow automatically generates and delivers professional invoice PDFs whenever a Stripe checkout session completes. It fetches the line items from Stripe, formats them into a clean invoice with

Stripe Trigger, HTTP Request, N8N Nodes Templatefox +2
Finance

Invoice PDF to Sheets. Uses googleDriveTrigger, googleDrive, httpRequest, googleSheets. Event-driven trigger; 10 nodes.

Google Drive Trigger, Google Drive, HTTP Request +1