```json
{
"nodes": [
{
"parameters": {
"jsonSchema": "{\n \"type\": \"object\",\n \"properties\": {\n \"Invoice date\": { \"type\": \"string\", \"format\": \"date\" },\n \"Invoice number\": { \"type\": \"string\" },\n \"Purchase order number\": { \"type\": \"string\" },\n \"Supplier name\": { \"type\": \"string\" },\n \"Supplier address\": {\n \"type\": \"object\",\n \"properties\": {\n \"address 1\": { \"type\": \"string\" },\n \"address 2\": { \"type\": \"string\" },\n \"city\": { \"type\": \"string\" },\n \"postcode\": { \"type\": \"string\" }\n },\n \"required\": [\"address 1\",\"address 2\",\"city\",\"postcode\"],\n \"additionalProperties\": false\n },\n \"Supplier VAT identification number\": { \"type\": \"string\" },\n \"Customer name\": { \"type\": \"string\" },\n \"Customer address\": {\n \"type\": \"object\",\n \"properties\": {\n \"address 1\": { \"type\": \"string\" },\n \"address 2\": { \"type\": \"string\" },\n \"city\": { \"type\": \"string\" },\n \"postcode\": { \"type\": \"string\" }\n },\n \"required\": [\"address 1\",\"address 2\",\"city\",\"postcode\"],\n \"additionalProperties\": false\n },\n \"Customer VAT identification number\": { \"type\": \"string\" },\n \"Shipping addresses\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"address 1\": { \"type\": \"string\" },\n \"address 2\": { \"type\": \"string\" },\n \"city\": { \"type\": \"string\" },\n \"postcode\": { \"type\": \"string\" }\n },\n \"required\": [\"address 1\",\"address 2\",\"city\",\"postcode\"],\n \"additionalProperties\": false\n }\n },\n \"Line items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"name\": { \"type\": \"string\" },\n \"description\": { \"type\": \"string\" },\n \"price\": { \"type\": \"number\" },\n \"discount\": { \"type\": \"number\" }\n },\n \"required\": [\"name\",\"description\",\"price\",\"discount\"],\n \"additionalProperties\": false\n }\n },\n \"Subtotal without VAT\": { \"type\": \"number\" },\n \"Subtotal with VAT\": { \"type\": \"number\" },\n \"Total price\": { \"type\": \"number\" }\n },\n \"required\": [\n \"Invoice date\",\n \"Invoice number\",\n \"Purchase order number\",\n \"Supplier name\",\n \"Supplier address\",\n \"Supplier VAT identification number\",\n \"Customer name\",\n \"Customer address\",\n \"Customer VAT identification number\",\n \"Shipping addresses\",\n \"Line items\",\n \"Subtotal without VAT\",\n \"Subtotal with VAT\",\n \"Total price\"\n ],\n \"additionalProperties\": false\n}",
"autoFix": true
},
"id": "c88c097c-e804-4d96-acf7-e177b71b1d5a",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
160,
352
],
"typeVersion": 1.1
},
{
"parameters": {
"method": "POST",
"url": "https://api.cloud.llamaindex.ai/api/parsing/upload",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
}
]
},
"sendBody": true,
"contentType": "multipart-form-data",
"bodyParameters": {
"parameters": [
{
"parameterType": "formBinaryData",
"name": "file",
"inputDataFieldName": "=attachment_0"
}
]
},
"options": {}
},
"id": "06d29ced-180b-4115-a1bb-333c7dbe22f2",
"name": "Upload to LlamaParse",
"type": "n8n-nodes-base.httpRequest",
"position": [
-752,
288
],
"typeVersion": 4.2,
"credentials": {
"httpHeaderAuth": {
"id": "tUJTJUqxqnEf65L5",
"name": "Header Auth account 2"
}
}
},
{
"parameters": {
"pollTimes": {
"item": [
{
"mode": "everyMinute"
}
]
},
"simple": false,
"filters": {
"q": "has:attachment",
"sender": " [email protected]"
},
"options": {
"downloadAttachments": true
}
},
"id": "00227687-2298-4182-bcf8-169217ef2d1b",
"name": "Receiving Invoices",
"type": "n8n-nodes-base.gmailTrigger",
"position": [
-1600,
272
],
"typeVersion": 1,
"credentials": {
"gmailOAuth2": {
"id": "ro3i0IRXwJzf3GDT",
"name": "Gmail account"
}
}
},
{
"parameters": {
"operation": "append",
"documentId": {
"__rl": true,
"value": "14cIWfdH0GLpBqUnfa7RChNptHQMfu8KcQAH5xX22wIY",
"mode": "list",
"cachedResultName": "N8N Test",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/14cIWfdH0GLpBqUnfa7RChNptHQMfu8KcQAH5xX22wIY/edit?usp=drivesdk"
},
"sheetName": {
"__rl": true,
"value": "gid=0",
"mode": "list",
"cachedResultName": "Sheet1",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/14cIWfdH0GLpBqUnfa7RChNptHQMfu8KcQAH5xX22wIY/edit#gid=0"
},
"columns": {
"mappingMode": "defineBelow",
"value": {
"Invoice date": "={{ $json[\"Invoice date\"] }}",
"invoice number": "={{ ($json[\"invoice number\"] ?? '').toString().replace(/^\\s*#+\\s*/, '') || null }}",
"Purchase order number": "={{ $json[\"Purchase order number\"] }}",
"Supplier name": "={{ $json[\"Supplier name\"] }}",
"Supplier address": "={{ $json[\"Shipping addresses\"] }}",
"Supplier VAT identification number": "={{ $json[\"Supplier VAT identification number\"] }}",
"Customer name": "={{ $json[\"Customer name\"] }}",
"Customer address": "={{ $json[\"Customer address\"] }}",
"Customer VAT identification number": "={{ $json[\"Customer VAT identification number\"] }}",
"Shipping addresses": "={{ $json[\"Shipping addresses\"] }}",
"Total price": "={{ $json[\"Total price\"] }}",
"Price with VAT": "={{ $json[\"Price with VAT\"] }}",
"Price without VAT": "={{ $json[\"Price without VAT\"] }}",
"Line items Description": "={{ $json[\"Line items\"] }}",
"Line items Name": "={{ $json._structured_line_items[0].name }}"
},
"matchingColumns": [],
"schema": [
{
"id": "Invoice date",
"displayName": "Invoice date",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "invoice number",
"displayName": "invoice number",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Purchase order number",
"displayName": "Purchase order number",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Supplier name",
"displayName": "Supplier name",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Supplier address",
"displayName": "Supplier address",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Supplier VAT identification number",
"displayName": "Supplier VAT identification number",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Customer name",
"displayName": "Customer name",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Customer address",
"displayName": "Customer address",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Customer VAT identification number",
"displayName": "Customer VAT identification number",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Shipping addresses",
"displayName": "Shipping addresses",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Line items Name",
"displayName": "Line items Name",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Line items Description",
"displayName": "Line items Description",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Price with VAT",
"displayName": "Price with VAT",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Price without VAT",
"displayName": "Price without VAT",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
},
{
"id": "Total price",
"displayName": "Total price",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true,
"removed": false
}
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {}
},
"id": "7553cd38-d585-43ef-a367-a444be81e6b0",
"name": "Append to Reconciliation Sheet",
"type": "n8n-nodes-base.googleSheets",
"position": [
752,
192
],
"typeVersion": 4.3,
"credentials": {
"googleSheetsOAuth2Api": {
"id": "8GgfaHX1qOHcB2ej",
"name": "Google Sheets account"
}
}
},
{
"parameters": {
"url": "=https://api.cloud.llamaindex.ai/api/parsing/job/{{ $json.id }}",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "accept",
"value": "application/json"
}
]
},
"options": {}
},
"id": "a5984fdb-bc5e-4779-a57e-945c2e94b64f",
"name": "Get Processing Status",
"type": "n8n-nodes-base.httpRequest",
"position": [
-576,
288
],
"typeVersion": 4.2,
"credentials": {
"httpHeaderAuth": {
"id": "tUJTJUqxqnEf65L5",
"name": "Header Auth account 2"
}
}
},
{
"parameters": {
"amount": 1
},
"id": "fca92837-6eb2-421f-940c-a502679fbd58",
"name": "Wait to stay within service limits",
"type": "n8n-nodes-base.wait",
"position": [
-256,
432
],
"webhookId": "17a96ed6-b5ff-47bb-a8a2-39c1eb40185a",
"typeVersion": 1.1
},
{
"parameters": {
"rules": {
"values": [
{
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "300fce8c-b19a-4d0c-86e8-f62853c70ce2",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "SUCCESS"
}
]
},
"renameOutput": true,
"outputKey": "SUCCESS"
},
{
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "e6058aa0-a3e2-4ce3-9bed-6ff41a5be052",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "ERROR"
}
]
},
"renameOutput": true,
"outputKey": "ERROR"
},
{
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "ceb6338f-4261-40ac-be11-91f61c7302ba",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "CANCELED"
}
]
},
"renameOutput": true,
"outputKey": "CANCELED"
},
{
"conditions": {
"options": {
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "0fa97d86-432a-409a-917e-5f1a002b1ab9",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.status }}",
"rightValue": "PENDING"
}
]
},
"renameOutput": true,
"outputKey": "PENDING"
}
]
},
"options": {
"allMatchingOutputs": true
}
},
"id": "7a33774b-bd2f-49d3-af32-88336feefcc9",
"name": "Is Job Ready?",
"type": "n8n-nodes-base.switch",
"position": [
-416,
288
],
"typeVersion": 3
},
{
"parameters": {
"operation": "addLabels",
"messageId": "={{ $('Receiving Invoices').item.json.id }}",
"labelIds": [
"Label_336096598232326161"
]
},
"id": "4bfc5625-94b3-4e28-8c59-fa56e528d0c8",
"name": "Add \"invoice synced\" Label",
"type": "n8n-nodes-base.gmail",
"position": [
1168,
272
],
"typeVersion": 2.1,
"webhookId": "573a8e4f-8b33-4f64-9dfe-ba28a87c1e60",
"credentials": {
"gmailOAuth2": {
"id": "ro3i0IRXwJzf3GDT",
"name": "Gmail account"
}
}
},
{
"parameters": {
"url": "=https://api.cloud.llamaindex.ai/api/parsing/job/{{ $json.id }}/result/markdown",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth",
"options": {
"redirect": {
"redirect": {}
}
}
},
"id": "21020c16-1c56-4bd6-b9d0-5de1791fd904",
"name": "Get Parsed Invoice Data",
"type": "n8n-nodes-base.httpRequest",
"position": [
-224,
160
],
"typeVersion": 4.2,
"credentials": {
"httpHeaderAuth": {
"id": "tUJTJUqxqnEf65L5",
"name": "Header Auth account 2"
}
}
},
{
"parameters": {
"mode": "raw",
"jsonOutput": "={{ $json.output }}",
"options": {}
},
"id": "08f27e7d-9ed9-484e-acec-a6ea438e12e7",
"name": "Map Output",
"type": "n8n-nodes-base.set",
"position": [
352,
192
],
"typeVersion": 3.3
},
{
"parameters": {
"promptType": "define",
"text": "=INVOICE TO PARSE\n<invoice>\n{{ $json.markdown }}\n</invoice>",
"hasOutputParser": true,
"messages": {
"messageValues": [
{
"message": "=You are a strict information extractor.\n\nOUTPUT CONTRACT\n- Return ONLY a SINGLE JSON OBJECT (not an array).\n- It MUST validate against the connected Structured Output Parser schema.\n- No prose, no explanations, no code fences—JSON object only.\n\nGLOBAL RULES\n- If a field is missing: use \"\" for strings, [] for arrays, and 0 for numbers.\n- Do not invent or infer values that aren’t present.\n- Dates must be ISO 8601: YYYY-MM-DD.\n- Preserve casing for IDs, postcodes, numbers; follow the invoice for names/addresses.\n\nADDRESS MAPPING\n- Split addresses into: \"address 1\", \"address 2\", \"city\", \"postcode\".\n- Use the first two non-empty lines for \"address 1\" and \"address 2\".\n- Put the town/city into \"city\".\n- Put the postal code into \"postcode\" (strip trailing punctuation).\n- If a state/region/county appears (e.g., \"LO\", \"Berks\"), prefer it in \"address 2\".\n\nLINE ITEMS\n- \"name\" = the shortest clear title of the row (e.g., \"Name Badges\"). Do not copy the whole cell.\n- \"description\" = the longer explanatory text; you may merge related lines from adjacent rows when they are clearly continuations.\n- \"price\" = the line total (amount column), not unit price.\n- \"discount\" = 0 if no discount is shown.\n\nTOTALS\n- \"Subtotal without VAT\" = sum of line totals before VAT (or the invoice’s NET subtotal if explicitly shown).\n- \"Subtotal with VAT\" = \"Subtotal without VAT\" + VAT total (if shown).\n- \"Total price\" = the document grand total if present; otherwise use \"Subtotal with VAT\".\n\nEXAMPLE FOR LINE ITEMS\nInput lines:\n| DESCRIPTION | QTY | RATE | AMOUNT | VAT |\n| General services:Badges:Name Badges | 500 | 3.00 | 1,500.00 | 20.0% |\n| Name Badges -- generic | | | | S |\n\nDesired line item:\n{\n \"name\": \"Name Badges\",\n \"description\": \"General services: Badges: Name Badges; Name Badges -- generic\",\n \"price\": 1500,\n \"discount\": 0\n}"
}
]
}
},
"id": "92c2d86c-7dbd-4c79-94ec-e76b616491e0",
"name": "Apply Data Extraction Rules",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
48,
192
],
"typeVersion": 1.4
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict",
"version": 1
},
"conditions": [
{
"id": "e5649a2b-6e12-4cc4-8001-4639cc9cc2c2",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $input.item.binary.attachment_0.mimeType }}",
"rightValue": "application/pdf"
},
{
"id": "4c57ab9b-b11c-455a-a63d-daf48418b06e",
"operator": {
"type": "array",
"operation": "notContains",
"rightType": "any"
},
"leftValue": "={{ $json.labels }}",
"rightValue": "invoice synced"
}
],
"combinator": "and"
},
"options": {}
},
"id": "c23bb1f3-fb31-4e02-9eaf-ed6282976aee",
"name": "Should Process Email?",
"type": "n8n-nodes-base.if",
"position": [
-1040,
272
],
"typeVersion": 2
},
{
"parameters": {
"fieldToSplitOut": "labelIds",
"options": {}
},
"id": "4d523403-6ad8-439c-bd58-276b1857e679",
"name": "Split Out Labels",
"type": "n8n-nodes-base.splitOut",
"position": [
-1392,
272
],
"typeVersion": 1
},
{
"parameters": {
"resource": "label",
"operation": "get",
"labelId": "={{ $json.labelIds }}"
},
"id": "cf88fcb0-90ce-4b8c-b61c-b060d6b1b021",
"name": "Get Labels Names",
"type": "n8n-nodes-base.gmail",
"position": [
-1392,
416
],
"typeVersion": 2.1,
"webhookId": "6ae54f28-e020-4f17-b3ff-b71e5e0eb65c",
"credentials": {
"gmailOAuth2": {
"id": "ro3i0IRXwJzf3GDT",
"name": "Gmail account"
}
}
},
{
"parameters": {
"fieldsToAggregate": {
"fieldToAggregate": [
{
"fieldToAggregate": "name",
"renameField": true,
"outputFieldName": "labels"
}
]
},
"options": {}
},
"id": "9451d0de-abb5-490c-a6bf-fb32db058df6",
"name": "Combine Label Names",
"type": "n8n-nodes-base.aggregate",
"position": [
-1392,
560
],
"typeVersion": 1
},
{
"parameters": {
"mode": "combine",
"combinationMode": "multiplex",
"options": {}
},
"id": "d6a96028-90e1-433c-a17b-668433e983cd",
"name": "Email with Label Names",
"type": "n8n-nodes-base.merge",
"position": [
-1216,
272
],
"typeVersion": 2.1
},
{
"parameters": {
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n🚨**Required**\n* Set Your Google Sheet URL here\n* Set the Name of your Sheet\n\n\n**Don't use GSheets?**\nSwap this for Excel, Airtable or a Database!",
"height": 397.0641952938746,
"width": 258.29345180972877
},
"id": "474b13ad-02df-4348-9945-397eba3193c3",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
672,
160
],
"typeVersion": 1
},
{
"parameters": {
"content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n🚨**Required**\n* Change the email filters here!",
"height": 274.6295678979021,
"width": 174.50671517518518
},
"id": "26c04d46-28ea-4be9-898f-9bfb875fd535",
"name": "Sticky Note8",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1632,
256
],
"typeVersion": 1
},
{
"parameters": {
"model": {
"__rl": true,
"value": "chatgpt-4o-latest",
"mode": "list",
"cachedResultName": "chatgpt-4o-latest"
},
"options": {
"responseFormat": "json_object",
"temperature": 0,
"topP": 1
}
},
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"typeVersion": 1.2,
"position": [
48,
400
],
"id": "477e9a45-0243-42ee-9ff9-fcf5161cbf84",
"name": "OpenAI Chat Model",
"credentials": {
"openAiApi": {
"id": "CncvDJ9wuNXul1oG",
"name": "OpenAi account"
}
}
},
{
"parameters": {
"model": {
"__rl": true,
"value": "chatgpt-4o-latest",
"mode": "list",
"cachedResultName": "chatgpt-4o-latest"
},
"options": {
"temperature": 0,
"topP": 1
}
},
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"typeVersion": 1.2,
"position": [
160,
528
],
"id": "4b5fb92b-5d74-4396-925b-9dc8399b736b",
"name": "OpenAI Chat Model1",
"credentials": {
"openAiApi": {
"id": "CncvDJ9wuNXul1oG",
"name": "OpenAi account"
}
}
}
],
"connections": {
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Apply Data Extraction Rules",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Upload to LlamaParse": {
"main": [
[
{
"node": "Get Processing Status",
"type": "main",
"index": 0
}
]
]
},
"Receiving Invoices": {
"main": [
[
{
"node": "Split Out Labels",
"type": "main",
"index": 0
},
{
"node": "Email with Label Names",
"type": "main",
"index": 0
}
]
]
},
"Append to Reconciliation Sheet": {
"main": [
[
{
"node": "Add \"invoice synced\" Label",
"type": "main",
"index": 0
}
]
]
},
"Get Processing Status": {
"main": [
[
{
"node": "Is Job Ready?",
"type": "main",
"index": 0
}
]
]
},
"Wait to stay within service limits": {
"main": [
[
{
"node": "Get Processing Status",
"type": "main",
"index": 0
}
]
]
},
"Is Job Ready?": {
"main": [
[
{
"node": "Get Parsed Invoice Data",
"type": "main",
"index": 0
}
],
[],
[],
[
{
"node": "Wait to stay within service limits",
"type": "main",
"index": 0
}
]
]
},
"Get Parsed Invoice Data": {
"main": [
[
{
"node": "Apply Data Extraction Rules",
"type": "main",
"index": 0
}
]
]
},
"Map Output": {
"main": [
[
{
"node": "Append to Reconciliation Sheet",
"type": "main",
"index": 0
}
]
]
},
"Apply Data Extraction Rules": {
"main": [
[
{
"node": "Map Output",
"type": "main",
"index": 0
}
]
]
},
"Should Process Email?": {
"main": [
[
{
"node": "Upload to LlamaParse",
"type": "main",
"index": 0
}
]
]
},
"Split Out Labels": {
"main": [
[
{
"node": "Get Labels Names",
"type": "main",
"index": 0
}
]
]
},
"Get Labels Names": {
"main": [
[
{
"node": "Combine Label Names",
"type": "main",
"index": 0
}
]
]
},
"Combine Label Names": {
"main": [
[
{
"node": "Email with Label Names",
"type": "main",
"index": 1
}
]
]
},
"Email with Label Names": {
"main": [
[
{
"node": "Should Process Email?",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Apply Data Extraction Rules",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"OpenAI Chat Model1": {
"ai_languageModel": [
[
{
"node": "Structured Output Parser",
"type": "ai_languageModel",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateCredsSetupCompleted": true,
"instanceId": "27ffea455fd6438ca9c70f7a14250d75f584b8ec341c04d334cc7237b9299652"
}
}