{
  "openruna_format": "flow-graph-v1",
  "title": "0921_Splitout_Code_Send_Scheduled",
  "slug": "0921-splitout-code-send-scheduled",
  "source_filename": "0921_Splitout_Code_Send_Scheduled.json",
  "nodes": [
    {
      "id": "Get Last Week's Messages",
      "name": "Get Last Week's Messages",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Simplify Message",
      "name": "Simplify Message",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Group By User",
      "name": "Group By User",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Split Out",
      "name": "Split Out",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Messages to Items",
      "name": "Messages to Items",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Get User",
      "name": "Get User",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Aggregate",
      "name": "Aggregate",
      "integration": "aggregate",
      "kind": "logic"
    },
    {
      "id": "Split Out1",
      "name": "Split Out1",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Get Thread",
      "name": "Get Thread",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Aggregate1",
      "name": "Aggregate1",
      "integration": "aggregate",
      "kind": "logic"
    },
    {
      "id": "Simplify Thread Comments",
      "name": "Simplify Thread Comments",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Filter",
      "name": "Filter",
      "integration": "filter",
      "kind": "logic"
    },
    {
      "id": "Message Ref",
      "name": "Message Ref",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Split Out2",
      "name": "Split Out2",
      "integration": "splitOut",
      "kind": "logic"
    },
    {
      "id": "Map Reply UserIds",
      "name": "Map Reply UserIds",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Get Reply Users",
      "name": "Get Reply Users",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Google Gemini Chat Model",
      "name": "Google Gemini Chat Model",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Summarise Threads",
      "name": "Summarise Threads",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "Aggregate2",
      "name": "Aggregate2",
      "integration": "aggregate",
      "kind": "logic"
    },
    {
      "id": "Aggregate Reply Users",
      "name": "Aggregate Reply Users",
      "integration": "aggregate",
      "kind": "logic"
    },
    {
      "id": "Reply Users",
      "name": "Reply Users",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Google Gemini Chat Model1",
      "name": "Google Gemini Chat Model1",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Loop Over Items",
      "name": "Loop Over Items",
      "integration": "splitInBatches",
      "kind": "logic"
    },
    {
      "id": "Aggregate3",
      "name": "Aggregate3",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Aggregate4",
      "name": "Aggregate4",
      "integration": "aggregate",
      "kind": "logic"
    },
    {
      "id": "When Executed by Another Workflow",
      "name": "When Executed by Another Workflow",
      "integration": "executeWorkflow",
      "kind": "trigger"
    },
    {
      "id": "Switch",
      "name": "Switch",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Map Users to Messages",
      "name": "Map Users to Messages",
      "integration": "executeWorkflow",
      "kind": "action"
    },
    {
      "id": "Get User Info",
      "name": "Get User Info",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Fetch Message Replies",
      "name": "Fetch Message Replies",
      "integration": "executeWorkflow",
      "kind": "action"
    },
    {
      "id": "Has ReplyUsers?",
      "name": "Has ReplyUsers?",
      "integration": "if",
      "kind": "logic"
    },
    {
      "id": "Messages to Items1",
      "name": "Messages to Items1",
      "integration": "code",
      "kind": "logic"
    },
    {
      "id": "Aggregate Results",
      "name": "Aggregate Results",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Team Member Weekly Report Agent",
      "name": "Team Member Weekly Report Agent",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "Merge with Results",
      "name": "Merge with Results",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "Team Weekly Report Agent",
      "name": "Team Weekly Report Agent",
      "integration": "@n8n/n8n-nodes-langchain.chainLlm",
      "kind": "action"
    },
    {
      "id": "Google Gemini Chat Model2",
      "name": "Google Gemini Chat Model2",
      "integration": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "kind": "action"
    },
    {
      "id": "Post Report in Team Channel",
      "name": "Post Report in Team Channel",
      "integration": "slack",
      "kind": "action"
    },
    {
      "id": "Summarize Message Threads",
      "name": "Summarize Message Threads",
      "integration": "executeWorkflow",
      "kind": "action"
    },
    {
      "id": "Monday @ 6am",
      "name": "Monday @ 6am",
      "integration": "schedule",
      "kind": "trigger"
    }
  ],
  "edges": [
    {
      "from": "Filter",
      "to": "Simplify Thread Comments"
    },
    {
      "from": "Switch",
      "to": "Get User"
    },
    {
      "from": "Switch",
      "to": "Split Out1"
    },
    {
      "from": "Switch",
      "to": "Map Reply UserIds"
    },
    {
      "from": "Get User",
      "to": "Messages to Items"
    },
    {
      "from": "Aggregate",
      "to": "Get User Info"
    },
    {
      "from": "Split Out",
      "to": "Map Users to Messages"
    },
    {
      "from": "Aggregate1",
      "to": "Loop Over Items"
    },
    {
      "from": "Aggregate3",
      "to": "Aggregate4"
    },
    {
      "from": "Get Thread",
      "to": "Filter"
    },
    {
      "from": "Split Out1",
      "to": "Loop Over Items"
    },
    {
      "from": "Split Out2",
      "to": "Get Reply Users"
    },
    {
      "from": "Message Ref",
      "to": "Get Thread"
    },
    {
      "from": "Reply Users",
      "to": "Messages to Items1"
    },
    {
      "from": "Monday @ 6am",
      "to": "Get Last Week's Messages"
    },
    {
      "from": "Group By User",
      "to": "Split Out"
    },
    {
      "from": "Get Reply Users",
      "to": "Aggregate Reply Users"
    },
    {
      "from": "Has ReplyUsers?",
      "to": "Split Out2"
    },
    {
      "from": "Has ReplyUsers?",
      "to": "Reply Users"
    },
    {
      "from": "Loop Over Items",
      "to": "Aggregate3"
    },
    {
      "from": "Loop Over Items",
      "to": "Message Ref"
    },
    {
      "from": "Simplify Message",
      "to": "Aggregate"
    },
    {
      "from": "Aggregate Results",
      "to": "Team Member Weekly Report Agent"
    },
    {
      "from": "Map Reply UserIds",
      "to": "Has ReplyUsers?"
    },
    {
      "from": "Messages to Items",
      "to": "Simplify Message"
    },
    {
      "from": "Summarise Threads",
      "to": "Aggregate2"
    },
    {
      "from": "Merge with Results",
      "to": "Team Weekly Report Agent"
    },
    {
      "from": "Messages to Items1",
      "to": "Summarise Threads"
    },
    {
      "from": "Aggregate Reply Users",
      "to": "Reply Users"
    },
    {
      "from": "Fetch Message Replies",
      "to": "Summarize Message Threads"
    },
    {
      "from": "Map Users to Messages",
      "to": "Fetch Message Replies"
    },
    {
      "from": "Get Last Week's Messages",
      "to": "Group By User"
    },
    {
      "from": "Simplify Thread Comments",
      "to": "Aggregate1"
    },
    {
      "from": "Team Weekly Report Agent",
      "to": "Post Report in Team Channel"
    },
    {
      "from": "Summarize Message Threads",
      "to": "Aggregate Results"
    },
    {
      "from": "Team Member Weekly Report Agent",
      "to": "Merge with Results"
    },
    {
      "from": "When Executed by Another Workflow",
      "to": "Switch"
    }
  ]
}