{
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "f4322829-1799-4954-a75a-b40e95f41c10",
      "name": "Get Last Week's Messages",
      "type": "n8n-nodes-base.slack",
      "position": [
        -2200,
        -160
      ],
      "parameters": {
        "filters": {
          "oldest": "={{ $now.minus('1', 'week') }}",
          "inclusive": false
        },
        "resource": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C06RS1WPUQ6",
          "cachedResultName": "general"
        },
        "operation": "history",
        "returnAll": true
      },
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "f0e89c19-ee1f-4a4d-8176-c222c18e0514",
      "name": "Simplify Message",
      "type": "n8n-nodes-base.set",
      "position": [
        -1320,
        380
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "547e8934-e6f2-47f0-b8a0-c60bd9d8a0c3",
              "name": "ts",
              "type": "string",
              "value": "={{ $json.ts }}"
            },
            {
              "id": "22473b44-b1d9-4b85-b0d9-1a54c5511ff4",
              "name": "userId",
              "type": "string",
              "value": "={{ $('Get User').first().json.id }}"
            },
            {
              "id": "2059b147-8b12-42c9-bee8-488dc11a0bf7",
              "name": "userName",
              "type": "string",
              "value": "={{ $('Get User').first().json.name }}"
            },
            {
              "id": "34440ea6-ee99-4cd4-9e1c-cf561d335180",
              "name": "type",
              "type": "string",
              "value": "={{ $json.type }}"
            },
            {
              "id": "ff1155c5-43e1-4e0e-82a8-9e013a7f1db1",
              "name": "text",
              "type": "string",
              "value": "={{ $json.text.replace(/(<@[^>]+>)/ig, '').trim() }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "1293a7cf-1467-432f-b7ed-606146618808",
      "name": "Group By User",
      "type": "n8n-nodes-base.code",
      "position": [
        -2000,
        -160
      ],
      "parameters": {
        "jsCode": "const keyByUser = $input.all()\n  .map(item => item.json)\n  .reduce((acc, message) => {\n    return {\n      ...acc,\n      [message.user]: Array.isArray(acc[message.user])\n        ?  acc[message.user].concat(message)\n        : [message]\n    }\n  }, {});\n\nreturn {\n  data: Object\n    .keys(keyByUser)\n    .map(key => keyByUser[key])\n};"
      },
      "typeVersion": 2
    },
    {
      "id": "681a2368-9688-4ebd-bb88-f48c7ccb3e54",
      "name": "Split Out",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -1800,
        -160
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "data"
      },
      "typeVersion": 1
    },
    {
      "id": "38a5e6b0-ba4a-4aaa-93f2-ec2a73e5e1af",
      "name": "Messages to Items",
      "type": "n8n-nodes-base.code",
      "position": [
        -1540,
        380
      ],
      "parameters": {
        "jsCode": "return Object.values($('Switch').first().json.data)"
      },
      "typeVersion": 2
    },
    {
      "id": "066e40ef-91d7-4db0-95bb-2027c9251a23",
      "name": "Get User",
      "type": "n8n-nodes-base.slack",
      "position": [
        -1760,
        380
      ],
      "parameters": {
        "user": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.data['0'].user }}"
        },
        "resource": "user"
      },
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "c5d0b4d1-94eb-4e14-9985-85d384d6d96f",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1100,
        380
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData",
        "destinationFieldName": "messages"
      },
      "typeVersion": 1
    },
    {
      "id": "47537a27-90d9-4edc-b9f4-66205bc4a4c2",
      "name": "Split Out1",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -1760,
        780
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "data.messages"
      },
      "typeVersion": 1
    },
    {
      "id": "6fdd0fc0-c563-46a3-afb2-48853d3e6cef",
      "name": "Get Thread",
      "type": "n8n-nodes-base.slack",
      "position": [
        -1100,
        780
      ],
      "parameters": {
        "ts": "={{ $json.ts }}",
        "filters": {},
        "resource": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C06RS1WPUQ6",
          "cachedResultName": "general"
        },
        "operation": "replies"
      },
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "0fc6664f-9076-4525-acaa-0f5009de2611",
      "name": "Aggregate1",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -440,
        860
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData",
        "destinationFieldName": "replies"
      },
      "typeVersion": 1
    },
    {
      "id": "caf963e5-3d5b-42d8-88ce-1fb5bf03a528",
      "name": "Simplify Thread Comments",
      "type": "n8n-nodes-base.set",
      "position": [
        -660,
        780
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "82bc8cbe-c606-4717-b29d-2d8acc149271",
              "name": "ts",
              "type": "string",
              "value": "={{ $json.ts }}"
            },
            {
              "id": "8fcc957d-aa9f-47df-99e8-560228fde30f",
              "name": "userId",
              "type": "string",
              "value": "={{ $json.user }}"
            },
            {
              "id": "e6c6deb3-c3ba-4452-be7c-1a0c42c5dc2c",
              "name": "userName",
              "type": "string",
              "value": ""
            },
            {
              "id": "31d1206d-ecbd-48d3-a00a-845fd53d1cfa",
              "name": "type",
              "type": "string",
              "value": "={{ $json.type }}"
            },
            {
              "id": "da126e6c-8dfc-41aa-991a-231b3cb3004b",
              "name": "text",
              "type": "string",
              "value": "={{ $json.text }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "aab0ae1c-50da-49e5-a373-c32b39108041",
      "name": "Filter",
      "type": "n8n-nodes-base.filter",
      "position": [
        -880,
        780
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "a6d43072-380e-40f2-985b-faeffdaffdce",
              "operator": {
                "type": "string",
                "operation": "notEquals"
              },
              "leftValue": "={{ $('Split Out1').item.json.ts }}",
              "rightValue": "={{ $json.ts }}"
            }
          ]
        }
      },
      "typeVersion": 2.2,
      "alwaysOutputData": true
    },
    {
      "id": "35cdb470-a9eb-4544-999c-5360dda0f1a3",
      "name": "Message Ref",
      "type": "n8n-nodes-base.noOp",
      "position": [
        -1320,
        780
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "95500787-7965-4951-a729-615feb636021",
      "name": "Split Out2",
      "type": "n8n-nodes-base.splitOut",
      "position": [
        -1320,
        1080
      ],
      "parameters": {
        "options": {},
        "fieldToSplitOut": "replyUsers"
      },
      "typeVersion": 1
    },
    {
      "id": "250d61cc-120d-4c0c-8220-f9a68a90b667",
      "name": "Map Reply UserIds",
      "type": "n8n-nodes-base.set",
      "position": [
        -1760,
        1160
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "dda6e3d8-0097-4621-9619-07cf39e93018",
              "name": "replyUsers",
              "type": "array",
              "value": "={{\n$json.data.messages\n  .flatMap(item => item.replies.flatMap(reply => reply.userId))\n  .compact()\n  .unique()\n}}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "3358736b-fc6e-4e18-9a58-4ffc59308055",
      "name": "Get Reply Users",
      "type": "n8n-nodes-base.slack",
      "position": [
        -1100,
        1080
      ],
      "parameters": {
        "user": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $json.replyUsers }}"
        },
        "resource": "user"
      },
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "e98acd0f-f1e3-47f4-ae9c-7259462cf231",
      "name": "Google Gemini Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -120,
        1380
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash"
      },
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "0ffb9b87-43db-4417-8c37-384a33cbb830",
      "name": "Summarise Threads",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -220,
        1160
      ],
      "parameters": {
        "text": "=## Message\n{{ $json.userName }} (<@{{ $json.userId }}>) says at {{ new DateTime(parseFloat($json.ts)*1000).format('d MMM HH:mma') }}:\n> {{ $json.text }}\n\n## {{ ($json.replies ?? []).compact().length }} Replies\n{{\n($json.replies ?? [])\n  .compact()\n    .map(reply => ({\n      ...reply,\n      userName: $('Reply Users').item.json.data\n        .find(user => user.id === reply.userId)?.name\n    }))\n    .map(reply =>\n      `* ${new DateTime(parseFloat($json.ts)*1000).format('d MMM HH:mma')}, ${reply.userName} (<@${reply.userId}>) replies: ${reply.text}`\n)\n    .join('\\n')\n  \n}}",
        "messages": {
          "messageValues": [
            {
              "message": "=Summarize the topic of the slack message and the resulting conversation from the replies (if any). Highlight any achievements, accomplishments, attempts or challenges mentioned."
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.6
    },
    {
      "id": "678a48ec-acb1-4c42-b8c9-d4cd762e4a2a",
      "name": "Aggregate2",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        160,
        1160
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData"
      },
      "typeVersion": 1
    },
    {
      "id": "ab39b117-e1bd-495f-a92d-fb79973b3601",
      "name": "Aggregate Reply Users",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -880,
        1080
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData"
      },
      "typeVersion": 1
    },
    {
      "id": "c71b7ca6-8245-4262-b2f1-abea511390d6",
      "name": "Reply Users",
      "type": "n8n-nodes-base.set",
      "position": [
        -660,
        1160
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "9f721cde-2d36-40ee-b7d8-a920695157a9",
              "name": "data",
              "type": "array",
              "value": "={{ $json.data ?? [] }}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "4b2c452b-4e68-4536-aa58-a85fd586c606",
      "name": "Google Gemini Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        -460,
        0
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash"
      },
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "d65b4f27-52ab-4c29-8692-ee2835fddd17",
      "name": "Loop Over Items",
      "type": "n8n-nodes-base.splitInBatches",
      "position": [
        -1540,
        780
      ],
      "parameters": {
        "options": {}
      },
      "typeVersion": 3
    },
    {
      "id": "cfb55c7f-a89d-4ce4-8709-31e5e119c6ee",
      "name": "Aggregate3",
      "type": "n8n-nodes-base.set",
      "position": [
        -1320,
        580
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "={{\n{\n  ...$('Split Out1').item.json,\n  replies: $json.replies.filter(reply => reply.ts)\n}\n}}\n"
      },
      "typeVersion": 3.4
    },
    {
      "id": "8b70e30c-99d5-4086-85aa-e6cfcc7f14e7",
      "name": "Aggregate4",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        -1100,
        580
      ],
      "parameters": {
        "options": {},
        "aggregate": "aggregateAllItemData"
      },
      "typeVersion": 1
    },
    {
      "id": "1cef5853-d301-49cb-9f58-c1a9128b8b33",
      "name": "When Executed by Another Workflow",
      "type": "n8n-nodes-base.executeWorkflowTrigger",
      "position": [
        -2200,
        780
      ],
      "parameters": {
        "workflowInputs": {
          "values": [
            {
              "name": "action"
            },
            {
              "name": "data",
              "type": "object"
            }
          ]
        }
      },
      "typeVersion": 1.1
    },
    {
      "id": "b30c2433-3bfe-480f-a4bd-8c41900802a2",
      "name": "Switch",
      "type": "n8n-nodes-base.switch",
      "position": [
        -1980,
        780
      ],
      "parameters": {
        "rules": {
          "values": [
            {
              "outputKey": "users",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "fa924990-9f6e-40c4-aaec-50d4f5927414",
                    "operator": {
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.action }}",
                    "rightValue": "users"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "message_replies",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "26ce01b2-9e5b-43e8-926d-9d726c9ca74d",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.action }}",
                    "rightValue": "message_replies"
                  }
                ]
              },
              "renameOutput": true
            },
            {
              "outputKey": "message_summarize",
              "conditions": {
                "options": {
                  "version": 2,
                  "leftValue": "",
                  "caseSensitive": true,
                  "typeValidation": "strict"
                },
                "combinator": "and",
                "conditions": [
                  {
                    "id": "45fd7264-6ac3-4bbd-8a91-c4cfb33b4545",
                    "operator": {
                      "name": "filter.operator.equals",
                      "type": "string",
                      "operation": "equals"
                    },
                    "leftValue": "={{ $json.action }}",
                    "rightValue": "message_summarize"
                  }
                ]
              },
              "renameOutput": true
            }
          ]
        },
        "options": {}
      },
      "typeVersion": 3.2
    },
    {
      "id": "b05735c3-4beb-4a80-8297-85e952e81270",
      "name": "Map Users to Messages",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        -1520,
        -160
      ],
      "parameters": {
        "mode": "each",
        "options": {},
        "workflowId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $workflow.id }}"
        },
        "workflowInputs": {
          "value": {
            "data": "={{ $json }}",
            "action": "users"
          },
          "schema": [
            {
              "id": "action",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "action",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "data",
              "type": "object",
              "display": true,
              "required": false,
              "displayName": "data",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": true
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "28ed52b2-b0c3-4f19-b394-347c8ff9e323",
      "name": "Get User Info",
      "type": "n8n-nodes-base.set",
      "position": [
        -880,
        380
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "17344879-1e10-4738-8db0-6e0daddea920",
              "name": "user",
              "type": "object",
              "value": "={{\n{\n  id: $('Get User').item.json.id,\n  team_id: $('Get User').item.json.team_id,\n  name: $('Get User').item.json.name,\n  is_bot: $('Get User').item.json.is_bot\n}\n}}"
            }
          ]
        },
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "bbd7c77e-2405-4e63-ae38-f064beafab9c",
      "name": "Fetch Message Replies",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        -1300,
        -160
      ],
      "parameters": {
        "mode": "each",
        "options": {},
        "workflowId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $workflow.id }}"
        },
        "workflowInputs": {
          "value": {
            "data": "={{ $json }}",
            "action": "message_replies"
          },
          "schema": [
            {
              "id": "action",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "action",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "data",
              "type": "object",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "data",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": true
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "edf34e72-04b4-4fed-a3af-42dec1c7ed17",
      "name": "Has ReplyUsers?",
      "type": "n8n-nodes-base.if",
      "position": [
        -1540,
        1160
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "813d9fea-9de0-4151-aa45-d38a42f808b8",
              "operator": {
                "type": "array",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.replyUsers }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "dc9c6cf0-c627-4311-9160-62204e9b67e0",
      "name": "Messages to Items1",
      "type": "n8n-nodes-base.code",
      "position": [
        -440,
        1160
      ],
      "parameters": {
        "jsCode": "return $('Switch').first().json.data.messages"
      },
      "typeVersion": 2
    },
    {
      "id": "0b830a49-c77e-41f3-8d70-47a26bfe0a0e",
      "name": "Aggregate Results",
      "type": "n8n-nodes-base.set",
      "position": [
        -760,
        -160
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "={{\n{\n  ...$('Map Users to Messages').item.json,\n  messages: $('Fetch Message Replies').item.json.data\n  .map((message,idx) => ({\n    ...message,\n    summary: $json.data[idx].text,\n  }))\n}\n}}"
      },
      "typeVersion": 3.4
    },
    {
      "id": "b0c66c7f-0fed-465c-8933-7b803c9b3b64",
      "name": "Team Member Weekly Report Agent",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        -560,
        -160
      ],
      "parameters": {
        "text": "={{\n$json.messages\n  .map((message,idx) =>\n    `${message.userName} (<@${message.userId}>) posted on ${new Date(parseFloat(message.ts) * 1000).format('d MMM')}:\\n> \\\"${message.text}\\\".\\nThe summary of this thread is as follows:\\n${message.summary.replaceAll('\\n', ' ')}`\n  )\n  .join('\\n---\\n')\n}}",
        "messages": {
          "messageValues": [
            {
              "message": "=Your are energetic assistant who produces weekly mini-reports on team members by analysing their slack messages from last week and posts these reports on the following Monday.\nThere has already been some work done to collect and summarise each thread made by the user within the last week.\nYour task is to summarize all the threads by this user and any interactions with other users involved and produce a mini report to share with other team members.\nFocus on wins and challenges.\nAim to motivate and call out any outstanding concerns where appropriate.\nWelcome any new team members who may have joined and say good bye to those who may have left."
            }
          ]
        },
        "promptType": "define"
      },
      "typeVersion": 1.6
    },
    {
      "id": "e4a487ae-8d71-4fe6-a760-7a0fb95a8fac",
      "name": "Merge with Results",
      "type": "n8n-nodes-base.set",
      "position": [
        -60,
        -160
      ],
      "parameters": {
        "mode": "raw",
        "options": {},
        "jsonOutput": "={{\n{\n  ...$('Aggregate Results').item.json,\n  report: $json.text,\n}\n}}"
      },
      "typeVersion": 3.4
    },
    {
      "id": "06736a5c-7450-406a-ad3a-08a368d1addf",
      "name": "Team Weekly Report Agent",
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "position": [
        160,
        -160
      ],
      "parameters": {
        "text": "={{\n$input.all()\n  .map(item => item.json)\n  .map(item =>\n`user: ${item.user.name} <@${item.user.id}>\nmessage count: ${item.messages.length}\nreport: ${item.report.replaceAll('\\n', ' ')}`\n  ).join('\\n---\\n')\n}}",
        "messages": {
          "messageValues": [
            {
              "message": "=Your are energetic assistant who produces a team-wide weekly report from all activity of all team members in the prior last week and posts this single report on the following Monday.\nThere has already been some work done to collect individual reports from team members.\nYour task is generate a report covering the team to prepare and motivate them for the upcoming week.\nFocus on wins and challenges if available.\nLook out for similar activities between members and make a connection if possible.\nAim to motivate and call out any outstanding concerns where appropriate.\nWelcome any new team members who may have joined and say good bye to those who may have left."
            }
          ]
        },
        "promptType": "define"
      },
      "executeOnce": true,
      "typeVersion": 1.6
    },
    {
      "id": "eef36957-9bf0-4be3-95a8-73bbefdc0c85",
      "name": "Google Gemini Chat Model2",
      "type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
      "position": [
        240,
        0
      ],
      "parameters": {
        "options": {},
        "modelName": "models/gemini-2.0-flash"
      },
      "credentials": {
        "googlePalmApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "bfa5c99f-cd8f-4d34-9e6d-9ed476c87d22",
      "name": "Post Report in Team Channel",
      "type": "n8n-nodes-base.slack",
      "position": [
        820,
        -160
      ],
      "parameters": {
        "text": "={{ $json.text }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C06RS1WPUQ6",
          "cachedResultName": "general"
        },
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "name": "<your credential>"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "b9a11c72-de41-4a45-85a0-672cf54ef152",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2460,
        -440
      ],
      "parameters": {
        "color": 7,
        "width": 820,
        "height": 520,
        "content": "## 1. \uc9c0\ub09c \uc8fc \ubaa8\ub4e0 \ud65c\ub3d9 \uac00\uc838\uc624\uae30  \n[Slack \ub178\ub4dc\uc5d0 \ub300\ud574 \ub354 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.slack)  \n\n\uc6b0\ub9ac\ub294 \uc9c0\ub09c 7\uc77c \ub3d9\uc548 \uc6b0\ub9ac \ud300 \ucc44\ub110\uc758 \ubaa8\ub4e0 \ud65c\ub3d9\uc744 \uac00\uc838\uc640 \uba54\uc2dc\uc9c0 \uc791\uc131\uc790\ubcc4\ub85c \uadf8\ub8f9\ud654\ud558\ub294 \uac83\uc73c\ub85c \uc2dc\uc791\ud558\uaca0\uc2b5\ub2c8\ub2e4. Slack \ub178\ub4dc\uc640 DateTime \ud544\ud130\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc774\ub97c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub807\uac8c \ud558\uba74 \ubcf4\uace0\ub97c \uc704\ud55c \uc6d0\uc2dc \ub370\uc774\ud130\ub97c \uc5bb\uc5b4 \ubd84\uc11d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "8afc048f-ce06-46c3-916f-cbcf14bcfe2b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1620,
        -440
      ],
      "parameters": {
        "color": 7,
        "width": 760,
        "height": 520,
        "content": "## 2. \uba54\uc2dc\uc9c0 \uc2a4\ub808\ub4dc \ubc0f \ub300\ud654 \uc694\uc57d\n\n[Execute Workflow \ub178\ub4dc\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.executeworkflow)\n\n\uc774 \ucd5c\uc0c1\uc704 \ucc44\ub110 \uba54\uc2dc\uc9c0 \uac01\uac01\uc5d0 \ub300\ud55c \ubaa8\ub4e0 \ub2f5\uae00\uc744 \uac00\uc838\uc640\uc11c \ucd94\uac00 \ub370\uc774\ud130 \ub9c8\uc774\ub2dd\uc744 \uc218\ud589\ud560 \uac83\uc785\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ub300\ud654\uc758 \uc804\uccb4 \ub9e5\ub77d\uc744 \uc5bb\uc744 \uc218 \uc788\uc73c\uba70, \ubcf4\uace0\uc11c\uc5d0 \ucd94\uac00\ud560 \uc218 \uc788\ub294 \uba87 \uac00\uc9c0 \uacb0\uc815, \ubc1c\uacac \ub610\ub294 \uc6b0\ub824 \uc0ac\ud56d\uc744 \ud3ec\ucc29\ud560 \uc218 \uc788\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4. \uc774 \ub370\uc774\ud130 \ub9c8\uc774\ub2dd\uc740 \ub9ce\uc740 '\uc544\uc774\ud15c'\uc744 \ub2e4\ub8e8\uc5b4\uc57c \ud558\uba70, \uad00\ub9ac\ud558\uae30 \uc5b4\ub824\uc6cc\uc9c0\ubbc0\ub85c \uc11c\ube0c\uc6cc\ud06c\ud50c\ub85c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc774 \uc791\uc5c5\uc744 \ub2e8\uc21c\ud654\ud560 \uac83\uc785\ub2c8\ub2e4.\n\n\ub370\uc774\ud130 \ub9c8\uc774\ub2dd\uc774 \uc644\ub8cc\ub418\uba74, AI\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac01 \uc2a4\ub808\ub4dc\ub97c \uc694\uc57d\ud558\uace0, \ubcf4\uace0\uc11c\uc5d0 \uac00\uce58 \uc788\ub294 \uc911\uc694\ud55c \uc774\ubca4\ud2b8\ub9cc \ucea1\ucc98\ud558\ub3c4\ub85d \ud558\uaca0\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "c9a7358c-fbe7-435a-b435-d7b07599bdc6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -840,
        -440
      ],
      "parameters": {
        "color": 7,
        "width": 660,
        "height": 620,
        "content": "## 3. \uac01 \ud300 \uba64\ubc84\uc5d0 \ub300\ud55c \ud65c\ub3d9 \ubcf4\uace0\uc11c \uc0dd\uc131\n\n[Basic LLM \ub178\ub4dc\uc5d0 \ub300\ud574 \uc790\uc138\ud788 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainllm)\n\n\uc0ac\uc6a9\uc790\ubcc4\ub85c \uadf8\ub8f9\ud654\ub41c \uc694\uc57d\ub41c \uc2a4\ub808\ub4dc\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc774\ub97c \uc9d1\uacc4\ud558\uc5ec AI\uc5d0\uac8c \ub2e4\uc2dc \uc81c\uacf5\ud558\uc5ec \ud300 \uba64\ubc84\uc5d0 \ub300\ud55c \uc8fc\uac04 \ubcf4\uace0\uc11c\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc5ec\uae30\uc5d0\ub294 \uadf8\ub4e4\uc758 \uc2b9\ub9ac, \ub3c4\uc804, \ud559\uc2b5 \ub610\ub294 \uacb0\uc815\uc774 \ud3ec\ud568\ub420 \uc218 \uc788\uc2b5\ub2c8\ub2e4 - \ubcf4\uace0\uc11c\uc758 \ubaa8\uc591\uc740 \uc815\ub9d0\ub85c \ub2f9\uc2e0\uc5d0\uac8c \ub2ec\ub824 \uc788\uc2b5\ub2c8\ub2e4.\n\n\uc774 \ucd9c\ub825\uc758 \uc7ac\ubbf8\uc788\ub294 \ubd80\ubd84\uc740 \ubcf4\uace0\uc11c\uc758 \uc74c\uc131\uacfc \uc804\ub2ec \ubc29\uc2dd\uc744 \uacb0\uc815\ud558\ub294 \uac83\uc785\ub2c8\ub2e4. \uc9c0\ub8e8\ud558\uc9c0 \uc54a\uac8c \ud558\uace0 \uc57d\uac04\uc758 \uac1c\uc131\uacfc \uc2a4\ud0c0\uc77c\uc744 \ucd94\uac00\ud558\ub294 \uac83\uc744 \uace0\ub824\ud558\uc138\uc694!"
      },
      "typeVersion": 1
    },
    {
      "id": "add32ef0-b515-44e6-a234-0a0fa77f4e84",
      "name": "Summarize Message Threads",
      "type": "n8n-nodes-base.executeWorkflow",
      "position": [
        -1080,
        -160
      ],
      "parameters": {
        "mode": "each",
        "options": {},
        "workflowId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $workflow.id }}"
        },
        "workflowInputs": {
          "value": {
            "data": "={{\n{\n  ...$('Map Users to Messages').item.json,\n  messages: $json.data\n}\n}}",
            "action": "message_summarize"
          },
          "schema": [
            {
              "id": "action",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "action",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "data",
              "type": "object",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "data",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [],
          "attemptToConvertTypes": false,
          "convertFieldsToString": true
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "17f2f45e-2c95-4b3c-b6db-a2881ae88964",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -160,
        -440
      ],
      "parameters": {
        "color": 7,
        "width": 680,
        "height": 620,
        "content": "## 4. \uc804\uccb4 \ud300\uc744 \uc704\ud55c \ucd5c\uc885 \ubcf4\uace0\uc11c \uc0dd\uc131\n\n[Basic LLM \ub178\ub4dc\uc5d0 \ub300\ud574 \ub354 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/cluster-nodes/root-nodes/n8n-nodes-langchain.chainllm)\n\n\uc774 \ub2e8\uacc4\uc5d0\uc11c, \uc6b0\ub9ac\ub294 \ud55c \ub2e8\uacc4 \ub354 \ub192\uac8c \uac00\uc11c \ubaa8\ub4e0 \uac1c\ubcc4 \ud300\uc6d0 \ubcf4\uace0\uc11c\ub97c \ubaa8\uc544\uc11c \ud070 \ud300 \ubcf4\uace0\uc11c\ub85c \ub9cc\ub4ed\ub2c8\ub2e4. \uc774 \ubc29\ubc95\uc73c\ub85c, \uac1c\uc694\ub294 \ube44\uc2b7\ud55c \ud65c\ub3d9\uc744 \uadf8\ub8f9\ud654\ud558\uace0 \ud65c\ub3d9\uc744 \ub354 \ub113\uc740 \uc758\ubbf8\ub85c \uc77c\ubc18\ud654\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uba54\uc2dc\uc9c0 \ucd9c\ub825\ub3c4 \ub354 \uc9e7\uc544\uc9c0\uba70, \uc77c\ubd80 \uc0ac\ub78c\ub4e4\uc740 \uc18c\ud654\ud558\uae30 \ub354 \uc27d\uac8c \ub290\ub084 \uc218 \uc788\uc2b5\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "18cc7fa7-603c-4165-97c6-80d72fd4a9a6",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        540,
        -440
      ],
      "parameters": {
        "color": 7,
        "width": 680,
        "height": 620,
        "content": "## 5. \ud300 \ucc44\ub110\uc5d0 \ubcf4\uace0\uc11c \uac8c\uc2dc (\uc6d4\uc694\uc77c \uc544\uce68!)\n\n[Slack \ub178\ub4dc\uc5d0 \ub300\ud574 \ub354 \uc54c\uc544\ubcf4\uae30](https://docs.n8n.io/integrations/builtin/app-nodes/n8n-nodes-base.slack)\n\n\ub9c8\uce68\ub0b4, \uc6b0\ub9ac\ub294 \ud300 \ucc44\ub110\uc5d0 \uc8fc\uac04 \ubcf4\uace0\uc11c\ub97c \uac8c\uc2dc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\uac83\uc740 \uc8fc\ub9d0 \ud734\uc2dd \ud6c4 \ud300\uc744 \uc704\ud55c \ube60\ub978 \uc694\uc57d\uc744 \uc790\ub3d9\ud654\ud558\ub294 \ud6cc\ub96d\ud55c \ubc29\ubc95\uc73c\ub85c, \uc790\ub9ac\ub97c \ube44\uc6b4 \uc0ac\ub78c\ub4e4\uc744 \ub2e4\uc2dc \uc815\uc0c1 \uada4\ub3c4\ub85c \uc774\ub04c\uac70\ub098 \uac00\ub054 \ubc29\ubb38\ud558\uc5ec \ud611\ub825\ud560 \uc218 \uc788\ub294 \ud074\ub77c\uc774\uc5b8\ud2b8 \ud300\uc744 \uc5c5\ub370\uc774\ud2b8\ud558\ub294 \ub370 \uc720\uc6a9\ud569\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "9cd8bdd6-5fc7-4e44-bcd0-058bc5d11335",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2460,
        360
      ],
      "parameters": {
        "color": 7,
        "width": 560,
        "height": 340,
        "content": "## 5. \uc11c\ube0c\uc6cc\ud06c\ud50c\ub85c\uc6b0\n\n[Execute Workflow Trigger\uc5d0 \ub300\ud574 \ub354 \uc77d\uae30](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.executeworkflowtrigger)\n\n\uba54\uc778 \uc6cc\ud06c\ud50c\ub85c\uc6b0\uc5d0 \uc11c\ube0c\uc6cc\ud06c\ud50c\ub85c\uc6b0\ub97c \ud1b5\ud569\ud558\ub294 \uac83\uc740 \uace0\uae09 \uae30\uc220\uc774\uba70, \uc911\ucca9\ub41c \uc544\uc774\ud15c\uc774\ub098 \ub8e8\ud504\ub97c \ub9ce\uc774 \ub2e4\ub8e8\ub294 \uacbd\uc6b0\uc5d0 \ub54c\ub54c\ub85c \ud544\uc694\ud569\ub2c8\ub2e4.\n\n\uc774 \uc2dc\ub098\ub9ac\uc624\uc5d0\uc11c, \ud544\uc694\ud55c \ub370\uc774\ud130\ub97c \uc5bb\uae30 \uc704\ud574 \uc5ec\ub7ec \uc870\ud68c\ub97c \uc218\ud589\ud569\ub2c8\ub2e4; \uc0ac\uc6a9\uc790, \uba54\uc2dc\uc9c0 \ubc0f \ub2f5\uae00\ub85c, \ud15c\ud50c\ub9bf \uc6a9\uc5b4\ub85c \ub9d0\ud558\uba74 \uc5ec\ub7ec \ub8e8\ud504 \ub178\ub4dc\ub97c \uc5f0\uacb0\ud574\uc57c \ud569\ub2c8\ub2e4. \uadf8\ub7ec\ub098, \ub8e8\ud504 \ub178\ub4dc\ub97c \ub8e8\ud504 \ub178\ub4dc \uc548\uc5d0 \uc911\ucca9\ud560 \ub54c, \uc544\uc774\ud15c \ucc38\uc870\ub97c \ucd94\uc801\ud558\uae30 \uc5b4\ub824\uc6cc\uc9d1\ub2c8\ub2e4.\n\n\uc11c\ube0c\uc6cc\ud06c\ud50c\ub85c\uc6b0\ub97c \uc0ac\uc6a9\ud558\uba74, \uac01 \ub8e8\ud504\ub97c \ubcc4\ub3c4\uc758 \uc2e4\ud589\uc73c\ub85c \ubd84\ud574\ud558\uc5ec \uc544\uc774\ud15c\uacfc \uc544\uc774\ud15c \ucc38\uc870\ub97c \ub354 \uac04\ub2e8\ud558\uace0 \uc120\ud615\uc801\uc778 \ubc29\uc2dd\uc73c\ub85c \ucc98\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uadf8 \uacb0\uacfc, \ud15c\ud50c\ub9bf \uc804\uccb4\uc5d0\uc11c \uc608\uce21 \uac00\ub2a5\ud55c \ub370\uc774\ud130 \ud750\ub984\uc774 \ub429\ub2c8\ub2e4."
      },
      "typeVersion": 1
    },
    {
      "id": "6f6fc730-5fc8-4dcc-b86d-e3b2f0e792a0",
      "name": "Monday @ 6am",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -2400,
        -160
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "cronExpression",
              "expression": "0 6 * * 1"
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "ab94557c-debb-425c-ac83-62e39e43d28b",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2940,
        -1380
      ],
      "parameters": {
        "width": 420,
        "height": 1460,
        "content": "## \uc2dc\ub3c4\ud574 \ubcf4\uc138\uc694!\n### \uc774 n8n \ud15c\ud50c\ub9bf\uc740 \uc9c0\ub09c \uc8fc \uc2ac\ub799\uc5d0\uc11c \uac1c\ubcc4 \ud300\uc6d0 \ud65c\ub3d9\uc744 \uc694\uc57d\ud558\uace0 \ubcf4\uace0\uc11c\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4.\n\n\uc6d0\uaca9 \ud300\uc758 \uacbd\uc6b0, \ucc44\ud305\uc740 \uc791\uc5c5\uc774 \uc644\ub8cc\ub418\ub3c4\ub85d \ubcf4\uc7a5\ud558\ub294 \uc911\uc694\ud55c \ucee4\ubba4\ub2c8\ucf00\uc774\uc158 \ub3c4\uad6c\uc774\uc9c0\ub9cc, \uc218\ub9ce\uc740 \ub300\ud654\uac00 \ub3d9\uc2dc\uc5d0 \uc5ec\ub7ec \uc2a4\ub808\ub4dc\uc5d0\uc11c \ubc1c\uc0dd\ud558\uba74\uc11c \uc544\uc774\ub514\uc5b4, \uc815\ubcf4 \ubc0f \uacb0\uc815\uc774 \uc21c\uac04\uc801\uc73c\ub85c \uc874\uc7ac\ud558\ub2e4\uac00 \ube60\ub974\uac8c \uc0ac\ub77c\uc9c0\uace0 \uc8fc\ub9d0\uc774 \ub418\uba74 \uc644\uc804\ud788 \uc78a\ud600\uc9d1\ub2c8\ub2e4!\n\n\uc774 \ud15c\ud50c\ub9bf\uc744 \uc0ac\uc6a9\ud558\uba74 \uc774\ub7f0 \uc77c\uc774 \ubc1c\uc0dd\ud558\uc9c0 \uc54a\uc744 \uc218 \uc788\uc2b5\ub2c8\ub2e4. AI\uac00 \uc9c0\ub09c \uc8fc \ud65c\ub3d9\uc744 \ud0d0\uc0c9\ud558\uc5ec \ubaa8\ub4e0 \uc2a4\ub808\ub4dc\ub97c \uc694\uc57d\ud558\uace0, \uce90\uc8fc\uc5bc\ud558\uace0 \uc0dd\uc0dd\ud55c \ubcf4\uace0\uc11c\ub97c \uc0dd\uc131\ud558\uc5ec \ud300\uc774 \uc774\ubc88 \uc8fc\uc5d0 \ub2e4\uc2dc \uc9d1\uc911\ud560 \uc218 \uc788\ub3c4\ub85d \ud569\ub2c8\ub2e4. \ud504\ub85c\uc81d\ud2b8 \uad00\ub9ac\uc790\uc758 \uafc8\uc785\ub2c8\ub2e4!\n\n### \uc791\ub3d9 \uc6d0\ub9ac\n* \ub9e4\uc8fc \uc6d4\uc694\uc77c \uc624\uc804 6\uc2dc\uc5d0 \uc2a4\ucf00\uc904\ub41c \ud2b8\ub9ac\uac70\uac00 \uc124\uc815\ub418\uc5b4 \uc9c0\ub09c \uc8fc \ud300 \ucc44\ub110 \uba54\uc2dc\uc9c0\ub97c \uc218\uc9d1\ud569\ub2c8\ub2e4.\n* \uac01 \uba54\uc2dc\uc9c0 \uc2a4\ub808\ub4dc\ub294 \uc0ac\uc6a9\uc790\ubcc4\ub85c \uadf8\ub8f9\ud654\ub418\uace0, \ub2f5\ubcc0\uc5d0 \ub300\ud55c \ub370\uc774\ud130 \ub9c8\uc774\ub2dd\uc774 \uc218\ud589\ub429\ub2c8\ub2e4.\n* \uacb0\ud569\ub41c \ud6c4, AI\uac00 \uc6d0\uc2dc \uba54\uc2dc\uc9c0\ub97c \ubd84\uc11d\ud558\uc5ec \ud765\ubbf8\ub85c\uc6b4 \uad00\ucc30\uacfc \ud558\uc774\ub77c\uc774\ud2b8\ub97c \ucd94\ucd9c\ud569\ub2c8\ub2e4.\n* \uc0ac\uc6a9\uc790\uc758 \uc694\uc57d\ub41c \uc2a4\ub808\ub4dc\uac00 \ud568\uaed8 \uacb0\ud569\ub418\uc5b4 \ub2e4\ub978 AI \uc5d0\uc774\uc804\ud2b8\uc5d0 \uc804\ub2ec\ub418\uc5b4 \ud574\ub2f9 \uc8fc\uc758 \uace0\ucc28\uc6d0 \uac1c\uc694\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4. \uc774\ub97c \uac1c\ubcc4 \ubcf4\uace0\uc11c\ub77c\uace0 \ud569\ub2c8\ub2e4.\n* \ub2e4\uc74c\uc73c\ub85c, \ubaa8\ub4e0 \uac1c\ubcc4 \ubcf4\uace0\uc11c\uac00 \ud568\uaed8 \uc694\uc57d\ub418\uc5b4 \ud300 \uc8fc\uac04 \ubcf4\uace0\uc11c\ub97c \ub9cc\ub4ed\ub2c8\ub2e4. \uc774\ub294 \uadf8\ub8f9 \ubc0f \uc720\uc0ac \ud65c\ub3d9\uc744 \uc774\ud574\ud560 \uc218 \uc788\uac8c \ud569\ub2c8\ub2e4.\n* \ub9c8\uc9c0\ub9c9\uc73c\ub85c, \ud300 \uc8fc\uac04 \ubcf4\uace0\uc11c\uac00 \ucc44\ub110\uc5d0 \uac8c\uc2dc\ub429\ub2c8\ub2e4. \ud0c0\uc774\ubc0d\uc774 \uc911\uc694\ud569\ub2c8\ub2e4. \uc774\ub294 \uc8fc\uc758 \uccab \ubc88\uc9f8 \uba54\uc2dc\uc9c0\uac00 \ub418\uc5b4 \ud300\uc774 \ucee4\ud53c\ub97c \ub9c8\uc2dc\uba74\uc11c \uac04\ub2e8\ud788 \ud655\uc778\ud560 \uc218 \uc788\ub3c4\ub85d \ud569\ub2c8\ub2e4.\n\n### \uc0ac\uc6a9 \ubc29\ubc95\n* \ud504\ub85c\uc81d\ud2b8\ubcc4\ub85c \uac00\uc7a5 \uc798 \uc791\ub3d9\ud558\uba70, \ub300\ubd80\ubd84\uc758 \ucee4\ubba4\ub2c8\ucf00\uc774\uc158\uc774 \ub2e8\uc77c \ucc44\ub110\uc5d0\uc11c \ubc1c\uc0dd\ud558\ub294 \uacbd\uc6b0\uc5d0 \uc801\ud569\ud569\ub2c8\ub2e4. \ucc44\ub110\uc744 \uacb0\ud569\ud558\uc9c0 \ub9d0\uace0, \ub354 \ub9ce\uc740 \ucc44\ub110\uc758 \uacbd\uc6b0 \uc774 \uc6cc\ud06c\ud50c\ub85c\ub97c \ubcf5\uc81c\ud558\uc138\uc694.\n* \ud2b9\uc815 \ud300\uc6d0 \uc5c5\ub370\uc774\ud2b8\ub97c \uc6d0\ud558\ub294 \uacbd\uc6b0, \ud2b9\uc815 \ud300\uc6d0\uc744 \ud544\ud130\ub9c1\ud574\uc57c \ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n* \ubcf4\uace0\uc11c\ub97c \uc870\uc9c1, \ud300 \ub610\ub294 \ucc44\ub110\uc5d0 \ub9de\uac8c \ucee4\uc2a4\ud130\ub9c8\uc774\uc988\ud558\uc138\uc694. \ud074\ub77c\uc774\uc5b8\ud2b8\ub098 \uc678\ubd80 \uc774\ud574\uad00\uacc4\uc790\uac00 \uc788\ub294 \uacbd\uc6b0 \ub354 \ud615\uc2dd\uc801\uc73c\ub85c \uc120\ud638\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\n### \uc694\uad6c \uc0ac\ud56d\n* \uc2ac\ub799(Slack) \ucc44\ud305 \ud50c\ub7ab\ud3fc\n* Gemini LLM\n\n### \uc774 \uc6cc\ud06c\ud50c\ub85c \ucee4\uc2a4\ud130\ub9c8\uc774\uc9d5\n* \uc2ac\ub799 \ucc44\ub110\uc774 \uc774\ubbf8 \ubc14\uc058\ub2e4\uba74, \ucd5c\uc885 \ubcf4\uace0\uc11c\ub97c \uc774\uba54\uc77c\ub85c \uac8c\uc2dc\ud558\ub294 \uac83\uc744 \uace0\ub824\ud558\uc138\uc694.\n* \ud504\ub85c\uc81d\ud2b8 \uc9c0\ud45c\ub97c \ubcf4\uace0\uc11c\uc5d0 \ud3ec\ud568\ud558\uc138\uc694. \ucd94\uac00 \ub9e5\ub77d\uc73c\ub85c, \uba54\uc2dc\uc9c0\ub97c \uc0dd\uc0b0\uc131 \uc131\uacfc\uc640 \uc5f0\uacb0\ud558\ub294 \uac83\uc774 \ud765\ubbf8\ub85c\uc6b8 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n* AI \uc5d0\uc774\uc804\ud2b8\ub97c \uc0ac\uc6a9\ud558\uc5ec \uba54\uc2dc\uc9c0\uc640 \uad00\ub828\ub41c \uc9c0\uc2dd\ubca0\uc774\uc2a4\ub098 \ud2f0\ucf13\uc744 \uc870\ud68c\ud558\uc138\uc694. \ub9c1\ud06c\ub098 \ucc38\uc870\ub97c \ucd94\uac00\ud558\uc5ec \ub9e5\ub77d\uc744 \uc81c\uacf5\ud558\ub294 \ub370 \uc720\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.\n\n### \ub3c4\uc6c0\uc774 \ud544\uc694\ud558\uc138\uc694?\n[Discord](https://discord.com/invite/XPKeKXeB7d) \ucee4\ubba4\ub2c8\ud2f0\uc5d0 \uac00\uc785\ud558\uac70\ub098 [Forum](https://community.n8n.io/)\uc5d0\uc11c \ubb38\uc758\ud558\uc138\uc694!\n\n\uc990\uac70\uc6b4 \ud574\ud0b9!"
      },
      "typeVersion": 1
    }
  ],
  "connections": {
    "Filter": {
      "main": [
        [
          {
            "node": "Simplify Thread Comments",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Switch": {
      "main": [
        [
          {
            "node": "Get User",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Split Out1",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Map Reply UserIds",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get User": {
      "main": [
        [
          {
            "node": "Messages to Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Get User Info",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out": {
      "main": [
        [
          {
            "node": "Map Users to Messages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate1": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate2": {
      "main": [
        []
      ]
    },
    "Aggregate3": {
      "main": [
        [
          {
            "node": "Aggregate4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate4": {
      "main": [
        []
      ]
    },
    "Get Thread": {
      "main": [
        [
          {
            "node": "Filter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out1": {
      "main": [
        [
          {
            "node": "Loop Over Items",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Split Out2": {
      "main": [
        [
          {
            "node": "Get Reply Users",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message Ref": {
      "main": [
        [
          {
            "node": "Get Thread",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Reply Users": {
      "main": [
        [
          {
            "node": "Messages to Items1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Monday @ 6am": {
      "main": [
        [
          {
            "node": "Get Last Week's Messages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Group By User": {
      "main": [
        [
          {
            "node": "Split Out",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Reply Users": {
      "main": [
        [
          {
            "node": "Aggregate Reply Users",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Has ReplyUsers?": {
      "main": [
        [
          {
            "node": "Split Out2",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Reply Users",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Loop Over Items": {
      "main": [
        [
          {
            "node": "Aggregate3",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Message Ref",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simplify Message": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Results": {
      "main": [
        [
          {
            "node": "Team Member Weekly Report Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map Reply UserIds": {
      "main": [
        [
          {
            "node": "Has ReplyUsers?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Messages to Items": {
      "main": [
        [
          {
            "node": "Simplify Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Summarise Threads": {
      "main": [
        [
          {
            "node": "Aggregate2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge with Results": {
      "main": [
        [
          {
            "node": "Team Weekly Report Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Messages to Items1": {
      "main": [
        [
          {
            "node": "Summarise Threads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate Reply Users": {
      "main": [
        [
          {
            "node": "Reply Users",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Message Replies": {
      "main": [
        [
          {
            "node": "Summarize Message Threads",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Map Users to Messages": {
      "main": [
        [
          {
            "node": "Fetch Message Replies",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Last Week's Messages": {
      "main": [
        [
          {
            "node": "Group By User",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Summarise Threads",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Simplify Thread Comments": {
      "main": [
        [
          {
            "node": "Aggregate1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Team Weekly Report Agent": {
      "main": [
        [
          {
            "node": "Post Report in Team Channel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "Team Member Weekly Report Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Gemini Chat Model2": {
      "ai_languageModel": [
        [
          {
            "node": "Team Weekly Report Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Summarize Message Threads": {
      "main": [
        [
          {
            "node": "Aggregate Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Team Member Weekly Report Agent": {
      "main": [
        [
          {
            "node": "Merge with Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When Executed by Another Workflow": {
      "main": [
        [
          {
            "node": "Switch",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}