{
  "openruna_format": "flow-graph-v1",
  "title": "New invoice email notification",
  "slug": "new-invoice-email-notification",
  "source_filename": "1194_Slack_Emailreadimap_Create.json",
  "nodes": [
    {
      "id": "Check for new emails",
      "name": "Check for new emails",
      "integration": "emailReadImap",
      "kind": "action"
    },
    {
      "id": "If email body contains invoice",
      "name": "If email body contains invoice",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Extract the total amount",
      "name": "Extract the total amount",
      "integration": "mindee",
      "kind": "action"
    },
    {
      "id": "Send new invoice notification",
      "name": "Send new invoice notification",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Send email to finance manager",
      "name": "Send email to finance manager",
      "integration": "emailSend",
      "kind": "action"
    },
    {
      "id": "If Amount > 1000",
      "name": "If Amount > 1000",
      "integration": "if",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "If Amount > 1000",
      "to": "Send email to finance manager"
    },
    {
      "from": "If Amount > 1000",
      "to": "Send new invoice notification"
    },
    {
      "from": "Check for new emails",
      "to": "If email body contains invoice"
    },
    {
      "from": "Extract the total amount",
      "to": "If Amount > 1000"
    },
    {
      "from": "Send email to finance manager",
      "to": "Send new invoice notification"
    },
    {
      "from": "If email body contains invoice",
      "to": "Extract the total amount"
    }
  ]
}