{
  "openruna_format": "flow-graph-v1",
  "title": "LINE BOT - Google Sheets Record Receipt",
  "slug": "line-bot-google-sheets-record-receipt",
  "source_filename": "1612_Webhook_Code_Automate_Webhook.json",
  "nodes": [
    {
      "id": "Image slip URL in Line",
      "name": "Image slip URL in Line",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Get image to Binary",
      "name": "Get image to Binary",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Line Chat Bot",
      "name": "Line Chat Bot",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Upload image to Google Drive",
      "name": "Upload image to Google Drive",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "Record in Google Sheets",
      "name": "Record in Google Sheets",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Send Image URL to OCR Space for Text Extraction",
      "name": "Send Image URL to OCR Space for Text Extraction",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Extract Transaction Details",
      "name": "Extract Transaction Details",
      "integration": "code",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Line Chat Bot",
      "to": "Image slip URL in Line"
    },
    {
      "from": "Get image to Binary",
      "to": "Upload image to Google Drive"
    },
    {
      "from": "Image slip URL in Line",
      "to": "Get image to Binary"
    },
    {
      "from": "Extract Transaction Details",
      "to": "Record in Google Sheets"
    },
    {
      "from": "Upload image to Google Drive",
      "to": "Send Image URL to OCR Space for Text Extraction"
    },
    {
      "from": "Send Image URL to OCR Space for Text Extraction",
      "to": "Extract Transaction Details"
    }
  ]
}