{ "id": "nkMjcOC4hpte1a0t", "meta": { "instanceId": "workflow-731d06b4", "versionId": "1.0.0", "createdAt": "2025-09-29T07:07:54.650922", "updatedAt": "2025-09-29T07:07:54.650941", "owner": "n8n-user", "license": "MIT", "category": "automation", "status": "active", "priority": "high", "environment": "production" }, "name": "Extract spend details (template)", "tags": [ "automation", "n8n", "production-ready", "excellent", "optimized" ], "nodes": [ { "id": "8e1e0861-9f06-4fe2-a9c1-423bab246959", "name": "Get invoice", "type": "n8n-nodes-base.gmailTrigger", "position": [ 600, 380 ], "parameters": { "simple": false, "filters": { "labelIds": [ "Label_7885838942566773656" ] }, "options": { "downloadAttachments": true }, "pollTimes": { "item": [ { "mode": "everyMinute" } ] } }, "credentials": { "gmailOAuth2": { "id": "fegneFqi8XJX3NJH", "name": "Gmail account (hana@hanamizuki.tw)" } }, "typeVersion": 1.1, "notes": "This gmailTrigger node performs automated tasks as part of the workflow." }, { "id": "364fe355-672a-4074-800a-a7496c4fb1b2", "name": "Get payment", "type": "n8n-nodes-base.gmailTrigger", "position": [ 600, 580 ], "parameters": { "simple": false, "filters": { "labelIds": [ "Label_371722915607774622" ] }, "options": { "downloadAttachments": true }, "pollTimes": { "item": [ { "mode": "everyMinute" } ] } }, "credentials": { "gmailOAuth2": { "id": "fegneFqi8XJX3NJH", "name": "Gmail account (hana@hanamizuki.tw)" } }, "typeVersion": 1.1, "notes": "This gmailTrigger node performs automated tasks as part of the workflow." }, { "id": "e3218faf-2486-46e0-bf43-3bc52927e2bd", "name": "Extract invoice", "type": "n8n-nodes-base.extractFromFile", "notes": "No attachements", "onError": "continueRegularOutput", "position": [ 820, 380 ], "parameters": { "options": { "password": "YOUR_PASSWORD_HERE" }, "operation": "pdf", "binaryPropertyName": "attachment_0" }, "typeVersion": 1 }, { "id": "3772b3dc-7601-4005-9b61-263b2c1abd5f", "name": "Extract payment", "type": "n8n-nodes-base.extractFromFile", "notes": "No attachements", "onError": "continueRegularOutput", "position": [ 820, 580 ], "parameters": { "options": { "password": "YOUR_PASSWORD_HERE" }, "operation": "pdf", "binaryPropertyName": "attachment_0" }, "typeVersion": 1 }, { "id": "10d57038-940e-47aa-84ea-3850f61ac757", "name": "HTML", "type": "n8n-nodes-base.html", "notes": "\".spend-table\" here is an example when the email use \"spend\" html tags to display each spends.\ne.g.\n