{
  "nodes": [
    {
      "id": "490493d1-e9ac-458a-ac9e-a86048ce6169",
      "name": "When clicking \u2018Test workflow\u2019",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -700,
        260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "116f1137-632f-4021-ad0f-cf59ed1776fd",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        980,
        440
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-1.5-pro-latest"
      },
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "44695b4f-702c-4230-9ec3-e37447fed38e",
      "name": "Sort Pages",
      "type": "n8n-nodes-base.sort",
      "position": [
        400,
        320
      ],
      "parameters": {
        "options": {},
        "sortFieldsUi": {
          "sortField": [
            {
              "fieldName": "fileName"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "f2575b2c-0808-464e-b982-1eed8e0d9df7",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1280,
        0
      ],
      "parameters": {
        "width": 437.0502325581392,
        "height": 430.522325581395,
        "content": "## \ub098\ub97c \uc2dc\ud5d8\ud574 \ubcf4\uc138\uc694!\n\n### \uc774 \uc6cc\ud06c\ud50c\ub85c\ub294 \uc740\ud589 \uba85\uc138\uc11c\ub97c \ub9c8\ud06c\ub2e4\uc6b4\uc73c\ub85c \ubcc0\ud658\ud558\uba70, Vision Language Models(\"VLMs\")\uc758 \ud798\uc744 \uc0ac\uc6a9\ud558\uc5ec \uc138\ubd80 \uc0ac\ud56d\uc744 \ucda9\uc2e4\ud558\uac8c \ucea1\ucc98\ud569\ub2c8\ub2e4. \uacb0\uacfc \ub9c8\ud06c\ub2e4\uc6b4\uc740 \ud45c\uc900 LLM\uc5d0 \uc758\ud574 \ub2e4\uc2dc \uad6c\ubb38 \ubd84\uc11d\ub418\uc5b4 \ubb38\uc11c\uc5d0\uc11c \ubaa8\ub4e0 \uc785\uae08 \ud14c\uc774\ube14 \ud589\uc744 \uc2dd\ubcc4\ud558\ub294 \ub4f1\uc758 \ub370\uc774\ud130\ub97c \ucd94\ucd9c\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\n\uc774 \uc6cc\ud06c\ud50c\ub85c\ub294 \ub2e4\uc6b4\ub85c\ub4dc\ub41c PDF\uc640 \uc2a4\uce94\ub41c PDF\ub97c \ubaa8\ub450 \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uc6cc\ud06c\ud50c\ub85c\ub97c \uc2e4\ud589\ud558\uae30 \uc804\uc5d0 \ubbfc\uac10\ud55c \ub370\uc774\ud130\ub97c \ubcf4\ud638\ud558\uc138\uc694.\n\n### \ub3c4\uc6c0\uc774 \ud544\uc694\ud558\uc2e0\uac00\uc694?\n[Discord](https://discord.com/invite/XPKeKXeB7d)\uc5d0 \uac00\uc785\ud558\uac70\ub098 [Forum](https://community.n8n.io/)\uc5d0\uc11c \ubb38\uc758\ud558\uc138\uc694!"
      },
      "typeVersion": 1
    },
    {
      "id": "d62d7b0e-29eb-48a9-a471-4279e663c521",
      "name": "Get Bank Statement",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -500,
        260
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "1wS9U7MQDthj57CvEcqG_Llkr-ek6RqGA"
        },
        "options": {},
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "1329973b-a4e0-4272-9e24-3674bb9d4923",
      "name": "Split PDF into Images",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -140,
        320
      ],
      "parameters": {
        "url": "http://stirling-pdf:8080/api/v1/convert/pdf/img",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "multipart-form-data",
        "bodyParameters": {
          "parameters": [
            {
              "name": "fileInput",
              "parameterType": "formBinaryData",
              "inputDataFieldName": "data"
            },
            {
              "name": "imageFormat",
              "value": "jpg"
            },
            {
              "name": "singleOrMultiple",
              "value": "multiple"
            },
            {
              "name": "dpi",
              "value": "300"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "4e263346-9f55-4316-a505-4a54061ccfbb",
      "name": "Extract Zip File",
      "type": "n8n-nodes-base.compression",
      "position": [
        40,
        320
      ],
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "5e97072f-a7c5-45aa-99d1-3231a9230b53",
      "name": "Images To List",
      "type": "n8n-nodes-base.code",
      "position": [
        220,
        320
      ],
      "parameters": {
        "jsCode": "let results = [];\n\nfor (item of items) {\n    for (key of Object.keys(item.binary)) {\n        results.push({\n            json: {\n                fileName: item.binary[key].fileName\n            },\n            binary: {\n                data: item.binary[key],\n            }\n        });\n    }\n}\n\nreturn results;"
      },
      "typeVersion": 2
    },
    {
      "id": "62836c73-4cf7-4225-a45d-0cd62b7e227d",
      "name": "Resize Images For AI",
      "type": "n8n-nodes-base.editImage",
      "position": [
        800,
        280
      ],
      "parameters": {
        "width": 75,
        "height": 75,
        "options": {},
        "operation": "resize",
        "resizeOption": "percent"
      },
      "typeVersion": 1
    },
    {
      "id": "59fc6716-9826-4463-be33-923a8f6f33f1",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -820,
        0
      ],
      "parameters": {
        "color": 7,
        "width": 546.4534883720931,
        "height": 478.89348837209275,
        "content": "## 1. \uc740\ud589 \uac70\ub798 \uba85\uc138\uc11c PDF \ub2e4\uc6b4\ub85c\ub4dc\n\n[Google Drive \ub178\ub4dc\uc5d0 \ub300\ud574 \ub354 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.googledrive)\n\n\uc774 \ub370\ubaa8\ub97c \uc704\ud574 Google Drive\uc5d0\uc11c \uc608\uc2dc \uc740\ud589 \uac70\ub798 \uba85\uc138\uc11c\ub97c \uac00\uc838\uc624\uaca0\uc9c0\ub9cc, \uc6f9\ud6c5\uacfc \uac19\uc740 \ub2e4\ub978 \ud2b8\ub9ac\uac70\ub85c \uad50\uccb4\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4.\n\n\uc5ec\uae30\uc5d0\uc11c \uc774 \uc6cc\ud06c\ud50c\ub85c\uc6b0\ub97c \uc704\ud574 \ud2b9\ubcc4\ud788 \ub9cc\ub4e4\uc5b4\uc9c4 \uc608\uc2dc \uc740\ud589 \uac70\ub798 \uba85\uc138\uc11c\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4: https://drive.google.com/file/d/1wS9U7MQDthj57CvEcqG_Llkr-ek6RqGA/view?usp=sharing"
      },
      "typeVersion": 1
    },
    {
      "id": "8e68a295-ff35-4d28-86bb-c8ea5664b3c6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -240,
        3.173953488372149
      ],
      "parameters": {
        "color": 7,
        "width": 848.0232558139535,
        "height": 533.5469767441862,
        "content": "## 2. PDF \ud398\uc774\uc9c0\ub97c \uac1c\ubcc4 \uc774\ubbf8\uc9c0\ub85c \ubd84\ud560\n\n\ud604\uc7ac, \uc6b0\ub9ac\uac00 \uc0ac\uc6a9\ud560 \ube44\uc804 \ubaa8\ub378\uc740 \uc6d0\uc2dc PDF\ub97c \ubc1b\uc544\ub4e4\uc774\uc9c0 \ubabb\ud558\ubbc0\ub85c, \uc774\ub97c \uc0ac\uc6a9\ud558\uae30 \uc704\ud574 PDF\ub97c \uc774\ubbf8\uc9c0\ub85c \ubcc0\ud658\ud574\uc57c \ud569\ub2c8\ub2e4. \uc774\ub97c \ub2ec\uc131\ud558\uae30 \uc704\ud574, \ud3b8\uc758\ub97c \uc704\ud574 \ubb34\ub8cc [Stirling PDF \uc6f9\uc11c\ube44\uc2a4](https://stirlingpdf.io/)\ub97c \uc0ac\uc6a9\ud560 \uac83\uc785\ub2c8\ub2e4. \ud558\uc9c0\ub9cc \ub370\uc774\ud130 \ud504\ub77c\uc774\ubc84\uc2dc\uac00 \ud544\uc694\ud558\ub2e4\uba74 (\ucd94\ucc9c!), \ub300\uc2e0 \uc6b0\ub9ac \uc790\uc2e0\uc758 [Stirling PDF \uc778\uc2a4\ud134\uc2a4](https://github.com/Stirling-Tools/Stirling-PDF/)\ub97c \uc790\uac00 \ud638\uc2a4\ud305\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub300\uc548\uc73c\ub85c, PDF\ub97c \uc774\ubbf8\uc9c0\ub85c \ubcc0\ud658\ud560 \uc218 \uc788\ub294 \ud55c, \uc774 \uc11c\ube44\uc2a4\ub97c \uc6d0\ud558\ub294 \uac83\uc73c\ub85c \uad50\uccb4\ud558\uc138\uc694!\n\n\uc6b0\ub9ac\ub294 PDF \uc11c\ube44\uc2a4\uc5d0 \uc6b0\ub9ac \ubb38\uc11c\uc758 \uac01 \ud398\uc774\uc9c0\ub97c \uac1c\ubcc4 \uc774\ubbf8\uc9c0\ub85c \ubc18\ud658\ud558\ub3c4\ub85d \uc694\uccad\ud560 \uac83\uc785\ub2c8\ub2e4. \uc774 \uc11c\ube44\uc2a4\ub294 \uc774\ub97c ZIP \ud30c\uc77c\ub85c \uc81c\uacf5\ud569\ub2c8\ub2e4. \ub2e4\uc74c \ub2e8\uacc4\ub294 \ud30c\uc77c\uc744 \uc555\ucd95 \ud574\uc81c\ud558\uace0 \ucd9c\ub825\uc744 \uc774\ubbf8\uc9c0 \ubaa9\ub85d\uc73c\ub85c \ubcc0\ud658\ud558\ub294 \uac83\uc785\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "5286aa35-9687-4d5b-987c-79322a1ddc84",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        640,
        -40
      ],
      "parameters": {
        "color": 7,
        "width": 775.3441860465115,
        "height": 636.0809302325588,
        "content": "## 3. PDF \ud398\uc774\uc9c0\ub97c Vision \ubaa8\ub378\uc744 \uc0ac\uc6a9\ud558\uc5ec Markdown\uc73c\ub85c \ubcc0\ud658\n\n[\uae30\ubcf8 LLM \ub178\ub4dc \uc0ac\uc6a9\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainllm)\n\n\uc804\ud1b5\uc801\uc778 OCR\uacfc \ub2ec\ub9ac, \ube44\uc804 \ubaa8\ub378(\"VLMs\")\uc740 \ubcf4\ub294 \uac83\uc744 \"\uc804\uc0ac\"\ud558\ubbc0\ub85c \ubb38\uc11c\uc758 \uc815\ud655\ud55c \ubcf5\uc81c\ub97c \uae30\ub300\ud574\uc11c\ub294 \uc548 \ub418\uc9c0\ub9cc, \ubcf5\uc7a1\ud55c \ubb38\uc11c \ub808\uc774\uc544\uc6c3(\uc608: \uc218\ud3c9\uc73c\ub85c \uc313\uc778 \ud14c\uc774\ube14)\uc744 \uc774\ud574\ud558\ub294 \ub370 \ub354 \uc798 \uc218\ud589\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\n\uc774 \ub370\ubaa8\uc5d0\uc11c, \uc740\ud589 \uba85\uc138\uc11c \uc2a4\uce94\uc744 \ucd94\uac00 \ucc98\ub9ac \ubaa9\uc801\uc73c\ub85c \ub9c8\ud06c\ub2e4\uc6b4 \ud14d\uc2a4\ud2b8\ub85c \uc804\uc0ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub9c8\ud06c\ub2e4\uc6b4\uc744 \uc0ac\uc6a9\ud558\uba74 \ubb38\uc11c\uc5d0 \uc788\ub294 \ud14c\uc774\ube14\uc774\ub098 \uc5f4 \ub370\uc774\ud130\uac00 \uc720\uc9c0\ub429\ub2c8\ub2e4. \uadf8\ub7ec\ub098 \ud1a0\ud070\uacfc \ud0c0\uc784\uc544\uc6c3 \uc81c\ud55c\uc5d0 \ub300\ud55c \ud574\uacb0\ucc45\uc73c\ub85c \ub450 \uac00\uc9c0 \ucd5c\uc801\ud654\ub97c \uc801\uc6a9\ud558\uaca0\uc2b5\ub2c8\ub2e4. (1) \ud55c \ubc88\uc5d0 \ud55c \ud398\uc774\uc9c0\ub9cc \uc804\uc0ac\ud558\uace0, (2) \ucc98\ub9ac\ub97c \uac00\uc18d\ud654\ud560 \uc218 \uc788\uc744 \uc815\ub3c4\ub85c \ud398\uc774\uc9c0\ub97c \uc57d\uac04 \ucd95\uc18c\ud558\ub418, \ud544\uc694\ud55c \ud574\uc0c1\ub3c4\ub97c \uc904\uc774\uc9c0 \uc54a\uc744 \ub9cc\ud07c\ub9cc."
      },
      "typeVersion": 1
    },
    {
      "id": "49deef00-4617-4b19-a56f-08fd195dfb82",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        1760,
        480
      ],
      "parameters": {
        "options": {
          "safetySettings": {
            "values": [
              {
                "category": "HARM_CATEGORY_DANGEROUS_CONTENT",
                "threshold": "BLOCK_NONE"
              }
            ]
          }
        },
        "modelName": "models/gemini-1.5-pro-latest"
      },
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "8e9c5d1d-d610-4bad-8feb-7ff0d5e1e64f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        80
      ],
      "parameters": {
        "color": 7,
        "width": 719.7534883720941,
        "height": 574.3134883720929,
        "content": "## 4. \uc9c4\uc220\uc11c\uc5d0\uc11c \uc8fc\uc694 \ub370\uc774\ud130\ub97c \uc790\uc2e0 \uc788\uac8c \ucd94\ucd9c\n[\uc815\ubcf4 \ucd94\ucd9c\uae30\uc5d0 \ub300\ud574 \ub354 \uc77d\uae30](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.information-extractor)\n\n\uc6b0\ub9ac \uc0c8\ub85c \uc0dd\uc131\ub41c \uc804\uc0ac\ubcf8\uc73c\ub85c, \uc9c4\uc220\uc11c\uc5d0\uc11c \uc785\uae08 \ud56d\ubaa9\ub9cc \ucd94\ucd9c\ud574 \ubcf4\uc790. \ubaa8\ub4e0 \ud398\uc774\uc9c0\ub97c \uc774\ubbf8\uc9c0\ub85c \ud568\uaed8 \ucc98\ub9ac\ud558\ub294 \uac83\uc740 \uacc4\uc0b0 \uc9d1\uc57d\uc801\uc774\uc5c8\uc744 \uc218 \uc788\uc9c0\ub9cc, \ud14d\uc2a4\ud2b8\ub85c \ud558\uba74 \uc774 \uc791\uc5c5\uc740 \ubcf4\ud1b5 \uc6b0\ub9ac LLM\uc5d0\uac8c \uc804\ud600 \ubb38\uc81c\uac00 \ub418\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4.\n\n\uc6b0\ub9ac \uc608\uc2dc \uc740\ud589 \uc9c4\uc220\uc11c PDF\uc758 \uacbd\uc6b0, \uacb0\uacfc \ucd94\ucd9c\uc740 \"\uc785\uae08\" \uc5f4\uc5d0 \uac12\uc774 \uc874\uc7ac\ud558\ub294 8\uac1c\uc758 \ud14c\uc774\ube14 \ud589\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "f849ad3c-69ec-443c-b7cd-ab24e210af73",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        500
      ],
      "parameters": {
        "color": 5,
        "width": 366.00558139534894,
        "height": 125.41023255813957,
        "content": "### \ud83d\udca1 \uc608\uc81c PDF\uc5d0 \ub300\ud574\n\uc2a4\uce94\ub41c PDF(\uc989, \uac01 \ud398\uc774\uc9c0\uac00 \uc2a4\uce94\ub41c \uc774\ubbf8\uc9c0\uc778 \uacbd\uc6b0)\ub294 PDF \ud14d\uc2a4\ud2b8 \ub0b4\uc6a9\uc744 \ucd94\ucd9c\ud558\ub294 \ub370 \uc791\ub3d9\ud558\uc9c0 \uc54a\ub294 \uc6a9\ub840\uc785\ub2c8\ub2e4. \ube44\uc804 \ubaa8\ub378\uc740 \uc774 \uc6cc\ud06c\ud50c\ub85c\uac00 \ubcf4\uc5ec\uc8fc\ub824\ub294 \ubc14\uc640 \uac19\uc774 \ud6cc\ub96d\ud55c \ud574\uacb0\ucc45\uc785\ub2c8\ub2e4!"
      },
      "typeVersion": 1
    },
    {
      "id": "be6f529b-8220-4879-bd99-4333b4d764b6",
      "name": "Combine All Pages",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1580,
        320
      ],
      "parameters": {
        "options": {},
        "fieldsToAggregate": {
          "fieldToAggregate": [
            {
              "renameField": true,
              "outputFieldName": "pages",
              "fieldToAggregate": "text"
            }
          ]
        }
      },
      "typeVersion": 1
    },
    {
      "id": "2b35755c-7bae-4896-b9f9-1e9110209526",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -190.1172093023256,
        280
      ],
      "parameters": {
        "width": 199.23348837209306,
        "height": 374.95069767441856,
        "content": "\uc774 \uc608\uc2dc\uc5d0\uc11c\ub294 \uacf5\uac1c\ub41c \ud0c0\uc0ac \uc11c\ube44\uc2a4\ub97c \uc0ac\uc6a9\ud569\ub2c8\ub2e4. \ub370\uc774\ud130\uac00 \ubbfc\uac10\ud55c \uacbd\uc6b0, \uc790\uccb4 \ud638\uc2a4\ud305 \ubc84\uc804\uc73c\ub85c \uad50\uccb4\ud574 \uc8fc\uc138\uc694!"
      },
      "typeVersion": 1
    },
    {
      "id": "f638ba05-9ae2-447f-82af-eb22d8b9d6f1",
      "name": "Extract All Deposit Table Rows",
      "type": "@n8n/n8n-nodes-langchain.informationExtractor",
      "position": [
        1760,
        320
      ],
      "parameters": {
        "text": "= {{ $json.pages.join('---') }}",
        "options": {
          "systemPromptTemplate": "This statement contains tables with rows showing deposit and withdrawal made to the user's account. Deposits and withdrawals are identified by have the amount in their respective columns. What are the deposits to the account found in this statement?"
        },
        "schemaType": "manual",
        "inputSchema": "{\n  \"type\": \"array\",\n  \"items\": {\n\t\"type\": \"object\",\n\t\"properties\": {\n      \"date\": { \"type\": \"string\" },\n      \"description\": { \"type\": \"string\" },\n      \"amount\": { \"type\": \"number\" }\n\t}\n  }\n}"
      },
      "typeVersion": 1
    },
    {
      "id": "cf1e8d85-5c92-469d-98af-7bdd5f469167",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        913.9944186046506,
        620
      ],
      "parameters": {
        "color": 5,
        "width": 498.18790697674433,
        "height": 130.35162790697677,
        "content": "### \ud83d\udca1 Google\uc744 \uc0ac\uc6a9\ud558\uc9c0 \ub9c8\uc138\uc694?\n\n\ubaa8\ub378\uc744 \ucd5c\uc2e0 \uc0c1\ud0dc\uc758 \uba40\ud2f0\ubaa8\ub2ec \ubaa8\ub378\ub85c \uc790\uc720\ub86d\uac8c \uad50\uccb4\ud558\uc138\uc694. \uc774 \ubaa8\ub378\uc740 \uc774\ubbf8\uc9c0 \uc785\ub825\uc744 \uc9c0\uc6d0\ud574\uc57c \ud558\uba70, \uc608\ub97c \ub4e4\uc5b4 GPT4o(-mini) \ub610\ub294 Claude Sonnet/Opus\uc640 \uac19\uc2b5\ub2c8\ub2e4. \ucc38\uace0\ub85c, Gemini\uac00 \uc774 \uc608\uc2dc \uc6a9\ub3c4\uc5d0 \ub300\ud574 \uac00\uc7a5 \uc815\ud655\ud558\uace0 \uc77c\uad00\ub418\uac8c \uacb0\uacfc\ub97c \ub0b4\ub294 \uac83\uc73c\ub85c \ubc1d\ud600\uc84c\uc73c\ubbc0\ub85c, \uad50\uccb4\ud560 \uacbd\uc6b0 \ubcf4\uc7a5\uc740 \uc5c6\uc2b5\ub2c8\ub2e4!"
      },
      "typeVersion": 1
    },
    {
      "id": "20f33372-a6b6-4f4d-987d-a94c85313fa8",
      "name": "Transcribe to Markdown",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        980,
        280
      ],
      "parameters": {
        "text": "transcribe the image to markdown.",
        "messages": {
          "messageValues": [
            {
              "message": "=You help transcribe documents to markdown, keeping faithful to all text printed and visible to the best of your ability. Ensure you capture all headings, subheadings, titles as well as small print.\nFor any tables found with the document, convert them to markdown tables. If table row descriptions overflow into more than 1 row, concatanate and fit them into a single row. If two or more tables are adjacent horizontally, stack the tables vertically instead. There should be a newline after every markdown table.\nFor any graphics, use replace with a description of the image. Images of scanned checks should be converted to the phrase \"<scanned image of check>\"."
            },
            {
              "type": "HumanMessagePromptTemplate",
              "messageType": "imageBinary"
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.4
    }
  ],
  "connections": {
    "Sort Pages": {
      "main": [
        [
          {
            "node": "Resize Images For AI",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Images To List": {
      "main": [
        [
          {
            "node": "Sort Pages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Zip File": {
      "main": [
        [
          {
            "node": "Images To List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Combine All Pages": {
      "main": [
        [
          {
            "node": "Extract All Deposit Table Rows",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Bank Statement": {
      "main": [
        [
          {
            "node": "Split PDF into Images",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Resize Images For AI": {
      "main": [
        [
          {
            "node": "Transcribe to Markdown",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split PDF into Images": {
      "main": [
        [
          {
            "node": "Extract Zip File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe to Markdown": {
      "main": [
        [
          {
            "node": "Combine All Pages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Transcribe to Markdown",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Extract All Deposit Table Rows",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "When clicking \u2018Test workflow\u2019": {
      "main": [
        [
          {
            "node": "Get Bank Statement",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}