{
  "openruna_format": "flow-graph-v1",
  "title": "0298_Code_Readpdf_Send_Triggered",
  "slug": "0298-code-readpdf-send-triggered",
  "source_filename": "0298_Code_Readpdf_Send_Triggered.json",
  "nodes": [
    {
      "id": "Read PDF",
      "name": "Read PDF",
      "integration": "readPDF",
      "kind": "action"
    },
    {
      "id": "Configure",
      "name": "Configure",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Is PDF",
      "name": "Is PDF",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Not a PDF",
      "name": "Not a PDF",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Is matched",
      "name": "Is matched",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "This is a matched PDF",
      "name": "This is a matched PDF",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "This is not a matched PDF",
      "name": "This is not a matched PDF",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Iterate over email attachments",
      "name": "Iterate over email attachments",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "OpenAI matches PDF textual content",
      "name": "OpenAI matches PDF textual content",
      "integration": "openAi",
      "kind": "action"
    },
    {
      "id": "Merge",
      "name": "Merge",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "Upload file to folder",
      "name": "Upload file to folder",
      "integration": "googleDrive",
      "kind": "action"
    },
    {
      "id": "On email received",
      "name": "On email received",
      "integration": "gmail",
      "kind": "trigger"
    },
    {
      "id": "Ignore large PDFs",
      "name": "Ignore large PDFs",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Is text within token limit?",
      "name": "Is text within token limit?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Has attachments?",
      "name": "Has attachments?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "There are no attachments",
      "name": "There are no attachments",
      "integration": "noOp",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Merge",
      "to": "Is matched"
    },
    {
      "from": "Is PDF",
      "to": "Read PDF"
    },
    {
      "from": "Is PDF",
      "to": "Not a PDF"
    },
    {
      "from": "Read PDF",
      "to": "Is text within token limit?"
    },
    {
      "from": "Configure",
      "to": "Has attachments?"
    },
    {
      "from": "Is matched",
      "to": "This is a matched PDF"
    },
    {
      "from": "Is matched",
      "to": "This is not a matched PDF"
    },
    {
      "from": "Has attachments?",
      "to": "Iterate over email attachments"
    },
    {
      "from": "Has attachments?",
      "to": "There are no attachments"
    },
    {
      "from": "On email received",
      "to": "Configure"
    },
    {
      "from": "This is a matched PDF",
      "to": "Upload file to folder"
    },
    {
      "from": "Is text within token limit?",
      "to": "OpenAI matches PDF textual content"
    },
    {
      "from": "Is text within token limit?",
      "to": "Merge"
    },
    {
      "from": "Is text within token limit?",
      "to": "Ignore large PDFs"
    },
    {
      "from": "Iterate over email attachments",
      "to": "Is PDF"
    },
    {
      "from": "OpenAI matches PDF textual content",
      "to": "Merge"
    }
  ]
}