Envoi de citations inspirantes de zen quotidien vers un canal Slack
Ceci est unPersonal Productivity, Multimodal AIworkflow d'automatisation du domainecontenant 5 nœuds.Utilise principalement des nœuds comme Code, Cron, Slack, HttpRequest. Inspirational daily quote from ZenQuotes pushed to Slack channel
- •Token Bot Slack ou URL Webhook
- •Peut nécessiter les informations d'identification d'authentification de l'API cible
Nœuds utilisés (5)
{
"meta": {
"instanceId": "2000c64071c20843606b95c63795bb0797c41036047055a6586498e855b96efc"
},
"nodes": [
{
"id": "b57d7fea-fd4d-417b-bad6-7d28d1968c6f",
"name": "Instructions de configuration",
"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": "Déclencheur quotidien 8h",
"type": "n8n-nodes-base.cron",
"position": [
0,
224
],
"parameters": {},
"typeVersion": 1
},
{
"id": "03ed9013-fc5c-4ce7-834b-1ae8f2274834",
"name": "Récupérer une citation aléatoire",
"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": "Formater la citation pour Slack",
"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": "Envoyer vers Slack",
"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
}
]
]
}
}
}Comment utiliser ce workflow ?
Copiez le code de configuration JSON ci-dessus, créez un nouveau workflow dans votre instance n8n et sélectionnez "Importer depuis le JSON", collez la configuration et modifiez les paramètres d'authentification selon vos besoins.
Dans quelles scénarios ce workflow est-il adapté ?
Débutant - Productivité personnelle, IA Multimodale
Est-ce payant ?
Ce workflow est entièrement gratuit et peut être utilisé directement. Veuillez noter que les services tiers utilisés dans le workflow (comme l'API OpenAI) peuvent nécessiter un paiement de votre part.
Workflows recommandés
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
Partager ce workflow