Täglicher Zen-Bonmot-Push an Slack-Kanal
Dies ist ein Personal Productivity, Multimodal AI-Bereich Automatisierungsworkflow mit 5 Nodes. Hauptsächlich werden Code, Cron, Slack, HttpRequest und andere Nodes verwendet. Tägliche Inspiration-Zitate von ZenQuotes und Push an Slack-Kanal
- •Slack Bot Token oder Webhook URL
- •Möglicherweise sind Ziel-API-Anmeldedaten erforderlich
Verwendete Nodes (5)
{
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc"
},
"nodes": [
{
"id": "b57d7fea-fd4d-417b-bad6-7d28d1968c6f",
"name": "Setup-Anleitung",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"width": 280,
"height": 200,
"content": "⭐ **SETUP REQUIRED:**\n\n1. **Connect Slack App:**\n - Create Slack app at api.slack.com\n - Add OAuth scopes: chat:write, channels:read\n - Install to workspace\n\n2. **Configure Channel:**\n - Update channel in 'Send to Slack' node\n - Default: #general\n\n3. **Timezone:**\n - Workflow set to America/New_York\n - Change in workflow settings if needed\n\n✨ Uses FREE ZenQuotes.io API - no key needed!"
},
"typeVersion": 1
},
{
"id": "279ead2e-17c7-4e58-8d27-40b6de24e969",
"name": "Täglicher Auslöser 8 Uhr",
"type": "n8n-nodes-base.cron",
"position": [
0,
224
],
"parameters": {},
"typeVersion": 1
},
{
"id": "03ed9013-fc5c-4ce7-834b-1ae8f2274834",
"name": "Zufälliges Zitat abrufen",
"type": "n8n-nodes-base.httpRequest",
"position": [
208,
224
],
"parameters": {
"url": "https://zenquotes.io/api/random",
"options": {}
},
"typeVersion": 4.1
},
{
"id": "114fc429-738a-41b7-95a6-06ccbae822b2",
"name": "Zitat für Slack formatieren",
"type": "n8n-nodes-base.code",
"position": [
400,
224
],
"parameters": {
"jsCode": "// Normalize quote data from API response\nconst response = $input.first().json;\nconst quoteData = Array.isArray(response) ? response[0] : response;\n\n// Format the motivational message\nconst formattedQuote = {\n text: `🌟 *Daily Motivation* 🌟\\n\\n\"${quoteData.q || quoteData.quote || 'Stay positive and keep moving forward!'}\"\\n\\n— ${quoteData.a || quoteData.author || 'Unknown'}`,\n channel: '#general', // Change to your preferred channel\n username: 'MotivationBot',\n icon_emoji: ':star2:',\n raw_quote: quoteData.q || quoteData.quote,\n raw_author: quoteData.a || quoteData.author\n};\n\nconsole.log('Formatted Quote:', formattedQuote);\n\nreturn {\n json: formattedQuote\n};"
},
"typeVersion": 2
},
{
"id": "a8598192-0075-4ea1-b1a0-8ac2ff7755d1",
"name": "An Slack senden",
"type": "n8n-nodes-base.slack",
"position": [
608,
224
],
"webhookId": "00724f92-9755-4dd9-b88e-f6e0b5ad01b0",
"parameters": {
"text": "={{ $json.text }}",
"select": "channel",
"channelId": {
"__rl": true,
"mode": "name",
"value": "general"
},
"otherOptions": {},
"authentication": "oAuth2"
},
"typeVersion": 2.1
}
],
"pinData": {},
"connections": {
"279ead2e-17c7-4e58-8d27-40b6de24e969": {
"main": [
[
{
"node": "03ed9013-fc5c-4ce7-834b-1ae8f2274834",
"type": "main",
"index": 0
}
]
]
},
"03ed9013-fc5c-4ce7-834b-1ae8f2274834": {
"main": [
[
{
"node": "114fc429-738a-41b7-95a6-06ccbae822b2",
"type": "main",
"index": 0
}
]
]
},
"114fc429-738a-41b7-95a6-06ccbae822b2": {
"main": [
[
{
"node": "a8598192-0075-4ea1-b1a0-8ac2ff7755d1",
"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?
Anfänger - Persönliche Produktivität, 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
David Olusola
@dae221I help ambitious businesses eliminate operational bottlenecks and scale faster with AI automation. My clients typically see 40-60% efficiency gains within 90 days. Currently accepting 3 new projects this quarter - david@daexai.com
Diesen Workflow teilen