{
  "name": "Generate PDF invoices from Google Sheets with PDF.co",
  "nodes": [
    {
      "id": "ab1b7d2d-7eac-45eb-9e0a-36f14c56df14",
      "name": "When clicking ‘Execute workflow’",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -560,
        384
      ]
    },
    {
      "id": "c8e4edfe-cdb8-49ce-a2f8-fc1b96fb72ac",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1088,
        -416
      ],
      "parameters": {
        "width": 400,
        "height": 1056,
        "content": "\n## ⚙️ Setup Instructions\n\n### 1️⃣ Connect Google Sheets\n1. Copy this [Invoice Template Sheet](https://docs.google.com/spreadsheets/d/1a6QBIQkr7RsZtUZBi87NwhwgTbnr5hQl4J_ZOkr3F1U/edit?usp=drivesdk) in"
      }
    },
    {
      "id": "13bf89d7-6c1d-4859-b1f2-78eb49ea3d80",
      "name": "Sticky Note51",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        -416
      ],
      "parameters": {
        "width": 1376,
        "height": 1056,
        "content": "# 📋 Generate PDF Invoices from Google Sheets with PDF.co\n\nThis workflow automatically **pulls invoice rows from Google Sheets** and generates a **PDF invoice** using a PDF.co template.  \nPerfect for s"
      }
    },
    {
      "id": "34da303a-56f4-46c8-867b-f4d8e26ccbc3",
      "name": "Get Invoice Rows",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -320,
        384
      ]
    },
    {
      "id": "c824838a-3512-44c9-bc8d-06b5ceae13ab",
      "name": "Convert to html import",
      "type": "n8n-nodes-base.code",
      "position": [
        0,
        -16
      ]
    },
    {
      "id": "bf3fef3e-7dea-4444-8892-8ad2f64f0a55",
      "name": "Create  PDF",
      "type": "n8n-nodes-pdfco.PDFco Api",
      "position": [
        352,
        256
      ]
    },
    {
      "id": "14ce82c1-8abd-420a-bb8b-27d10fd7131d",
      "name": "Sticky Note57",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -384,
        64
      ],
      "parameters": {
        "width": 224,
        "height": 464,
        "content": "### 2️⃣ Connect PDF.co\n1. Create a free account at [PDF.co](https://pdf.co/)  \n2. Copy your **API Key** from the dashboard  \n3. In **n8n → Credentials → New → PDF.co API**  \n   - Paste your API Key → "
      }
    },
    {
      "id": "e2a7370a-34f2-488e-84e8-94ae7fb4663a",
      "name": "Sticky Note58",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        256,
        -256
      ],
      "parameters": {
        "width": 288,
        "height": 624,
        "content": "### 2️⃣ Connect PDF.co\n1. Create a free account at [PDF.co](https://pdf.co/)  \n2. Copy your **API Key** from the dashboard  \n3. In **n8n → Credentials → New → PDF.co API**  \n   - Paste your API Key → "
      }
    }
  ],
  "connections": {
    "Get Invoice Rows": {
      "main": [
        [
          {
            "node": "Convert to html import",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Convert to html import": {
      "main": [
        [
          {
            "node": "Create  PDF",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Execute workflow’": {
      "main": [
        [
          {
            "node": "Get Invoice Rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}