Automatisation du briefing matinal personnel

Intermédiaire

Ceci est uncontenant 12 nœuds.Utilise principalement des nœuds comme Set, Merge, Slack, HttpRequest, RssFeedRead. Briefing du matin quotidien (Google Calendar, météo et actualités) envoyé vers Slack

Prérequis
  • Token Bot Slack ou URL Webhook
  • Peut nécessiter les informations d'identification d'authentification de l'API cible

Catégorie

-
Aperçu du workflow
Visualisation des connexions entre les nœuds, avec support du zoom et du déplacement
Exporter le workflow
Copiez la configuration JSON suivante dans n8n pour importer et utiliser ce workflow
{
  "id": "RoQ9cIHyWJOc3u8Y",
  "meta": {
    "instanceId": "15d6057a37b8367f33882dd60593ee5f6cc0c59310ff1dc66b626d726083b48d"
  },
  "name": "Personal Daily Morning Briefing Automation",
  "tags": [],
  "nodes": [
    {
      "id": "7dead07a-d3e8-425f-9a49-6503c8b29358",
      "name": "Déclencheur matinal quotidien",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -448,
        192
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "triggerAtHour": 7
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "6dab103c-bbc6-4967-a417-76c83a8c9244",
      "name": "Configuration du workflow",
      "type": "n8n-nodes-base.set",
      "position": [
        -224,
        192
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "id-5",
              "name": "rssUrl",
              "type": "string",
              "value": "https://news.google.com/rss?hl=ja&gl=JP&ceid=JP:ja"
            },
            {
              "id": "id-6",
              "name": "weatherApiUrl",
              "type": "string",
              "value": "https://wttr.in/Tokyo?format=j1"
            }
          ]
        },
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "6da03f8b-179c-4ca0-850f-12e9e5e8c0b0",
      "name": "Obtenir les événements du calendrier d'aujourd'hui",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        0,
        0
      ],
      "parameters": {
        "limit": 10,
        "options": {},
        "timeMax": "={{ $now.endOf('day') }}",
        "timeMin": "={{ $now.startOf('day') }}",
        "calendar": {
          "__rl": true,
          "mode": "list",
          "value": "YOUR_CALENDAR_ACCOUNT"
        },
        "operation": "getAll"
      },
      "credentials": {
        "googleCalendarOAuth2Api": {
          "id": "0KYfBd8UTIhoYgpE",
          "name": "Google Calendar account 11"
        }
      },
      "typeVersion": 1.3
    },
    {
      "id": "cdb324a8-a60f-4afd-97d6-b0250627486f",
      "name": "Obtenir la prévision météo",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        0,
        192
      ],
      "parameters": {
        "url": "={{ $('Workflow Configuration').first().json.weatherApiUrl }}",
        "options": {
          "response": {
            "response": {
              "responseFormat": "json"
            }
          }
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "9829c6af-0e49-4580-84d0-2c963738da12",
      "name": "Obtenir les principales actualités via RSS",
      "type": "n8n-nodes-base.rssFeedRead",
      "position": [
        0,
        384
      ],
      "parameters": {
        "url": "={{ $('Workflow Configuration').first().json.rssUrl }}",
        "options": {}
      },
      "typeVersion": 1.2
    },
    {
      "id": "baadb772-ec4e-48a0-8dcd-128b48753bf8",
      "name": "Formater le message de briefing",
      "type": "n8n-nodes-base.set",
      "position": [
        448,
        192
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "id-1",
              "name": "briefingMessage",
              "type": "string",
              "value": "=*📅 Daily Morning Briefing*\n\n*📆 今日の予定*\n{{ $('Get Today\\'s Calendar Events').all().length > 0 ? $('Get Today\\'s Calendar Events').all().map(event => '• ' + event.json.summary + ' - ' + new Date(event.json.start.dateTime).toLocaleTimeString('ja-JP', { hour: '2-digit', minute: '2-digit' })).join('\\n') : '今日の予定はありません' }}\n\n*🌤️ 天気予報*\n• {{ $('Get Weather Forecast').first().json.current_condition[0].weatherDesc[0].value }} / 気温: {{ $('Get Weather Forecast').first().json.current_condition[0].temp_C }}°C\n\n*📰 トップニュース*\n{{ $('Get Top News from RSS').all().length > 0 ? $('Get Top News from RSS').all().slice(0, 3).map(article => '• <' + article.json.link + '|' + article.json.title + '>').join('\\n') : 'ニュースはありません' }}"
            }
          ]
        },
        "includeOtherFields": true
      },
      "typeVersion": 3.4
    },
    {
      "id": "e1f10241-c557-4cf8-ba3f-6b5b4595dbf2",
      "name": "Publier sur Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        736,
        192
      ],
      "webhookId": "ccbedadd-8aec-460b-b3ae-b0e952e40909",
      "parameters": {
        "text": "={{ $('Format Briefing Message').first().json.briefingMessage }}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C09M5L3UB8U",
          "cachedResultName": "n8nlifework"
        },
        "otherOptions": {},
        "authentication": "oAuth2"
      },
      "typeVersion": 2.3
    },
    {
      "id": "b38c371a-842c-4484-bf7a-1c377010321f",
      "name": "Attendre toutes les données",
      "type": "n8n-nodes-base.merge",
      "position": [
        224,
        176
      ],
      "parameters": {
        "numberInputs": 3
      },
      "typeVersion": 3.2
    },
    {
      "id": "54d2f891-ed19-4466-9e6e-86dabcff91c5",
      "name": "Description du modèle",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -976,
        -80
      ],
      "parameters": {
        "width": 496,
        "height": 784,
        "content": "## Personal Daily Morning Briefing Automation\n\n### Who’s it for\nBusy professionals who want a quick daily update combining their calendar, weather, and top news.\n\n### How it works\nEvery morning at 7 AM, this workflow gathers:\n- Today’s Google Calendar events\n- Current weather for Tokyo\n- Top 3 news headlines (from Google News RSS)\nThen it formats everything into a single Slack message.\n\n### How to set up\n1. Connect your **Google Calendar** and **Slack** accounts in the Credentials section.\n2. Update `rssUrl` or `weatherApiUrl` if you want different sources.\n3. Set your Slack channel in the \"Post to Slack\" node.\n\n### Requirements\n- Google Calendar and Slack accounts\n- RSS feed and weather API (no authentication required)\n\n### How to customize\nYou can modify:\n- The trigger time (in the Schedule Trigger node)\n- City for the weather\n- RSS feed source\n- Message format in the “Format Briefing Message” node"
      },
      "typeVersion": 1
    },
    {
      "id": "b74c8ea3-1def-4e46-aa0c-a300cf40ee22",
      "name": "Note météo",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        -64
      ],
      "parameters": {
        "content": "Fetches current weather data from wttr.in (Tokyo)."
      },
      "typeVersion": 1
    },
    {
      "id": "e785463c-6d68-4027-b78c-12fee710b78e",
      "name": "Note actualités",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        432,
        -64
      ],
      "parameters": {
        "content": "Reads top 3 headlines from Google News RSS feed."
      },
      "typeVersion": 1
    },
    {
      "id": "55af8a49-f7db-415b-a77c-7c375dc0b585",
      "name": "Note Slack",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        704,
        -64
      ],
      "parameters": {
        "content": "Sends the compiled morning briefing message to your selected Slack channel."
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "22e5200b-1dab-41da-a43d-0e8bd62160ea",
  "connections": {
    "b38c371a-842c-4484-bf7a-1c377010321f": {
      "main": [
        [
          {
            "node": "baadb772-ec4e-48a0-8dcd-128b48753bf8",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "cdb324a8-a60f-4afd-97d6-b0250627486f": {
      "main": [
        [
          {
            "node": "b38c371a-842c-4484-bf7a-1c377010321f",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "7dead07a-d3e8-425f-9a49-6503c8b29358": {
      "main": [
        [
          {
            "node": "6dab103c-bbc6-4967-a417-76c83a8c9244",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9829c6af-0e49-4580-84d0-2c963738da12": {
      "main": [
        [
          {
            "node": "b38c371a-842c-4484-bf7a-1c377010321f",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "6dab103c-bbc6-4967-a417-76c83a8c9244": {
      "main": [
        [
          {
            "node": "6da03f8b-179c-4ca0-850f-12e9e5e8c0b0",
            "type": "main",
            "index": 0
          },
          {
            "node": "cdb324a8-a60f-4afd-97d6-b0250627486f",
            "type": "main",
            "index": 0
          },
          {
            "node": "9829c6af-0e49-4580-84d0-2c963738da12",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "baadb772-ec4e-48a0-8dcd-128b48753bf8": {
      "main": [
        [
          {
            "node": "e1f10241-c557-4cf8-ba3f-6b5b4595dbf2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6da03f8b-179c-4ca0-850f-12e9e5e8c0b0": {
      "main": [
        [
          {
            "node": "b38c371a-842c-4484-bf7a-1c377010321f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
Foire aux questions

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é ?

Intermédiaire

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.

Informations sur le workflow
Niveau de difficulté
Intermédiaire
Nombre de nœuds12
Catégorie-
Types de nœuds8
Description de la difficulté

Adapté aux utilisateurs expérimentés, avec des workflows de complexité moyenne contenant 6-15 nœuds

Liens externes
Voir sur n8n.io

Partager ce workflow

Catégories

Catégories: 34