{
  "openruna_format": "flow-graph-v1",
  "title": "Line_Chatbot_Extract_Text_from_Pay_Slip_with_Gemini",
  "slug": "line-chatbot-extract-text-from-pay-slip-with-gemini",
  "source_filename": "1811_HTTP_GoogleSheets_Automate_Webhook.json",
  "nodes": [
    {
      "id": "Window Buffer Memory",
      "name": "Window Buffer Memory",
      "integration": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "kind": "action"
    },
    {
      "id": "Line: Get Image",
      "name": "Line: Get Image",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Message Type",
      "name": "Message Type",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Message Classification",
      "name": "Message Classification",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Text Message Processing",
      "name": "Text Message Processing",
      "integration": "@n8n/n8n-nodes-langchain.agent",
      "kind": "action"
    },
    {
      "id": "Image Message Processing",
      "name": "Image Message Processing",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "Line: Response to User",
      "name": "Line: Response to User",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Line: Text Response to User",
      "name": "Line: Text Response to User",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Text from Slip Result",
      "name": "Text from Slip Result",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Line: Messaging API",
      "name": "Line: Messaging API",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Google Gemini for Text",
      "name": "Google Gemini for Text",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Google Gemini for Image",
      "name": "Google Gemini for Image",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Message Type",
      "to": "Message Classification"
    },
    {
      "from": "Line: Get Image",
      "to": "Image Message Processing"
    },
    {
      "from": "Line: Messaging API",
      "to": "Message Type"
    },
    {
      "from": "Line: Response to User",
      "to": "Text from Slip Result"
    },
    {
      "from": "Message Classification",
      "to": "Text Message Processing"
    },
    {
      "from": "Message Classification",
      "to": "Line: Get Image"
    },
    {
      "from": "Text Message Processing",
      "to": "Line: Text Response to User"
    },
    {
      "from": "Image Message Processing",
      "to": "Line: Response to User"
    }
  ]
}