{
  "openruna_format": "flow-graph-v1",
  "title": "0443_Schedule_Filter_Automation_Scheduled",
  "slug": "0443-schedule-filter-automation-scheduled",
  "source_filename": "0443_Schedule_Filter_Automation_Scheduled.json",
  "nodes": [
    {
      "id": "At midnight every work day",
      "name": "At midnight every work day",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Get all emails in the last day",
      "name": "Get all emails in the last day",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Get the thread of each email",
      "name": "Get the thread of each email",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Keep only starred emails in inbox",
      "name": "Keep only starred emails in inbox",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "for each message in the thread",
      "name": "for each message in the thread",
      "integration": "itemLists",
      "kind": "logic"
    },
    {
      "id": "Archive message (remove from inbox)",
      "name": "Archive message (remove from inbox)",
      "integration": "gmail",
      "kind": "action"
    },
    {
      "id": "Archive thread  (remove from inbox)",
      "name": "Archive thread  (remove from inbox)",
      "integration": "gmail",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "At midnight every work day",
      "to": "Get all emails in the last day"
    },
    {
      "from": "Get the thread of each email",
      "to": "Keep only starred emails in inbox"
    },
    {
      "from": "Get all emails in the last day",
      "to": "Get the thread of each email"
    },
    {
      "from": "for each message in the thread",
      "to": "Archive message (remove from inbox)"
    },
    {
      "from": "Keep only starred emails in inbox",
      "to": "Archive thread  (remove from inbox)"
    },
    {
      "from": "Keep only starred emails in inbox",
      "to": "for each message in the thread"
    }
  ]
}