{
  "openruna_format": "flow-graph-v1",
  "title": "Keep discord clean",
  "slug": "keep-discord-clean",
  "source_filename": "1609_Wait_Schedule_Automation_Scheduled.json",
  "nodes": [
    {
      "id": "Loop Over Channels",
      "name": "Loop Over Channels",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Loop Over Messages",
      "name": "Loop Over Messages",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Every day at 9pm",
      "name": "Every day at 9pm",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Cool down Discord API rate limits",
      "name": "Cool down Discord API rate limits",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Get all Discord channels",
      "name": "Get all Discord channels",
      "integration": "discord",
      "kind": "action"
    },
    {
      "id": "Cool down Message deletion API rate limits",
      "name": "Cool down Message deletion API rate limits",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Cool down Get messages API rate limits",
      "name": "Cool down Get messages API rate limits",
      "integration": "wait",
      "kind": "logic"
    },
    {
      "id": "Get messages from Channel",
      "name": "Get messages from Channel",
      "integration": "discord",
      "kind": "action"
    },
    {
      "id": "Delete Message",
      "name": "Delete Message",
      "integration": "discord",
      "kind": "action"
    },
    {
      "id": "Filter Messages older than 7 days",
      "name": "Filter Messages older than 7 days",
      "integration": "filter",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Delete Message",
      "to": "Cool down Message deletion API rate limits"
    },
    {
      "from": "Every day at 9pm",
      "to": "Get all Discord channels"
    },
    {
      "from": "Loop Over Channels",
      "to": "Filter Messages older than 7 days"
    },
    {
      "from": "Loop Over Channels",
      "to": "Get messages from Channel"
    },
    {
      "from": "Loop Over Messages",
      "to": "Delete Message"
    },
    {
      "from": "Get all Discord channels",
      "to": "Cool down Discord API rate limits"
    },
    {
      "from": "Get messages from Channel",
      "to": "Cool down Get messages API rate limits"
    },
    {
      "from": "Cool down Discord API rate limits",
      "to": "Loop Over Channels"
    },
    {
      "from": "Filter Messages older than 7 days",
      "to": "Loop Over Messages"
    },
    {
      "from": "Cool down Get messages API rate limits",
      "to": "Loop Over Channels"
    },
    {
      "from": "Cool down Message deletion API rate limits",
      "to": "Loop Over Messages"
    }
  ]
}