{
  "openruna_format": "flow-graph-v1",
  "title": "send file to kindle through telegram bot",
  "slug": "send-file-to-kindle-through-telegram-bot",
  "source_filename": "1944_Microsoftoutlook_Telegram_Send_Triggered.json",
  "nodes": [
    {
      "id": "receive file message from telegram bot",
      "name": "receive file message from telegram bot",
      "integration": "telegram",
      "kind": "trigger"
    },
    {
      "id": "check if there is a file in the message",
      "name": "check if there is a file in the message",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "reply to warn that file is missing",
      "name": "reply to warn that file is missing",
      "integration": "telegram",
      "kind": "action"
    },
    {
      "id": "rename file to as attachment out email",
      "name": "rename file to as attachment out email",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "send email with the file as attchament to kindle",
      "name": "send email with the file as attchament to kindle",
      "integration": "microsoftOutlook",
      "kind": "action"
    },
    {
      "id": "reply to telegram chat that the file has been sent successfully",
      "name": "reply to telegram chat that the file has been sent successfully",
      "integration": "telegram",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "receive file message from telegram bot",
      "to": "check if there is a file in the message"
    },
    {
      "from": "rename file to as attachment out email",
      "to": "send email with the file as attchament to kindle"
    },
    {
      "from": "check if there is a file in the message",
      "to": "rename file to as attachment out email"
    },
    {
      "from": "check if there is a file in the message",
      "to": "reply to warn that file is missing"
    },
    {
      "from": "send email with the file as attchament to kindle",
      "to": "reply to telegram chat that the file has been sent successfully"
    }
  ]
}