{
  "openruna_format": "flow-graph-v1",
  "title": "0820_Wait_Code_Send_Webhook",
  "slug": "0820-wait-code-send-webhook",
  "source_filename": "0820_Wait_Code_Send_Webhook.json",
  "nodes": [
    {
      "id": "Split Attachments",
      "name": "Split Attachments",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Download Attachments",
      "name": "Download Attachments",
      "integration": "microsoftOutlook",
      "kind": "action"
    },
    {
      "id": "Parse Output",
      "name": "Parse Output",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "For Each Message",
      "name": "For Each Message",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Message Ref",
      "name": "Message Ref",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Message Classifier",
      "name": "Message Classifier",
      "integration": "@n8n/n8n-nodes-langchain.textClassifier",
      "kind": "action"
    },
    {
      "id": "Extract from File",
      "name": "Extract from File",
      "integration": "extractFromFile",
      "kind": "action"
    },
    {
      "id": "Markdown",
      "name": "Markdown",
      "integration": "markdown",
      "kind": "action"
    },
    {
      "id": "Empty Response",
      "name": "Empty Response",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Wait",
      "name": "Wait",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Filter Invoices",
      "name": "Filter Invoices",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "Has Invoice?",
      "name": "Has Invoice?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Schedule Trigger",
      "name": "Schedule Trigger",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Get Recent Messages",
      "name": "Get Recent Messages",
      "integration": "microsoftOutlook",
      "kind": "action"
    },
    {
      "id": "Model",
      "name": "Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Microsoft Excel 365",
      "name": "Microsoft Excel 365",
      "integration": "microsoftExcel",
      "kind": "action"
    },
    {
      "id": "Invoice Classifier With Gemini 2.0",
      "name": "Invoice Classifier With Gemini 2.0",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "File-Based OCR with Gemini 2.0",
      "name": "File-Based OCR with Gemini 2.0",
      "integration": "httpRequest",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Wait",
      "to": "For Each Message"
    },
    {
      "from": "Markdown",
      "to": "Message Classifier"
    },
    {
      "from": "Message Ref",
      "to": "Download Attachments"
    },
    {
      "from": "Has Invoice?",
      "to": "File-Based OCR with Gemini 2.0"
    },
    {
      "from": "Has Invoice?",
      "to": "Empty Response"
    },
    {
      "from": "Parse Output",
      "to": "Wait"
    },
    {
      "from": "Empty Response",
      "to": "Wait"
    },
    {
      "from": "Filter Invoices",
      "to": "Has Invoice?"
    },
    {
      "from": "For Each Message",
      "to": "Microsoft Excel 365"
    },
    {
      "from": "For Each Message",
      "to": "Message Ref"
    },
    {
      "from": "Schedule Trigger",
      "to": "Get Recent Messages"
    },
    {
      "from": "Extract from File",
      "to": "Invoice Classifier With Gemini 2.0"
    },
    {
      "from": "Split Attachments",
      "to": "Extract from File"
    },
    {
      "from": "Message Classifier",
      "to": "For Each Message"
    },
    {
      "from": "Get Recent Messages",
      "to": "Markdown"
    },
    {
      "from": "Download Attachments",
      "to": "Split Attachments"
    },
    {
      "from": "File-Based OCR with Gemini 2.0",
      "to": "Parse Output"
    },
    {
      "from": "File-Based OCR with Gemini 2.0",
      "to": "Empty Response"
    },
    {
      "from": "Invoice Classifier With Gemini 2.0",
      "to": "Filter Invoices"
    }
  ]
}