8
n8n 한국어amn8n.com

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": "Sticky Note",
      "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": "Sticky Note1",
      "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": "Sticky Note2",
      "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": "Sticky Note3",
      "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": "Sticky Note4",
      "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": "Sticky Note5",
      "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": "Sticky Note6",
      "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)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
중급
노드 수15
카테고리2
노드 유형7
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Abhiman G S

Abhiman G S

@abhimangs

Automation 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에서 보기

이 워크플로우 공유

카테고리

카테고리: 34