Telegram에서 직접 Todoist 작업 생성하는 쉬운 작업 관리
중급
이것은AI분야의자동화 워크플로우로, 13개의 노드를 포함합니다.주로 Set, Switch, Todoist, Telegram, TelegramTrigger 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. 쉬운 작업 관리: Telegram을 통해 AI를 통해 Todoist 작업 생성
사전 요구사항
- •Telegram Bot Token
- •OpenAI API Key
사용된 노드 (13)
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"meta": {
"instanceId": "b41148c809c7896d124743d940fc0964703e540af66564ef95e25a4ceea61c77",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "e87d3723-7e7a-4ff3-bffb-b2bd2096bd34",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
1080,
260
],
"parameters": {
"model": {
"__rl": true,
"mode": "list",
"value": "gpt-4o-mini"
},
"options": {}
},
"credentials": {
"openAiApi": {
"id": "uFPD9I4pWJ4xUVf7",
"name": "OpenAi account"
}
},
"typeVersion": 1.2
},
{
"id": "d25bf3ea-0de4-4317-9205-651f8a1a6ba8",
"name": "Basic LLM Chain",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1060,
40
],
"parameters": {
"text": "={{ $json.text }}",
"messages": {
"messageValues": [
{
"message": "=Okay, I've further refined the system prompt to include only the \"content\" and \"priority\" fields in the JSON output for the Todoist tool. Here's the updated prompt:\n\n**System Prompt:**\n\n```\nYou are an AI agent acting as a project management assistant. The user will provide you with a task or project description. Your job is to break down this task or project into smaller, manageable sub-tasks. You will then format each sub-task into a JSON object suitable for input to the \"Todoist\" tool and provide these JSON objects in a list.\n\n**Requirements:**\n\n1. **Sub-Task Decomposition:** Break down the task or project provided by the user into logical and actionable sub-tasks. Each sub-task should be self-contained, completable, and measurable.\n2. **JSON Format for Todoist:** Format each sub-task as a JSON object with the following structure:\n\n ```json\n {\n \"content\": \"[Task Description]\",\n \"priority\": [Priority Level (1-4, where 4 is highest)]\n }\n ```\n\n * `content`: A clear and concise description of the task.\n * `priority`: An integer representing the task priority, ranging from 1 (lowest) to 4 (highest). Consider the importance and urgency of the task when assigning the priority.\n\n3. **Tool Usage - Todoist JSON Output:** After decomposing the project into sub-tasks, you **MUST** format each sub-task into the JSON structure specified above and present all the JSON objects in a Python list. This list will be the direct input to the \"Todoist\" tool.\n\n4. **Contextual Understanding:** Fully understand the context of the task or project provided by the user. If necessary, ask for additional information or clarification to resolve any ambiguities.\n\n5. **Limitations:**\n\n * Avoid very general or abstract sub-tasks.\n * Ensure that each sub-task is completable and measurable.\n * When creating sub-tasks, consider the user's skills and resources.\n * Ensure all the output is valid JSON format within a python list\n\n**User Input:**\n\nThe user will provide you with a task or project description in the following format:\n\n```\nProject Description: [User's Entered Task or Project Description]\n```\n\n**Example:**\n\n**User Input:**\n\n```\nProject Description: Plan a team offsite.\n```\n\n**LLM Response:**\n\n```python\n[\n {\n \"content\": \"Research potential offsite locations.\",\n \"priority\": 3\n },\n {\n \"content\": \"Determine the budget for the offsite.\",\n \"priority\": 4\n },\n {\n \"content\": \"Send out a survey to gather team preferences.\",\n \"priority\": 3\n },\n {\n \"content\": \"Book the chosen venue.\",\n \"priority\": 4\n },\n {\n \"content\": \"Plan team-building activities.\",\n \"priority\": 2\n }\n]\n```\n\n**Key Changes and Explanations:**\n\n* **Simplified JSON Structure:** The JSON object now only includes `content` and `priority`.\n* **Example Updated:** The example response reflects the simplified JSON format.\n* **Conciseness:** The prompt is now more concise, focusing only on the necessary fields.\n\n**Jinja2 Template Version**\n\n```python\nfrom jinja2 import Template\n\ntemplate_string = \"\"\"\nYou are an AI agent acting as a project management assistant. The user will provide you with a task or project description. Your job is to break down this task or project into smaller, manageable sub-tasks. You will then format each sub-task into a JSON object suitable for input to the \"Todoist\" tool and provide these JSON objects in a list.\n\n**Requirements:**\n\n1. **Sub-Task Decomposition:** Break down the task or project provided by the user into logical and actionable sub-tasks. Each sub-task should be self-contained, completable, and measurable.\n2. **JSON Format for Todoist:** Format each sub-task as a JSON object with the following structure:\n\n ```json\n {\n \"content\": \"[Task Description]\",\n \"priority\": [Priority Level (1-4, where 4 is highest)]\n }\n ```\n\n * `content`: A clear and concise description of the task.\n * `priority`: An integer representing the task priority, ranging from 1 (lowest) to 4 (highest). Consider the importance and urgency of the task when assigning the priority.\n\n3. **Tool Usage - Todoist JSON Output:** After decomposing the project into sub-tasks, you **MUST** format each sub-task into the JSON structure specified above and present all the JSON objects in a Python list. This list will be the direct input to the \"Todoist\" tool.\n\n4. **Contextual Understanding:** Fully understand the context of the task or project provided by the user. If necessary, ask for additional information or clarification to resolve any ambiguities.\n\n5. **Limitations:**\n\n * Avoid very general or abstract sub-tasks.\n * Ensure that each sub-task is completable and measurable.\n * When creating sub-tasks, consider the user's skills and resources.\n * Ensure all the output is valid JSON format within a python list\n\n**User Input:**\n\nThe user will provide you with a task or project description in the following format:\n\n```\nProject Description: {{ project_description }}\n```\n\n**Example:**\n\n**User Input:**\n\n```\nProject Description: Plan a team offsite.\n```\n\n**LLM Response:**\n\n```python\n[\n {\n \"content\": \"Research potential offsite locations.\",\n \"priority\": 3\n },\n {\n \"content\": \"Determine the budget for the offsite.\",\n \"priority\": 4\n },\n {\n \"content\": \"Send out a survey to gather team preferences.\",\n \"priority\": 3\n },\n {\n \"content\": \"Book the chosen venue.\",\n \"priority\": 4\n },\n {\n \"content\": \"Plan team-building activities.\",\n \"priority\": 2\n }\n]\n```\n\"\"\"\n\ntemplate = Template(template_string)\n\n# Example Usage\nproject_description = \"Plan a team offsite.\"\nprompt = template.render(project_description=project_description)\n\nprint(prompt)\n```\n \n"
}
]
},
"promptType": "define",
"hasOutputParser": true
},
"typeVersion": 1.5
},
{
"id": "ddfe59c5-574c-470b-b2cc-efa05da74972",
"name": "Receive Telegram Messages",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-220,
-100
],
"webhookId": "4e2cd560-ae4e-4ed7-a8ea-984518404e51",
"parameters": {
"updates": [
"message"
],
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "lff3pLERRdQmkmeV",
"name": "Telegram account"
}
},
"typeVersion": 1.1
},
{
"id": "23f2cedd-bcd2-4a94-acc1-8829b30553dc",
"name": "음성 또는 텍스트?",
"type": "n8n-nodes-base.switch",
"position": [
140,
-20
],
"parameters": {
"rules": {
"values": [
{
"outputKey": "Audio",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "af30c479-4542-405f-b315-37c50c4e2bef",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.message.voice.file_id }}",
"rightValue": ""
}
]
},
"renameOutput": true
},
{
"outputKey": "Text",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "a3ca8cd4-fbb2-40b5-829a-24724f2fbc85",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "={{ $json.message.text || \"\" }}",
"rightValue": ""
}
]
},
"renameOutput": true
},
{
"outputKey": "Error",
"conditions": {
"options": {
"version": 2,
"leftValue": "",
"caseSensitive": true,
"typeValidation": "strict"
},
"combinator": "and",
"conditions": [
{
"id": "9bcfdee0-2f09-4037-a7b9-689ef392371d",
"operator": {
"type": "string",
"operation": "exists",
"singleValue": true
},
"leftValue": "error",
"rightValue": ""
}
]
},
"renameOutput": true
}
]
},
"options": {}
},
"typeVersion": 3.2
},
{
"id": "128e8268-a256-4256-8757-9ece8be86d75",
"name": "음성 메시지 가져오기",
"type": "n8n-nodes-base.telegram",
"position": [
500,
-120
],
"webhookId": "23645237-4943-4c32-b18c-97c410cc3409",
"parameters": {
"fileId": "={{ $json.message.voice.file_id }}",
"resource": "file"
},
"credentials": {
"telegramApi": {
"id": "lff3pLERRdQmkmeV",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "d8219ba5-bb33-44f5-a9a2-65fd16be335b",
"name": "음성을 텍스트로 변환",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
720,
-120
],
"parameters": {
"options": {},
"resource": "audio",
"operation": "translate"
},
"credentials": {
"openAiApi": {
"id": "uFPD9I4pWJ4xUVf7",
"name": "OpenAi account"
}
},
"typeVersion": 1.8
},
{
"id": "0c5f5568-fd14-4c65-8661-ebc5803158ce",
"name": "LLM 준비",
"type": "n8n-nodes-base.set",
"position": [
620,
100
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "b324a329-3c49-4f7f-b683-74331b7fe7f8",
"name": "=text",
"type": "string",
"value": "={{$json.message.text}}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "76ed8f5c-59f7-4cb9-9e59-25ac7e9e8c60",
"name": "작업 추출",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1220,
260
],
"parameters": {
"jsonSchemaExample": " {\n \"content\": \"Send out invitations.\",\n \"priority\": 3\n }"
},
"typeVersion": 1.2
},
{
"id": "7d0dbcb7-aac1-4eea-8f0b-6173148bfd3f",
"name": "Todoist 작업 생성",
"type": "n8n-nodes-base.todoist",
"position": [
1620,
40
],
"parameters": {
"content": "={{ $json.output.content }}",
"options": {
"priority": "={{ $json.output.priority }}"
},
"project": {
"__rl": true,
"mode": "list",
"value": "2349786654",
"cachedResultName": "Task"
}
},
"credentials": {
"todoistApi": {
"id": "yqSn5VBXyA4R6hgt",
"name": "Todoist account"
}
},
"typeVersion": 2.1
},
{
"id": "544b3f63-8ac1-4f81-9c24-943df16d9324",
"name": "확인 메시지 전송",
"type": "n8n-nodes-base.telegram",
"position": [
1880,
40
],
"webhookId": "5699aecd-e061-4b7f-af7b-4a23eb7201c6",
"parameters": {
"text": "=Task : {{ $json.content }} Task Link :{{ $json.url }}",
"chatId": "={{ $('Receive Telegram Messages').item.json.message.chat.id }}",
"additionalFields": {}
},
"credentials": {
"telegramApi": {
"id": "lff3pLERRdQmkmeV",
"name": "Telegram account"
}
},
"typeVersion": 1.2
},
{
"id": "b244f935-3047-4581-84ac-b01b2f962c1d",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-260,
-240
],
"parameters": {
"width": 260,
"height": 320,
"content": " \n**This workflow listens for incoming voice or text messages from Telegram users.** "
},
"typeVersion": 1
},
{
"id": "fa99930d-8e75-4f1e-aa9b-47c38e611538",
"name": "Sticky Note3",
"type": "n8n-nodes-base.stickyNote",
"position": [
440,
-220
],
"parameters": {
"width": 460,
"height": 260,
"content": " **Voice messages are fetched from Telegram and transcribed into text using OpenAI's Whisper API.** "
},
"typeVersion": 1
},
{
"id": "beb460c9-0412-40c4-a3cf-76660eb0e1b8",
"name": "Sticky Note4",
"type": "n8n-nodes-base.stickyNote",
"position": [
1000,
-60
],
"parameters": {
"width": 380,
"height": 440,
"content": " \n**The LLM (OpenAI Chat Model) analyzes the text and breaks it down into tasks and sub-tasks, formatted for Todoist.** "
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"76ed8f5c-59f7-4cb9-9e59-25ac7e9e8c60": {
"ai_outputParser": [
[
{
"node": "d25bf3ea-0de4-4317-9205-651f8a1a6ba8",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"23f2cedd-bcd2-4a94-acc1-8829b30553dc": {
"main": [
[
{
"node": "128e8268-a256-4256-8757-9ece8be86d75",
"type": "main",
"index": 0
}
],
[
{
"node": "0c5f5568-fd14-4c65-8661-ebc5803158ce",
"type": "main",
"index": 0
}
]
]
},
"d25bf3ea-0de4-4317-9205-651f8a1a6ba8": {
"main": [
[
{
"node": "7d0dbcb7-aac1-4eea-8f0b-6173148bfd3f",
"type": "main",
"index": 0
}
]
]
},
"0c5f5568-fd14-4c65-8661-ebc5803158ce": {
"main": [
[
{
"node": "d25bf3ea-0de4-4317-9205-651f8a1a6ba8",
"type": "main",
"index": 0
}
]
]
},
"e87d3723-7e7a-4ff3-bffb-b2bd2096bd34": {
"ai_languageModel": [
[
{
"node": "d25bf3ea-0de4-4317-9205-651f8a1a6ba8",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"128e8268-a256-4256-8757-9ece8be86d75": {
"main": [
[
{
"node": "d8219ba5-bb33-44f5-a9a2-65fd16be335b",
"type": "main",
"index": 0
}
]
]
},
"7d0dbcb7-aac1-4eea-8f0b-6173148bfd3f": {
"main": [
[
{
"node": "544b3f63-8ac1-4f81-9c24-943df16d9324",
"type": "main",
"index": 0
}
]
]
},
"d8219ba5-bb33-44f5-a9a2-65fd16be335b": {
"main": [
[
{
"node": "d25bf3ea-0de4-4317-9205-651f8a1a6ba8",
"type": "main",
"index": 0
}
]
]
},
"ddfe59c5-574c-470b-b2cc-efa05da74972": {
"main": [
[
{
"node": "23f2cedd-bcd2-4a94-acc1-8829b30553dc",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 인공지능
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
Telegram에서 AI를 사용하여 소셜 미디어 콘텐츠 생성
Telegram에서 AI를 사용하여 소셜 미디어 콘텐츠를 만들기
Set
Switch
Telegram
+
Set
Switch
Telegram
16 노드Onur
기타
基于 GPT、LangChain 및스마트路由의 AI 驱动고객服务자동화
AI驱动고객服务자동화,基于GPT、LangChain및스마트路由
Set
Gmail
Merge
+
Set
Gmail
Merge
46 노드Paul
지원
AI 이메일 분석기: PDF, 이미지 처리
PDF 및 이미지를 처리하여 Google Drive와 Telegram에 저장
If
Set
Code
+
If
Set
Code
31 노드Davide
인공지능
AI이메일分诊与GPT-4警报系统及Telegram알림
AI이메일分诊与GPT-4警报系统及Telegram알림
If
Set
Gmail
+
If
Set
Gmail
104 노드Peter Joslyn
지원
스마트资金관리器
基于Telegram、Google Sheets및OpenAI의AI驱动收据및支出追踪器
If
Set
Code
+
If
Set
Code
50 노드Khairul Muhtadin
금융
Airbnb Telegram 에이전트 - 템플릿
Airbnb Telegram에이전트 - 支持语音의AI驱动住宿검색
Set
Switch
Telegram
+
Set
Switch
Telegram
15 노드Friedemann Schuetz
지원
워크플로우 정보
난이도
중급
노드 수13
카테고리1
노드 유형10
저자
Onur
@onurpolat05Hello, I'm Onur I've been working as a freelance software developer for about four years. In addition, I develop my own projects. For some time, I have been improving myself and providing various services related to AI and AI workflows. Both by writing low code and code. If you have any questions, don't hesitate to contact me.
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유