{ "id": "nkMjcOC4hpte1a0t", "meta": { "instanceId": "3986dc65ca3ddc4ee46e71fc194b0a9d4ef46d960a5e71624f9f7eaa198213cb", "templateCredsSetupCompleted": true }, "name": "Extract spend details (template)", "tags": [ { "id": "9mCuuNEpnYNvVzb8", "name": "Finance", "createdAt": "2024-09-15T07:22:30.749Z", "updatedAt": "2024-09-15T07:22:30.749Z" } ], "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 }, { "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 }, { "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": "E223706995" }, "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": "E223706995" }, "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