{
  "name": "Starred Slack messages to Notion database with AI auto-tagging",
  "nodes": [
    {
      "id": "8a15efc1-1a7b-402f-baff-33e116dcefab",
      "name": "IF reaction == star",
      "type": "n8n-nodes-base.if",
      "position": [
        -520,
        720
      ]
    },
    {
      "id": "84388e75-f188-42da-9421-41f44c0dbed8",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -940,
        720
      ]
    },
    {
      "id": "481c67c2-7e45-4d44-9b3d-3e19f315ae2d",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        380,
        940
      ]
    },
    {
      "id": "016b3bf6-5053-4068-b086-371ce651ce6e",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        560,
        940
      ]
    },
    {
      "id": "d04bb2c2-9e30-452e-82d4-973c7c066979",
      "name": "Get Slack Messages",
      "type": "n8n-nodes-base.slack",
      "position": [
        -740,
        720
      ]
    },
    {
      "id": "f1e57f6e-3b26-4b63-b768-5f3c04d620c0",
      "name": "Set Tags",
      "type": "n8n-nodes-base.set",
      "position": [
        160,
        720
      ]
    },
    {
      "id": "884acd20-9098-4ef5-bb4c-e32484a0a275",
      "name": "Write Title & Tag",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        380,
        720
      ]
    },
    {
      "id": "56722187-13ad-418a-b4b6-b3918498ba30",
      "name": "Create Notion Page",
      "type": "n8n-nodes-base.notion",
      "position": [
        760,
        720
      ]
    },
    {
      "id": "eb5bfe7a-f8e7-425d-8855-5a1b9d214921",
      "name": "Get Message Link",
      "type": "n8n-nodes-base.slack",
      "position": [
        -280,
        720
      ]
    },
    {
      "id": "c42361dc-61e6-42fe-af56-51720a45e7f3",
      "name": "Choose Notion DB",
      "type": "n8n-nodes-base.notion",
      "position": [
        -60,
        720
      ]
    },
    {
      "id": "0bb1935e-9cfc-483a-b83e-43e5bff5cc56",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1060,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "96d07e0d-15b8-444b-96fc-031400b147bf",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -540,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "e9467339-9245-4546-9a6f-46c64567e013",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -100,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "c7f22217-c598-4e96-9770-61330b0e7cb0",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        320,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "8e74b014-a44f-46f5-95f9-379ccfe4831f",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1640,
        480
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Set Tags": {
      "main": [
        [
          {
            "node": "Write Title & Tag",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Choose Notion DB": {
      "main": [
        [
          {
            "node": "Set Tags",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Message Link": {
      "main": [
        [
          {
            "node": "Choose Notion DB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get Slack Messages",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Write Title & Tag",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Write Title & Tag": {
      "main": [
        [
          {
            "node": "Create Notion Page",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Slack Messages": {
      "main": [
        [
          {
            "node": "IF reaction == star",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "IF reaction == star": {
      "main": [
        [
          {
            "node": "Get Message Link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "Write Title & Tag",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}