Telegram から Notion までのタスク自動化
中級
これはContent Creation, Multimodal AI分野の自動化ワークフローで、15個のノードを含みます。主にIf, Notion, Telegram, TelegramTrigger, LmChatGoogleGeminiなどのノードを使用。 Gemini AI と承認を使ってTelegram メッセージからタスクをNotion に抽出
前提条件
- •Notion API Key
- •Telegram Bot Token
- •Google Gemini API Key
ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
"id": "fzx7RMobAxKnsbUd",
"meta": {
"instanceId": "733e9abfd67f4f2666a76557fe5d7598ae7705aa1e6ff21081cb972137b3c8b4",
"templateCredsSetupCompleted": true
},
"name": "Telegram to Notion Task Automation",
"tags": [
{
"id": "JUK6Xu1Fz0PWwGzI",
"name": "active",
"createdAt": "2025-10-04T12:29:09.131Z",
"updatedAt": "2025-10-04T12:29:09.131Z"
}
],
"nodes": [
{
"id": "2abd8dfa-9a30-40e9-a6f6-00dfebfb0a8c",
"name": "Google Gemini Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatGoogleGemini",
"position": [
-192,
128
],
"parameters": {
"options": {},
"modelName": "models/gemini-2.5-flash-lite"
},
"credentials": {
"googlePalmApi": {
"id": "leqZBEL1m8HX7yLq",
"name": "skcet (Mooku) - Gemini"
}
},
"typeVersion": 1
},
{
"id": "b628bda1-d9d4-4a08-8daf-92df2068b20b",
"name": "付箋",
"type": "n8n-nodes-base.stickyNote",
"position": [
-640,
-176
],
"parameters": {
"color": 5,
"width": 304,
"height": 336,
"content": "## ⚡ Starts on new Telegram message.\nTriggers the workflow when a new Telegram message arrives. "
},
"typeVersion": 1
},
{
"id": "5fc725da-6bed-4db6-a366-48cd5c0a0c4e",
"name": "付箋1",
"type": "n8n-nodes-base.stickyNote",
"position": [
-256,
-240
],
"parameters": {
"color": 5,
"width": 352,
"height": 512,
"content": "## 🧠 Uses AI (Gemini) to return TaskName & TaskDue.\nThis node uses an AI model (e.g., Gemini) to extract the task name and due date from the Telegram message. \nYou can easily switch to any other AI model you prefer.\n"
},
"typeVersion": 1
},
{
"id": "cb518f25-0918-4c19-b56e-c5d3f4d0f459",
"name": "付箋2",
"type": "n8n-nodes-base.stickyNote",
"position": [
144,
-256
],
"parameters": {
"color": 5,
"width": 304,
"height": 448,
"content": "## 📩 Sends extracted task; waits for Approve or Decline.\nSends a message with the extracted task name and due date. \nWaits for your response you can **approve** or **decline** the task."
},
"typeVersion": 1
},
{
"id": "0395e170-03d3-44a2-86a2-2486587a60c4",
"name": "付箋3",
"type": "n8n-nodes-base.stickyNote",
"position": [
496,
-224
],
"parameters": {
"color": 5,
"width": 320,
"height": 384,
"content": "## ⚖️ If approved → create task. If declined → notify.\nChecks if the user approved or declined the task. \nIf **approved**, the workflow continues; if **declined**, it redirects to another step.\n"
},
"typeVersion": 1
},
{
"id": "63aa0097-e2ad-40d5-abf0-103f132305d3",
"name": "付箋4",
"type": "n8n-nodes-base.stickyNote",
"position": [
896,
48
],
"parameters": {
"color": 5,
"height": 368,
"content": "## 📩 Decline Notification \nSends a Telegram message to the user notifying them that they **declined the task** and no task was created in Notion.\n"
},
"typeVersion": 1
},
{
"id": "6ccb7215-746b-4449-b8ba-a535566bb04f",
"name": "付箋5",
"type": "n8n-nodes-base.stickyNote",
"position": [
896,
-304
],
"parameters": {
"color": 5,
"width": 512,
"height": 320,
"content": "## 📝 Create Notion Task \nIf the task is approved, this node creates a new task in Notion using the extracted **task name** and **due date**. \nAfter creation, it triggers the next node to send a Telegram notification.\n"
},
"typeVersion": 1
},
{
"id": "c1411a5a-f2a1-42cd-8c4a-708f2040a982",
"name": "Telegram New Message Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-544,
-32
],
"webhookId": "eb1fee94-6a07-46f5-baae-0a3753e4a8be",
"parameters": {
"updates": [
"message"
],
"additionalFields": {
"chatIds": "YOUR_TELEGRAM_CHAT_ID"
}
},
"credentials": {
"telegramApi": {
"id": "n0Vw3Lfnk23X3KQN",
"name": "n8n_active_bot - Telegram"
}
},
"typeVersion": 1.2
},
{
"id": "1214ca68-7ced-4a27-b4b5-30caad364092",
"name": "AI抽出: TaskName & TaskDue",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
-192,
-32
],
"parameters": {
"text": "={{ $json.message.text }}",
"options": {},
"attributes": {
"attributes": [
{
"name": "TaskName",
"required": true,
"description": "This is the name of the task. The task name should be in the title case."
},
{
"name": "TaskDue",
"type": "date",
"description": "This is the due date of the task."
}
]
}
},
"typeVersion": 1.2
},
{
"id": "093e6dab-b137-4d80-8bff-09ff03f1018b",
"name": "メッセージ送信と応答待機(承認/拒否)",
"type": "n8n-nodes-base.telegram",
"position": [
240,
-32
],
"webhookId": "e8b05b82-08e2-4462-95b1-9d46a3c327c3",
"parameters": {
"chatId": "={{ $('Telegram New Message Trigger').item.json.message.from.id }}",
"message": "=Task Name: {{ $json.output.TaskName }}\nDue Date: {{ $json.output.TaskDue }}",
"options": {
"appendAttribution": false
},
"operation": "sendAndWait",
"approvalOptions": {
"values": {
"approvalType": "double",
"approveLabel": "Approve",
"disapproveLabel": "Decline"
}
}
},
"credentials": {
"telegramApi": {
"id": "n0Vw3Lfnk23X3KQN",
"name": "n8n_active_bot - Telegram"
}
},
"typeVersion": 1.2
},
{
"id": "a5b24cc6-1ba0-400f-a218-c5ddcbff2574",
"name": "承認チェック(承認済み?)",
"type": "n8n-nodes-base.if",
"position": [
592,
-32
],
"parameters": {
"options": {},
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "9d302e0c-44e2-4b9e-a3ed-8d21e67945ed",
"operator": {
"type": "boolean",
"operation": "true",
"singleValue": true
},
"leftValue": "={{ $json.data.approved }}",
"rightValue": ""
}
]
}
},
"typeVersion": 2.2
},
{
"id": "80e06ae0-4eb1-43fa-8215-828500e1a7df",
"name": "Notion: タスク作成(ページ)",
"type": "n8n-nodes-base.notion",
"position": [
976,
-160
],
"parameters": {
"title": "={{ $('AI Extract: TaskName & TaskDue').item.json.output.TaskName }}",
"options": {},
"resource": "databasePage",
"databaseId": {
"__rl": true,
"mode": "list",
"value": "282c6fb7-beaa-80b5-9051-ce57efc79002",
"cachedResultUrl": "https://www.notion.so/YOUR_NOTION_DATABASE_ID",
"cachedResultName": "Tasks Testing"
},
"propertiesUi": {
"propertyValues": [
{
"key": "Date|date",
"date": "={{ $('AI Extract: TaskName & TaskDue').item.json.output.TaskDue }}",
"includeTime": false
}
]
}
},
"credentials": {
"notionApi": {
"id": "lrP3yNJ79AutF43p",
"name": "ABHIMAN HQ - Notion"
}
},
"typeVersion": 2.2
},
{
"id": "8c629f2a-04bf-4ffe-960f-6ca107f6f13d",
"name": "通知: タスク作成済み(Telegram)",
"type": "n8n-nodes-base.telegram",
"position": [
1184,
-160
],
"webhookId": "1c5bee4c-59bd-4bc5-9091-7db21831d653",
"parameters": {
"text": "=✅ Task created in Notion.",
"chatId": "={{ $('Telegram New Message Trigger').item.json.message.from.id }}",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "n0Vw3Lfnk23X3KQN",
"name": "n8n_active_bot - Telegram"
}
},
"typeVersion": 1.2
},
{
"id": "a5ff4f45-4ef8-4474-992b-a73b5983b462",
"name": "通知: 拒否 - タスク未作成(Telegram)",
"type": "n8n-nodes-base.telegram",
"position": [
960,
224
],
"webhookId": "1c5bee4c-59bd-4bc5-9091-7db21831d653",
"parameters": {
"text": "=❌ Task not created in Notion.",
"chatId": "={{ $('Telegram New Message Trigger').item.json.message.from.id }}",
"additionalFields": {
"appendAttribution": false
}
},
"credentials": {
"telegramApi": {
"id": "n0Vw3Lfnk23X3KQN",
"name": "n8n_active_bot - Telegram"
}
},
"typeVersion": 1.2
},
{
"id": "5f21dcbb-1d6d-4b16-8395-84a884a5e4fb",
"name": "付箋6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1232,
-336
],
"parameters": {
"color": 7,
"width": 544,
"height": 688,
"content": "## 🔧 Setup & Requirements\n- Gemini API key (add as Google Palm / Gemini credential in n8n). \n- Notion integration + database with properties: \n - **TaskName** (Title) — stores the task name. \n - **TaskDue** (Date) — stores the due date (use ISO `YYYY-MM-DD`). \n- Telegram bot token (add as Telegram credential in n8n). \n- A running n8n instance (cloud or self-hosted).\n\n## Quick setup\n1. Add credentials in n8n: Google Palm / Gemini, Notion, and Telegram. \n2. Open the **Notion: Create Task (Page)** node and set **Database ID** to `YOUR_NOTION_DATABASE_ID`. \n3. Open the **Telegram New Message Trigger** node → Additional Fields → set `chatIds` to `YOUR_TELEGRAM_CHAT_ID` to restrict the trigger to your chat only. \n4. Save and test with a sample message.\n\n## Security notes\n- Do **not** hardcode API keys or tokens in HTTP or node fields — always use n8n credential stores. \n- Replace all placeholders (`YOUR_NOTION_DATABASE_ID`, `YOUR_TELEGRAM_CHAT_ID`, credential names) before sharing the workflow.\n\n## Quick test example\nSend to your bot: `Remind me to submit the report on 26th october 2025` → approve the message → verify a Notion task appears with Title = TaskName and Date = TaskDue.\n"
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "5463694c-b820-446b-be0d-e4f088e4b2eb",
"connections": {
"2abd8dfa-9a30-40e9-a6f6-00dfebfb0a8c": {
"ai_languageModel": [
[
{
"node": "1214ca68-7ced-4a27-b4b5-30caad364092",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"80e06ae0-4eb1-43fa-8215-828500e1a7df": {
"main": [
[
{
"node": "8c629f2a-04bf-4ffe-960f-6ca107f6f13d",
"type": "main",
"index": 0
}
]
]
},
"c1411a5a-f2a1-42cd-8c4a-708f2040a982": {
"main": [
[
{
"node": "1214ca68-7ced-4a27-b4b5-30caad364092",
"type": "main",
"index": 0
}
]
]
},
"a5b24cc6-1ba0-400f-a218-c5ddcbff2574": {
"main": [
[
{
"node": "80e06ae0-4eb1-43fa-8215-828500e1a7df",
"type": "main",
"index": 0
}
],
[
{
"node": "a5ff4f45-4ef8-4474-992b-a73b5983b462",
"type": "main",
"index": 0
}
]
]
},
"1214ca68-7ced-4a27-b4b5-30caad364092": {
"main": [
[
{
"node": "093e6dab-b137-4d80-8bff-09ff03f1018b",
"type": "main",
"index": 0
}
]
]
},
"093e6dab-b137-4d80-8bff-09ff03f1018b": {
"main": [
[
{
"node": "a5b24cc6-1ba0-400f-a218-c5ddcbff2574",
"type": "main",
"index": 0
}
]
]
}
}
}よくある質問
このワークフローの使い方は?
上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。
このワークフローはどんな場面に適していますか?
中級 - コンテンツ作成, マルチモーダルAI
有料ですか?
このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。
関連ワークフロー
Telegram経由でNotionタスクを処理する音声アシスタント
Gemini AIと音声サポートでTelegramからタスクを抽出してNotionへの承認
If
Set
Notion
+
If
Set
Notion
25 ノードAbhiman G S
成分分析
TelegramとGemini 2.5 Flashを使用して製品の成分写真を分析する
If
Switch
Telegram
+
If
Switch
Telegram
17 ノードParth Pansuriya
コンテンツ作成
1. 转写評価エージェント
TelegramとGroq Whisperによる音声文字起こし
If
Set
Switch
+
If
Set
Switch
22 ノードAbhiman
文書抽出
URLベースでAI、Telegram、マルチプラットフォームで自動のにソーシャルメディア投稿を生成
URLを基にAI、Telegram、複数のプラットフォームで自動のにソーシャルメディア投稿を作成
If
Set
Code
+
If
Set
Code
42 ノードKarol
コンテンツ作成
LinkedInおよびXウイルスのなコンテンツ自動エンジン
AIを使ってLinkedInとXにウイルスのなコンテンツを自動生成して公開する
If
Set
Wait
+
If
Set
Wait
156 ノードDiptamoy Barman
コンテンツ作成
私のワークフロー
カロリー追跡と食事記録(Telegram、Gemini AI、データスプレッドシート)
If
Set
Code
+
If
Set
Code
73 ノードGerald Denor
コンテンツ作成
ワークフロー情報
難易度
中級
ノード数15
カテゴリー2
ノードタイプ7
作成者
Abhiman G S
@abhimangsAutomation consultant helping creators and small teams streamline their workflows using Notion and n8n. I build systems that save time, boost productivity, and keep everything running smoothly. Check my LinkedIn to connect or collaborate on custom automations.
外部リンク
n8n.ioで表示 →
このワークフローを共有