{
  "name": "Convert Slack messages to Notion todos using 📝 emoji reactions",
  "nodes": [
    {
      "id": "5ec2bc64-70ce-4b50-98fb-62c5e7f18e31",
      "name": "Slack Trigger",
      "type": "n8n-nodes-base.slackTrigger",
      "position": [
        0,
        0
      ]
    },
    {
      "id": "ef87682d-e35c-45f1-8c35-45e6f0ef7507",
      "name": "Send a message",
      "type": "n8n-nodes-base.slack",
      "position": [
        1120,
        352
      ]
    },
    {
      "id": "608433b9-d28a-40c6-946e-872f1c9d0388",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        896,
        352
      ]
    },
    {
      "id": "5822890e-c886-42ec-985b-186ac44f7836",
      "name": "Schedule Trigger",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        0,
        352
      ]
    },
    {
      "id": "785e1374-57dc-4248-b23a-eb993faa051e",
      "name": "Filter by emoji",
      "type": "n8n-nodes-base.filter",
      "position": [
        224,
        0
      ]
    },
    {
      "id": "f186bc3d-db9c-4663-95d4-f8567e5753aa",
      "name": "Get reacted message",
      "type": "n8n-nodes-base.slack",
      "position": [
        448,
        0
      ]
    },
    {
      "id": "7eb5004c-1211-4c68-abd3-ed8cde45d151",
      "name": "Added message to Notion",
      "type": "n8n-nodes-base.notion",
      "position": [
        672,
        0
      ]
    },
    {
      "id": "685d6529-c6d8-4783-a287-1dabde7adc8b",
      "name": "Get all todos from Notion",
      "type": "n8n-nodes-base.notion",
      "position": [
        224,
        352
      ]
    },
    {
      "id": "dba2cc5b-99b6-403e-b24b-a8eeb8d35e78",
      "name": "Filter todo",
      "type": "n8n-nodes-base.filter",
      "position": [
        448,
        352
      ]
    },
    {
      "id": "336120a6-fa0e-4207-8254-63e22499764a",
      "name": "Filter not checked todos",
      "type": "n8n-nodes-base.filter",
      "position": [
        672,
        352
      ]
    },
    {
      "id": "b4fb6b60-d2a0-457a-8f29-1a21076ca7f3",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        -176
      ],
      "parameters": {
        "width": 640,
        "height": 368,
        "content": "## Get reacted message\n\nThis is triggered by a reaction to a message, which then filters by the emoji selected and gets the final message"
      }
    },
    {
      "id": "085b5cfc-adfc-4b96-bbb2-4d9441d21ee7",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        608,
        -176
      ],
      "parameters": {
        "width": 272,
        "height": 368,
        "content": "## Save to Notion\n\nThe message is then saved to a Notion document"
      }
    },
    {
      "id": "c687d1c2-1447-4547-83af-4ad9d186db8c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -48,
        208
      ],
      "parameters": {
        "width": 448,
        "height": 368,
        "content": "## Get todos daily\n\nEvery day, this flow runs to pull the todos from the Notion document and send them as a Slack message"
      }
    },
    {
      "id": "02287623-4f03-4cd5-abeb-1130a817a9b0",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        416,
        208
      ],
      "parameters": {
        "width": 896,
        "height": 368,
        "content": "## Message filter\n\nSince we don't want to return all the messages, we filter them accordingly and send them to Slack"
      }
    }
  ],
  "connections": {
    "Aggregate": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter todo": {
      "main": [
        [
          {
            "node": "Filter not checked todos",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Slack Trigger": {
      "main": [
        [
          {
            "node": "Filter by emoji",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter by emoji": {
      "main": [
        [
          {
            "node": "Get reacted message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Schedule Trigger": {
      "main": [
        [
          {
            "node": "Get all todos from Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get reacted message": {
      "main": [
        [
          {
            "node": "Added message to Notion",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Filter not checked todos": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get all todos from Notion": {
      "main": [
        [
          {
            "node": "Filter todo",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}