{
  "openruna_format": "flow-graph-v1",
  "title": "Send Emails from Obsidian",
  "slug": "send-emails-from-obsidian",
  "source_filename": "1403_Splitout_Datetime_Send_Webhook.json",
  "nodes": [
    {
      "id": "Check if attachments exist",
      "name": "Check if attachments exist",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Separate attachment data",
      "name": "Separate attachment data",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Process Each Attachment",
      "name": "Process Each Attachment",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Convert Attachment to File",
      "name": "Convert Attachment to File",
      "integration": "convertToFile",
      "kind": "action"
    },
    {
      "id": "Prepare Attachments for Email",
      "name": "Prepare Attachments for Email",
      "integration": "aggregate",
      "kind": "logic"
    },
    {
      "id": "Email With Attachments",
      "name": "Email With Attachments",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Email Without Attachments",
      "name": "Email Without Attachments",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Check if it is a test",
      "name": "Check if it is a test",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Respond to Obsidian",
      "name": "Respond to Obsidian",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Fix Base64 string",
      "name": "Fix Base64 string",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Test Succesfull",
      "name": "Test Succesfull",
      "integration": "respondToWebhook",
      "kind": "action"
    },
    {
      "id": "Get date",
      "name": "Get date",
      "integration": "dateTime",
      "kind": "logic"
    },
    {
      "id": "Webhook",
      "name": "Webhook",
      "integration": "webhook",
      "kind": "trigger"
    }
  ],
  "edges": [
    {
      "from": "Webhook",
      "to": "Check if attachments exist"
    },
    {
      "from": "Get date",
      "to": "Respond to Obsidian"
    },
    {
      "from": "Fix Base64 string",
      "to": "Process Each Attachment"
    },
    {
      "from": "Check if it is a test",
      "to": "Test Succesfull"
    },
    {
      "from": "Check if it is a test",
      "to": "Email Without Attachments"
    },
    {
      "from": "Email With Attachments",
      "to": "Get date"
    },
    {
      "from": "Process Each Attachment",
      "to": "Prepare Attachments for Email"
    },
    {
      "from": "Process Each Attachment",
      "to": "Convert Attachment to File"
    },
    {
      "from": "Separate attachment data",
      "to": "Fix Base64 string"
    },
    {
      "from": "Email Without Attachments",
      "to": "Get date"
    },
    {
      "from": "Check if attachments exist",
      "to": "Separate attachment data"
    },
    {
      "from": "Check if attachments exist",
      "to": "Check if it is a test"
    },
    {
      "from": "Convert Attachment to File",
      "to": "Process Each Attachment"
    },
    {
      "from": "Prepare Attachments for Email",
      "to": "Email With Attachments"
    }
  ]
}