{
  "openruna_format": "flow-graph-v1",
  "title": "OCR receipts from Google Drive",
  "slug": "ocr-receipts-from-google-drive",
  "source_filename": "1839_Code_Manual_Automation_Webhook.json",
  "nodes": [
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "OCR recognize",
      "name": "OCR recognize",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Unserialize response JSON",
      "name": "Unserialize response JSON",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "On new file in Google Drive",
      "name": "On new file in Google Drive",
      "integration": "googleDrive",
      "kind": "trigger"
    },
    {
      "id": "Load files from Google Drive folder",
      "name": "Load files from Google Drive folder",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Filter processed files",
      "name": "Filter processed files",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Download file for OCR",
      "name": "Download file for OCR",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Save OCR result into Sheets",
      "name": "Save OCR result into Sheets",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Get already processed rows from Sheets",
      "name": "Get already processed rows from Sheets",
      "integration": "googleSheets",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "OCR recognize",
      "to": "Unserialize response JSON"
    },
    {
      "from": "Download file for OCR",
      "to": "OCR recognize"
    },
    {
      "from": "Filter processed files",
      "to": "Download file for OCR"
    },
    {
      "from": "Unserialize response JSON",
      "to": "Save OCR result into Sheets"
    },
    {
      "from": "On new file in Google Drive",
      "to": "Get already processed rows from Sheets"
    },
    {
      "from": "On new file in Google Drive",
      "to": "Load files from Google Drive folder"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Load files from Google Drive folder"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Get already processed rows from Sheets"
    },
    {
      "from": "Load files from Google Drive folder",
      "to": "Filter processed files"
    },
    {
      "from": "Get already processed rows from Sheets",
      "to": "Filter processed files"
    }
  ]
}