{
  "openruna_format": "flow-graph-v1",
  "title": "Notion to Clockify Sync Template",
  "slug": "notion-to-clockify-sync-template",
  "source_filename": "1498_Stopanderror_Limit_Sync_Webhook.json",
  "nodes": [
    {
      "id": "Webhook",
      "name": "Webhook",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "Globals",
      "name": "Globals",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Schedule Trigger",
      "name": "Schedule Trigger",
      "integration": "schedule",
      "kind": "trigger"
    },
    {
      "id": "Get first workspace ID",
      "name": "Get first workspace ID",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Compare Datasets",
      "name": "Compare Datasets",
      "integration": "compareDatasets",
      "kind": "action"
    },
    {
      "id": "Stop and Error",
      "name": "Stop and Error",
      "integration": "stopAndError",
      "kind": "action"
    },
    {
      "id": "Structure output",
      "name": "Structure output",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Map values",
      "name": "Map values",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Map values1",
      "name": "Map values1",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "No Operation",
      "name": "No Operation",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Get active Clients from Notion",
      "name": "Get active Clients from Notion",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Get active Clients from Clockify",
      "name": "Get active Clients from Clockify",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "If unmapped in Notion",
      "name": "If unmapped in Notion",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Set new values",
      "name": "Set new values",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Update Client in Clockify",
      "name": "Update Client in Clockify",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Get archived Client from Notion",
      "name": "Get archived Client from Notion",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Create Client in Clockify",
      "name": "Create Client in Clockify",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Store Clockify ID in Notion",
      "name": "Store Clockify ID in Notion",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Remove Client from Clockify",
      "name": "Remove Client from Clockify",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Merge",
      "name": "Merge",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "No Operation, do nothing",
      "name": "No Operation, do nothing",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Get active Projects from Notion",
      "name": "Get active Projects from Notion",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Get active Projects from Clockify",
      "name": "Get active Projects from Clockify",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Update Project in Clockify",
      "name": "Update Project in Clockify",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Get completed Project from Notion",
      "name": "Get completed Project from Notion",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Create Project in Clockify",
      "name": "Create Project in Clockify",
      "integration": "httpRequest",
      "kind": "action"
    },
    {
      "id": "Remove Project from Clockify",
      "name": "Remove Project from Clockify",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Structure output1",
      "name": "Structure output1",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "No Operation1",
      "name": "No Operation1",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Map values2",
      "name": "Map values2",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Map values3",
      "name": "Map values3",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Compare Datasets1",
      "name": "Compare Datasets1",
      "integration": "compareDatasets",
      "kind": "action"
    },
    {
      "id": "If unmapped in Notion1",
      "name": "If unmapped in Notion1",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Set new values1",
      "name": "Set new values1",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Store Clockify ID in Notion1",
      "name": "Store Clockify ID in Notion1",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Stop and Error1",
      "name": "Stop and Error1",
      "integration": "stopAndError",
      "kind": "action"
    },
    {
      "id": "Merge1",
      "name": "Merge1",
      "integration": "merge",
      "kind": "logic"
    },
    {
      "id": "No Operation, do nothing2",
      "name": "No Operation, do nothing2",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Get active Tasks from Notion",
      "name": "Get active Tasks from Notion",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Get active Tasks from Clockify",
      "name": "Get active Tasks from Clockify",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Update Task in Clockify",
      "name": "Update Task in Clockify",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Get completed Task from Notion",
      "name": "Get completed Task from Notion",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Create Task in Clockify",
      "name": "Create Task in Clockify",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Remove Task from Clockify",
      "name": "Remove Task from Clockify",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Structure output2",
      "name": "Structure output2",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "No Operation2",
      "name": "No Operation2",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Map values4",
      "name": "Map values4",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Map values5",
      "name": "Map values5",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Get active Projects from Clockify1",
      "name": "Get active Projects from Clockify1",
      "integration": "clockify",
      "kind": "action"
    },
    {
      "id": "Compare Datasets2",
      "name": "Compare Datasets2",
      "integration": "compareDatasets",
      "kind": "action"
    },
    {
      "id": "If unmapped in Notion2",
      "name": "If unmapped in Notion2",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Set new values2",
      "name": "Set new values2",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Store Clockify ID in Notion2",
      "name": "Store Clockify ID in Notion2",
      "integration": "notion",
      "kind": "action"
    },
    {
      "id": "Stop and Error2",
      "name": "Stop and Error2",
      "integration": "stopAndError",
      "kind": "action"
    },
    {
      "id": "Limit",
      "name": "Limit",
      "integration": "limit",
      "kind": "logic"
    },
    {
      "id": "Limit1",
      "name": "Limit1",
      "integration": "limit",
      "kind": "logic"
    }
  ],
  "edges": [
    {
      "from": "Limit",
      "to": "No Operation1"
    },
    {
      "from": "Merge",
      "to": "Limit"
    },
    {
      "from": "Limit1",
      "to": "No Operation2"
    },
    {
      "from": "Merge1",
      "to": "Limit1"
    },
    {
      "from": "Globals",
      "to": "No Operation"
    },
    {
      "from": "Webhook",
      "to": "Get first workspace ID"
    },
    {
      "from": "Map values",
      "to": "Compare Datasets"
    },
    {
      "from": "Map values1",
      "to": "Compare Datasets"
    },
    {
      "from": "Map values2",
      "to": "Compare Datasets1"
    },
    {
      "from": "Map values3",
      "to": "Compare Datasets1"
    },
    {
      "from": "Map values4",
      "to": "Compare Datasets2"
    },
    {
      "from": "Map values5",
      "to": "Compare Datasets2"
    },
    {
      "from": "No Operation",
      "to": "Get active Clients from Notion"
    },
    {
      "from": "No Operation",
      "to": "Get active Clients from Clockify"
    },
    {
      "from": "No Operation1",
      "to": "Get active Projects from Notion"
    },
    {
      "from": "No Operation1",
      "to": "Get active Projects from Clockify"
    },
    {
      "from": "No Operation2",
      "to": "Get active Projects from Clockify1"
    },
    {
      "from": "No Operation2",
      "to": "Get active Tasks from Notion"
    },
    {
      "from": "Set new values",
      "to": "Update Client in Clockify"
    },
    {
      "from": "Set new values1",
      "to": "Update Project in Clockify"
    },
    {
      "from": "Set new values2",
      "to": "Update Task in Clockify"
    },
    {
      "from": "Compare Datasets",
      "to": "If unmapped in Notion"
    },
    {
      "from": "Compare Datasets",
      "to": "Structure output"
    },
    {
      "from": "Compare Datasets",
      "to": "Update Client in Clockify"
    },
    {
      "from": "Compare Datasets",
      "to": "Get archived Client from Notion"
    },
    {
      "from": "Schedule Trigger",
      "to": "Get first workspace ID"
    },
    {
      "from": "Structure output",
      "to": "Merge"
    },
    {
      "from": "Compare Datasets1",
      "to": "If unmapped in Notion1"
    },
    {
      "from": "Compare Datasets1",
      "to": "Structure output1"
    },
    {
      "from": "Compare Datasets1",
      "to": "Update Project in Clockify"
    },
    {
      "from": "Compare Datasets1",
      "to": "Get completed Project from Notion"
    },
    {
      "from": "Compare Datasets2",
      "to": "If unmapped in Notion2"
    },
    {
      "from": "Compare Datasets2",
      "to": "Structure output2"
    },
    {
      "from": "Compare Datasets2",
      "to": "Update Task in Clockify"
    },
    {
      "from": "Compare Datasets2",
      "to": "Get completed Task from Notion"
    },
    {
      "from": "Structure output1",
      "to": "Merge1"
    },
    {
      "from": "If unmapped in Notion",
      "to": "Create Client in Clockify"
    },
    {
      "from": "If unmapped in Notion",
      "to": "Update Client in Clockify"
    },
    {
      "from": "Get first workspace ID",
      "to": "Globals"
    },
    {
      "from": "If unmapped in Notion1",
      "to": "Create Project in Clockify"
    },
    {
      "from": "If unmapped in Notion1",
      "to": "Update Project in Clockify"
    },
    {
      "from": "If unmapped in Notion2",
      "to": "Create Task in Clockify"
    },
    {
      "from": "If unmapped in Notion2",
      "to": "Update Task in Clockify"
    },
    {
      "from": "Create Task in Clockify",
      "to": "Store Clockify ID in Notion2"
    },
    {
      "from": "No Operation, do nothing",
      "to": "Merge"
    },
    {
      "from": "Create Client in Clockify",
      "to": "Store Clockify ID in Notion"
    },
    {
      "from": "No Operation, do nothing2",
      "to": "Merge1"
    },
    {
      "from": "Remove Task from Clockify",
      "to": "Stop and Error2"
    },
    {
      "from": "Update Client in Clockify",
      "to": "Merge"
    },
    {
      "from": "Create Project in Clockify",
      "to": "Store Clockify ID in Notion1"
    },
    {
      "from": "Update Project in Clockify",
      "to": "Merge1"
    },
    {
      "from": "Remove Client from Clockify",
      "to": "Stop and Error"
    },
    {
      "from": "Store Clockify ID in Notion",
      "to": "No Operation, do nothing"
    },
    {
      "from": "Store Clockify ID in Notion",
      "to": "Remove Client from Clockify"
    },
    {
      "from": "Get active Tasks from Notion",
      "to": "Map values4"
    },
    {
      "from": "Remove Project from Clockify",
      "to": "Stop and Error1"
    },
    {
      "from": "Store Clockify ID in Notion1",
      "to": "No Operation, do nothing2"
    },
    {
      "from": "Store Clockify ID in Notion1",
      "to": "Remove Project from Clockify"
    },
    {
      "from": "Store Clockify ID in Notion2",
      "to": "Remove Task from Clockify"
    },
    {
      "from": "Get active Clients from Notion",
      "to": "Map values"
    },
    {
      "from": "Get active Tasks from Clockify",
      "to": "Map values5"
    },
    {
      "from": "Get completed Task from Notion",
      "to": "Set new values2"
    },
    {
      "from": "Get active Projects from Notion",
      "to": "Map values2"
    },
    {
      "from": "Get archived Client from Notion",
      "to": "Set new values"
    },
    {
      "from": "Get active Clients from Clockify",
      "to": "Map values1"
    },
    {
      "from": "Get active Projects from Clockify",
      "to": "Map values3"
    },
    {
      "from": "Get completed Project from Notion",
      "to": "Set new values1"
    },
    {
      "from": "Get active Projects from Clockify1",
      "to": "Get active Tasks from Clockify"
    }
  ]
}