{
  "name": "My workflow 3",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "reminders",
        "options": {}
      },
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 2.1,
      "position": [
        -1104,
        -352
      ],
      "id": "76f774a9-57cb-470e-8ad4-da3339cb8173",
      "name": "Webhook",
      "webhookId": "44cc0597-5a95-4482-bcf9-8e009c49183d"
    },
    {
      "parameters": {
        "select": "channel",
        "channelId": {
          "__rl": true,
          "value": "C0C9LP8KQ1H",
          "mode": "list",
          "cachedResultName": "daily-reminder"
        },
        "text": "={{ $json.text }}",
        "otherOptions": {}
      },
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.7,
      "position": [
        -320,
        -352
      ],
      "id": "37d43935-a9d6-4f72-b74f-b4b64dd86b09",
      "name": "Send a message",
      "webhookId": "fb6ded10-0d4f-4b42-8156-a84de91e421d",
      "credentials": {
        "slackApi": {
          "id": "CTorciADOe5rBM35",
          "name": "Slack account 3"
        }
      }
    },
    {
      "parameters": {
        "promptType": "define",
        "text": "=   Here are my reminders due today:\n\n   {{ $json.body.text }}",
        "messages": {
          "messageValues": [
            {
              "message": "=You are Lucy, a cheerful, witty personal assistant sending a morning Slack message to your boss.\n\nWrite the message in exactly this format (note the blank line at the very start):\n\n[blank line]\nMorning, Master! Lucy at your service.\n[one short, playful line, vary it each day]\n\nHere's what's due today:\n- *5:00 PM* - Task name\n- *Anytime today* - Task name\n\nRules:\n- Start the message with one blank line before the greeting.\n- Put one blank line after the greeting and joke, before \"Here's what's due today:\".\n- Nothing may be written after the last task. No closing line, no signature, no extra text.\n- List tasks earliest first. If a reminder shows 12:00 AM or has no time, list it as \"Anytime today\" and put it last.\n- Do not use any emojis.\n- Use Slack formatting only (*bold*, • bullets), no markdown headers.\n- Keep it under 100 words.\n- Never invent tasks or times.\n- Only if the reminders text is completely empty, reply with exactly: \"Morning, Master! Lucy at your service. No tasks due today.\"\n- Reply with only the message, no intro or explanation."
            }
          ]
        },
        "batching": {}
      },
      "type": "@n8n/n8n-nodes-langchain.chainLlm",
      "typeVersion": 1.9,
      "position": [
        -896,
        -336
      ],
      "id": "9437b3d2-9294-408a-931a-2b46924539c5",
      "name": "Basic LLM Chain"
    },
    {
      "parameters": {
        "model": "openai/gpt-oss-20b",
        "options": {}
      },
      "type": "@n8n/n8n-nodes-langchain.lmChatGroq",
      "typeVersion": 1,
      "position": [
        -480,
        -208
      ],
      "id": "09b4af6e-dfe5-42e8-bac1-1b73ca70c115",
      "name": "Groq Chat Model",
      "credentials": {
        "groqApi": {
          "id": "Y22P0ugDDZZnNpfn",
          "name": "Groq account"
        }
      }
    }
  ],
  "pinData": {},
  "connections": {
    "Webhook": {
      "main": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Groq Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Basic LLM Chain",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Basic LLM Chain": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": true,
  "settings": {
    "executionOrder": "v1",
    "binaryMode": "separate"
  },
  "versionId": "748cc7b3-f440-4680-9726-50e0b9a5c1dd",
  "meta": {
    "templateCredsSetupCompleted": true,
    "instanceId": "34ffe138153323d39bd101ac89e350c6536b3c9accd64581dbae3dcb1b734a1b"
  },
  "nodeGroups": [],
  "id": "mjXfSn62nVSv78eg",
  "tags": []
}