{
    "name": "PDF Invoice Generator",
    "nodes": [
        {
            "parameters": {},
            "name": "Start",
            "type": "n8n-nodes-base.start",
            "typeVersion": 1,
            "position": [
                250,
                300
            ]
        },
        {
            "parameters": {
                "url": "https://api.pdfmyhtml.com/v1/html-to-pdf",
                "method": "POST",
                "authentication": "genericCredentialType",
                "genericAuthType": "headerAuth",
                "sendBinaryData": true,
                "binaryPropertyName": "data",
                "options": {}
            },
            "name": "Generate PDF",
            "type": "n8n-nodes-base.httpRequest",
            "typeVersion": 3,
            "position": [
                450,
                300
            ],
            "credentials": {
                "httpHeaderAuth": {
                    "id": "YOUR_CREDENTIAL_ID",
                    "name": "pdfmyhtml API Key"
                }
            }
        }
    ],
    "connections": {
        "Start": {
            "main": [
                [
                    {
                        "node": "Generate PDF",
                        "type": "main",
                        "index": 0
                    }
                ]
            ]
        }
    }
}