{
  "openruna_format": "flow-graph-v1",
  "title": "Extract text from PDF and image using Vertex AI (Gemini) into CSV",
  "slug": "extract-text-from-pdf-and-image-using-vertex-ai-gemini-into-csv",
  "source_filename": "1444_Extractfromfile_Converttofile_Automation_Webhook.json",
  "nodes": [
    {
      "id": "Google Gemini Chat Model",
      "name": "Google Gemini Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Get PDF or Images",
      "name": "Get PDF or Images",
      "integration": "googleDrive",
      "kind": "trigger"
    },
    {
      "id": "Route based on PDF or Image",
      "name": "Route based on PDF or Image",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Download PDF",
      "name": "Download PDF",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Download Image",
      "name": "Download Image",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Extract data from PDF",
      "name": "Extract data from PDF",
      "integration": "extractFromFile",
      "kind": "action"
    },
    {
      "id": "Send data to A.I.",
      "name": "Send data to A.I.",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Convert to CSV",
      "name": "Convert to CSV",
      "integration": "convertToFile",
      "kind": "action"
    },
    {
      "id": "Upload to Google Drive",
      "name": "Upload to Google Drive",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Convert to CSV2",
      "name": "Convert to CSV2",
      "integration": "convertToFile",
      "kind": "action"
    },
    {
      "id": "Upload to Google Drive1",
      "name": "Upload to Google Drive1",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Vertex A.I. extract text",
      "name": "Vertex A.I. extract text",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Download PDF",
      "to": "Extract data from PDF"
    },
    {
      "from": "Convert to CSV",
      "to": "Upload to Google Drive"
    },
    {
      "from": "Download Image",
      "to": "Vertex A.I. extract text"
    },
    {
      "from": "Convert to CSV2",
      "to": "Upload to Google Drive1"
    },
    {
      "from": "Get PDF or Images",
      "to": "Route based on PDF or Image"
    },
    {
      "from": "Send data to A.I.",
      "to": "Convert to CSV"
    },
    {
      "from": "Extract data from PDF",
      "to": "Send data to A.I."
    },
    {
      "from": "Vertex A.I. extract text",
      "to": "Convert to CSV2"
    },
    {
      "from": "Route based on PDF or Image",
      "to": "Download PDF",
      "label": "application/pdf"
    },
    {
      "from": "Route based on PDF or Image",
      "to": "Download Image",
      "label": "image/"
    }
  ]
}