N
n8n Store
Workflow Market
Cycle Summary to Slack Template

Cycle Summary to Slack Template

by nikhilkuriakose0 views

Description

Categories

🤖 AI & Machine Learning

Nodes Used

n8n-nodes-base.setn8n-nodes-base.slackn8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.stickyNoten8n-nodes-base.formTrigger@n8n/n8n-nodes-langchain.agent@n8n/n8n-nodes-langchain.lmChatOpenAi
PriceGratis
Views0
Last Updated11/28/2025
workflow.json
{
  "id": "ZjUre23aXOZMuoc4",
  "meta": {
    "instanceId": "046850b7745e9732f58105fc3b5278e094b4861d83909f94cc08ccce52b284c5",
    "templateCredsSetupCompleted": true
  },
  "name": "Cycle Summary to Slack Template",
  "tags": [],
  "nodes": [
    {
      "id": "c89943b0-be6d-418b-8244-c9d8b4e526ee",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        68,
        180
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini",
          "cachedResultName": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "BYor6avhWDGx1hXe",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "5a1be1cd-5f10-4638-9014-290bbb76f42a",
      "name": "Generate Slack Message",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -20,
        -40
      ],
      "parameters": {
        "text": "=You are an agent specialised in creating warm slack messages. \nYour job is to create a post in a team slack channel announcing the start of a cycle. \nUse the following information\nTeam name: {{ $json['Team Name'] }}\nCycle start date: {{ $('On form submission').item.json['When does your cycle start?'] }}\nCycle goal: {{ $('On form submission').item.json['What\\'s the cycle goal?'] }}\nThings to note: {{ $('On form submission').item.json['Anything else to add?'] }} Use  and format the message\n\nThe cycle goal can contain links. Format them properly as slack links with a proper label for the hyperlink\n\nPrepare the message as follows:\nShould have the following elements\n- Greetings to the team \n- Announce the start of the cycle with the start of the cycle date\n- List fown the cycle goals \n- End with a warm motivating messaage. (Don't overdo it)\n\nIf the cycle started on an earlier date, use a past tense. \nInstead of using specific date, use a phrase. ex: Yesterday, Last Wednesday, Today. Use the current date: {{ $today }} as reference for the current day\nUse emojis generously and keep the message brief\nThe URL link should be rendered properly. Use this format <http://someurl.com | text here>\nThe section titles should be in bold. Surround the title with * for this. ex:*Cycle Goal*\nThe message should be in a format that can be sent to Slack without any post processing\nUse this tone for the message : {{ $json['Message Tone'] }}",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.9
    },
    {
      "id": "3bb753a4-5ef7-4ce7-8576-ee24ca1b1018",
      "name": "Send message to Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        360,
        -40
      ],
      "webhookId": "d109dcab-07d8-4fbc-8a02-524acf04a92c",
      "parameters": {
        "text": "={{ $json.output }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C08V1DRQPLZ",
          "cachedResultName": "nikhil-lab"
        },
        "otherOptions": {},
        "authentication": "oAuth2"
      },
      "credentials": {
        "slackOAuth2Api": {
          "id": "7xZq5SNxV4BZ9py6",
          "name": "Slack account 2"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "a58526a8-6e0b-4a08-bace-5c37a1447b95",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -720,
        -360
      ],
      "parameters": {
        "color": 4,
        "width": 700,
        "height": 240,
        "content": "## Send a slack message when a new Sprint Cycle starts 🎯\n\nThe Message will have the following elements \n- Cycle Start Date\n- Cycle Goal\n- Additional Notes\n\n*Start with submitting the form URL from the first node* 🏎️"
      },
      "typeVersion": 1
    },
    {
      "id": "1c0cf167-903b-46c6-9086-817f01a4fd50",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -280,
        120
      ],
      "parameters": {
        "color": 7,
        "width": 230,
        "height": 80,
        "content": "**1.☝️Update team name**\n**1.1 ☝️Set message tone (warm recommended)**"
      },
      "typeVersion": 1
    },
    {
      "id": "45554664-52c3-48e6-a411-6b402f5b238b",
      "name": "On form submission",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        -460,
        -40
      ],
      "webhookId": "ffd473fb-a11d-400e-aa81-16599d3b1fbe",
      "parameters": {
        "options": {},
        "formTitle": "Cycle Start",
        "formFields": {
          "values": [
            {
              "fieldType": "date",
              "fieldLabel": "When does your cycle start?",
              "requiredField": true
            },
            {
              "fieldType": "textarea",
              "fieldLabel": "What's the cycle goal?",
              "requiredField": true
            },
            {
              "fieldLabel": "Anything else to add?"
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "195a496c-9157-4880-9802-269e7fe54a1e",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        320
      ],
      "parameters": {
        "color": 7,
        "width": 230,
        "height": 100,
        "content": "2.☝️**Update Open AI credentials**\n\n*or use a different Model*"
      },
      "typeVersion": 1
    },
    {
      "id": "7a3f7dcd-0853-445c-8604-a7f582913960",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        120
      ],
      "parameters": {
        "color": 7,
        "width": 210,
        "height": 120,
        "content": "**2.1.☝️Update Slack Credentials**\n\n**2.2.☝️Update Slack Channel Name**\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "8c36f947-0e2d-4760-b8a2-8d15a56d04c4",
      "name": "Set up",
      "type": "n8n-nodes-base.set",
      "position": [
        -240,
        -40
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "a8e9e640-0b49-4e54-bcf5-8b536d36d1d3",
              "name": "Team Name",
              "type": "string",
              "value": "Team Name here"
            },
            {
              "id": "cd543f12-4ad0-497d-8f77-5aa4ad3b9b17",
              "name": "Message Tone",
              "type": "string",
              "value": "Scary"
            }
          ]
        }
      },
      "typeVersion": 3.4
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "aae25b47-5e3b-49e6-b826-d1d546348d59",
  "connections": {
    "Set up": {
      "main": [
        [
          {
            "node": "Generate Slack Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Generate Slack Message",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "On form submission": {
      "main": [
        [
          {
            "node": "Set up",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Slack Message": {
      "main": [
        [
          {
            "node": "Send message to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}

相关工作流