{
  "openruna_format": "flow-graph-v1",
  "title": "🧹 Archive (delete) duplicate items from a Notion database",
  "slug": "archive-delete-duplicate-items-from-a-notion-database",
  "source_filename": "1317_Code_Schedule_Export_Scheduled.json",
  "nodes": [
    {
      "id": "Every day",
      "name": "Every day",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Get pages from database",
      "name": "Get pages from database",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Aggregate all items",
      "name": "Aggregate all items",
      "integration": "aggregate",
      "kind": "logic"
    },
    {
      "id": "Format items properly",
      "name": "Format items properly",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Filter duplicates",
      "name": "Filter duplicates",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Archive pages",
      "name": "Archive pages",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "When a page is added to the database",
      "name": "When a page is added to the database",
      "integration": "notion",
      "kind": "trigger"
    }
  ],
  "edges": [
    {
      "from": "Every day",
      "to": "Get pages from database"
    },
    {
      "from": "Filter duplicates",
      "to": "Archive pages"
    },
    {
      "from": "Aggregate all items",
      "to": "Filter duplicates"
    },
    {
      "from": "Format items properly",
      "to": "Aggregate all items"
    },
    {
      "from": "Get pages from database",
      "to": "Format items properly"
    },
    {
      "from": "When a page is added to the database",
      "to": "Get pages from database"
    }
  ]
}