{
  "openruna_format": "flow-graph-v1",
  "title": "Convert image from jpg/png to webp",
  "slug": "convert-image-from-jpgpng-to-webp",
  "source_filename": "1518_Code_Manual_Process_Webhook.json",
  "nodes": [
    {
      "id": "When clicking ‘Test workflow’",
      "name": "When clicking ‘Test workflow’",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Set API KEY",
      "name": "Set API KEY",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Get images",
      "name": "Get images",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Get extension",
      "name": "Get extension",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "JPG or PNG?",
      "name": "JPG or PNG?",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "From JPG to WEBP",
      "name": "From JPG to WEBP",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "PNG to WEBP",
      "name": "PNG to WEBP",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Update Sheet",
      "name": "Update Sheet",
      "integration": "googleSheets",
      "kind": "action"
    },
    {
      "id": "Get file image",
      "name": "Get file image",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Upload image",
      "name": "Upload image",
      "integration": "googleDrive",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Get images",
      "to": "Get extension"
    },
    {
      "from": "JPG or PNG?",
      "to": "From JPG to WEBP"
    },
    {
      "from": "JPG or PNG?",
      "to": "From JPG to WEBP"
    },
    {
      "from": "JPG or PNG?",
      "to": "PNG to WEBP"
    },
    {
      "from": "PNG to WEBP",
      "to": "Update Sheet"
    },
    {
      "from": "Set API KEY",
      "to": "Get images"
    },
    {
      "from": "Update Sheet",
      "to": "Get file image"
    },
    {
      "from": "Get extension",
      "to": "JPG or PNG?"
    },
    {
      "from": "Get file image",
      "to": "Upload image"
    },
    {
      "from": "From JPG to WEBP",
      "to": "Update Sheet"
    },
    {
      "from": "When clicking ‘Test workflow’",
      "to": "Set API KEY"
    }
  ]
}