Slack To-Do-Bot
Dies ist ein Content Creation, Multimodal AI-Bereich Automatisierungsworkflow mit 14 Nodes. Hauptsächlich werden Slack, Filter, Notion, Aggregate, SlackTrigger und andere Nodes verwendet. Verwenden Sie den 📝 Emoji-Reaktions-Slack, um Slack-Nachrichten in Notion-To-Do-Listen umzuwandeln
- •Slack Bot Token oder Webhook URL
- •Notion API Key
Verwendete Nodes (14)
Kategorie
{
"id": "n225LiEBD4QVzOsV",
"meta": {
"instanceId": "dadbebf780c99cf3658a428c5f6f25fbfe1554e05ad8991fa23e46dc89caf8a5",
"templateCredsSetupCompleted": true
},
"name": "Slack ToDo Bot",
"tags": [],
"nodes": [
{
"id": "5ec2bc64-70ce-4b50-98fb-62c5e7f18e31",
"name": "Slack Trigger",
"type": "n8n-nodes-base.slackTrigger",
"position": [
0,
0
],
"webhookId": "caf2a2ff-160e-4cd9-836c-7128c2a14932",
"parameters": {
"options": {
"resolveIds": true
},
"trigger": [
"reaction_added"
],
"watchWorkspace": true
},
"credentials": {},
"typeVersion": 1
},
{
"id": "ef87682d-e35c-45f1-8c35-45e6f0ef7507",
"name": "Nachricht senden",
"type": "n8n-nodes-base.slack",
"position": [
1120,
352
],
"webhookId": "ca0ecfbd-7a54-476c-9650-d29adea8c09e",
"parameters": {
"text": "={{ $json.content }}",
"select": "user",
"otherOptions": {},
"authentication": "oAuth2"
},
"credentials": {},
"typeVersion": 2.3
},
{
"id": "608433b9-d28a-40c6-946e-872f1c9d0388",
"name": "Aggregieren",
"type": "n8n-nodes-base.aggregate",
"position": [
896,
352
],
"parameters": {
"options": {},
"fieldsToAggregate": {
"fieldToAggregate": [
{
"fieldToAggregate": "to_do.text[0].text.content"
}
]
}
},
"typeVersion": 1
},
{
"id": "5822890e-c886-42ec-985b-186ac44f7836",
"name": "Zeitplan-Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
0,
352
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 8
}
]
}
},
"typeVersion": 1.2
},
{
"id": "785e1374-57dc-4248-b23a-eb993faa051e",
"name": "Nach Emoji filtern",
"type": "n8n-nodes-base.filter",
"position": [
224,
0
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "6351c136-646a-4ec0-a71f-3c1d5c6a7822",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.reaction }}",
"rightValue": "memo"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "f186bc3d-db9c-4663-95d4-f8567e5753aa",
"name": "Reagierte Nachricht abrufen",
"type": "n8n-nodes-base.slack",
"position": [
448,
0
],
"webhookId": "eea850b6-1ef1-4585-895f-ac80240ac937",
"parameters": {
"resource": "reaction",
"channelId": {
"__rl": true,
"mode": "list",
"cachedResultName": "general"
},
"operation": "get",
"timestamp": "={{ $json.item.ts }}",
"authentication": "oAuth2"
},
"credentials": {},
"typeVersion": 2.3
},
{
"id": "7eb5004c-1211-4c68-abd3-ed8cde45d151",
"name": "Nachricht zu Notion hinzugefügt",
"type": "n8n-nodes-base.notion",
"position": [
672,
0
],
"parameters": {
"blockUi": {
"blockValues": [
{
"text": {
"text": [
{
"text": "={{ $json.message.text }}",
"annotationUi": {}
},
{
"text": "=\n{{ $json.message.permalink }}",
"isLink": true,
"textLink": "={{ $json.message.permalink }}",
"annotationUi": {}
}
]
},
"type": "to_do",
"richText": true
}
]
},
"resource": "block"
},
"credentials": {},
"typeVersion": 2.2
},
{
"id": "685d6529-c6d8-4783-a287-1dabde7adc8b",
"name": "Alle To-Dos aus Notion abrufen",
"type": "n8n-nodes-base.notion",
"position": [
224,
352
],
"parameters": {
"resource": "block",
"operation": "getAll",
"returnAll": true,
"simplifyOutput": false,
"fetchNestedBlocks": true
},
"credentials": {},
"typeVersion": 2.2
},
{
"id": "dba2cc5b-99b6-403e-b24b-a8eeb8d35e78",
"name": "To-Do filtern",
"type": "n8n-nodes-base.filter",
"position": [
448,
352
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "0fb63b04-f3d1-419f-aec2-373132c0fc3d",
"operator": {
"name": "filter.operator.equals",
"type": "string",
"operation": "equals"
},
"leftValue": "={{ $json.type }}",
"rightValue": "to_do"
}
]
}
},
"typeVersion": 2.2
},
{
"id": "336120a6-fa0e-4207-8254-63e22499764a",
"name": "Nicht abgehakte To-Dos filtern",
"type": "n8n-nodes-base.filter",
"position": [
672,
352
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "d8b85f2e-f3ac-49b9-8388-5e5efe1bac1c",
"operator": {
"type": "boolean",
"operation": "false",
"singleValue": true
},
"leftValue": "={{ $json.to_do.checked }}",
"rightValue": "\"false\""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "b4fb6b60-d2a0-457a-8f29-1a21076ca7f3",
"name": "Haftnotiz",
"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"
},
"typeVersion": 1
},
{
"id": "085b5cfc-adfc-4b96-bbb2-4d9441d21ee7",
"name": "Haftnotiz1",
"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"
},
"typeVersion": 1
},
{
"id": "c687d1c2-1447-4547-83af-4ad9d186db8c",
"name": "Haftnotiz2",
"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"
},
"typeVersion": 1
},
{
"id": "02287623-4f03-4cd5-abeb-1130a817a9b0",
"name": "Haftnotiz3",
"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"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "42a37b3a-f1fa-4b61-8fd2-4be37d7fb16e",
"connections": {
"608433b9-d28a-40c6-946e-872f1c9d0388": {
"main": [
[
{
"node": "ef87682d-e35c-45f1-8c35-45e6f0ef7507",
"type": "main",
"index": 0
}
]
]
},
"dba2cc5b-99b6-403e-b24b-a8eeb8d35e78": {
"main": [
[
{
"node": "336120a6-fa0e-4207-8254-63e22499764a",
"type": "main",
"index": 0
}
]
]
},
"5ec2bc64-70ce-4b50-98fb-62c5e7f18e31": {
"main": [
[
{
"node": "785e1374-57dc-4248-b23a-eb993faa051e",
"type": "main",
"index": 0
}
]
]
},
"785e1374-57dc-4248-b23a-eb993faa051e": {
"main": [
[
{
"node": "f186bc3d-db9c-4663-95d4-f8567e5753aa",
"type": "main",
"index": 0
}
]
]
},
"5822890e-c886-42ec-985b-186ac44f7836": {
"main": [
[
{
"node": "685d6529-c6d8-4783-a287-1dabde7adc8b",
"type": "main",
"index": 0
}
]
]
},
"f186bc3d-db9c-4663-95d4-f8567e5753aa": {
"main": [
[
{
"node": "7eb5004c-1211-4c68-abd3-ed8cde45d151",
"type": "main",
"index": 0
}
]
]
},
"336120a6-fa0e-4207-8254-63e22499764a": {
"main": [
[
{
"node": "608433b9-d28a-40c6-946e-872f1c9d0388",
"type": "main",
"index": 0
}
]
]
},
"685d6529-c6d8-4783-a287-1dabde7adc8b": {
"main": [
[
{
"node": "dba2cc5b-99b6-403e-b24b-a8eeb8d35e78",
"type": "main",
"index": 0
}
]
]
}
}
}Wie verwende ich diesen Workflow?
Kopieren Sie den obigen JSON-Code, erstellen Sie einen neuen Workflow in Ihrer n8n-Instanz und wählen Sie "Aus JSON importieren". Fügen Sie die Konfiguration ein und passen Sie die Anmeldedaten nach Bedarf an.
Für welche Szenarien ist dieser Workflow geeignet?
Fortgeschritten - Content-Erstellung, Multimodales KI
Ist es kostenpflichtig?
Dieser Workflow ist völlig kostenlos. Beachten Sie jedoch, dass Drittanbieterdienste (wie OpenAI API), die im Workflow verwendet werden, möglicherweise kostenpflichtig sind.
Verwandte Workflows
Diesen Workflow teilen