テンプレートに戻る
ワークフローテンプレート
Openai Chat Model1 | Operasyon için n8n Otomasyon İş Akışı Şablonu
n8n için hazır otomasyon şablonu: Openai Chat Model1. 11 düğüm. JSON'u kopyalayıp n8n'e içe aktarın.
11 ノードOpenai_Chat_Model1-workflow.json
{"meta": {"instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9","templateCredsSetupCompleted": true},"nodes": [{"id": "7e5004b9-222b-4685-9f2c-248def0db89c","name": "OpenAI Chat Model1","type": "@n8n/n8n-nodes-langchain.lmChatOpenAi","position": [448,8080],"parameters": {"model": {"__rl": true,"mode": "list","value": "gpt-5-nano","cachedResultName": "gpt-5-nano"},"options": {}},"credentials": {"openAiApi": {"id": "4l6TDfLZVFS24g3X","name": "OpenAi account 4"}},"typeVersion": 1.2},{"id": "7224dcb8-9d1e-4bc0-8410-b2bc2644d4af","name": "Sticky Note4","type": "n8n-nodes-base.stickyNote","position": [-944,7360],"parameters": {"width": 400,"height": 928,"content": "\n\n## ⚙️ Setup Instructions\n\n### 1️⃣ Connect Trello (Developer API)\n1. Get your **API key**: https://trello.com/app-key \n2. Generate a **token** (from the same page → **Token**)\n3. In n8n → **Credentials → New → Trello API**, paste **API Key** and **Token**, save. \n4. Open each Trello node (**Get Board**, **Get Lists**, **Get Cards**) and select your Trello credential.\n\n### 2️⃣ Set Up OpenAI Connection\n1. Go to [OpenAI Platform](https://platform.openai.com/api-keys) \n2. Navigate to [OpenAI Billing](https://platform.openai.com/settings/organization/billing/overview) \n3. Add funds to your billing account \n4. Copy your API key into the **OpenAI credentials** in n8n \n\n### 3️⃣ Add Your Board URL to “Get Board”\n1. Copy your Trello board URL (e.g., `https://trello.com/b/DCpuJbnd/administrative-tasks`). \n2. Open the **Get Board** node → **Resource: Board**, **Operation: Get**. \n3. In **ID**, choose **URL** mode and paste the **board URL**. \n - The node will resolve the board and output its `id` → used by **Get Lists** / **Get Cards**.\n\n## 📬 Contact\n📧 [robert@ynteractive.com](mailto:robert@ynteractive.com) \n🔗 [Robert Breen](https://www.linkedin.com/in/robert-breen-29429625/) \n🌐 [ynteractive.com](https://ynteractive.com)\n"},"typeVersion": 1},{"id": "c22061aa-f423-4eba-959d-76df33468dc7","name": "Sticky Note53","type": "n8n-nodes-base.stickyNote","position": [-496,7360],"parameters": {"color": 7,"width": 1504,"height": 928,"content": "# 💬 Chat with Your Trello Board (n8n + OpenAI)\n\nTurn your Trello board into a conversational assistant. This workflow pulls your board → lists → cards, aggregates the context, and lets you **ask natural-language questions** (“what’s overdue?”, “summarize In Progress”, “what changed this week?”). OpenAI reasons over the live board data and replies with concise answers or summaries. Great for standups, planning, and quick status checks—without opening Trello.\n\n"},"typeVersion": 1},{"id": "6e1ad091-728f-40ab-ab24-ec1725e014b1","name": "Sticky Note54","type": "n8n-nodes-base.stickyNote","position": [352,7904],"parameters": {"color": 3,"width": 288,"height": 304,"content": "### 2️⃣ Set Up OpenAI Connection\n1. Go to [OpenAI Platform](https://platform.openai.com/api-keys) \n2. Navigate to [OpenAI Billing](https://platform.openai.com/settings/organization/billing/overview) \n3. Add funds to your billing account \n4. Copy your API key into the **OpenAI credentials** in n8n "},"typeVersion": 1},{"id": "50e502a8-b9d1-4c1a-b7df-89ba16ffb9ca","name": "Get Board3","type": "n8n-nodes-base.trello","position": [-416,7760],"parameters": {"id": {"__rl": true,"mode": "url","value": "https://trello.com/b/DCpuJbnd/administrative-tasks"},"resource": "board","operation": "get","additionalFields": {}},"credentials": {"trelloApi": {"id": "0inUg5020tWOj6Qr","name": "Trello account 4"}},"typeVersion": 1},{"id": "49a15c6f-e6ae-4e11-a862-9f22f6063f1f","name": "Get Lists3","type": "n8n-nodes-base.trello","position": [-208,8096],"parameters": {"id": "={{ $json.id }}","resource": "list","operation": "getAll","additionalFields": {}},"credentials": {"trelloApi": {"id": "0inUg5020tWOj6Qr","name": "Trello account 4"}},"typeVersion": 1},{"id": "2d9ab2fc-7eb1-4c49-bb3d-888f69705ed9","name": "Get Cards3","type": "n8n-nodes-base.trello","position": [-96,7648],"parameters": {"id": "={{ $json.id }}","resource": "list","operation": "getCards","additionalFields": {}},"credentials": {"trelloApi": {"id": "0inUg5020tWOj6Qr","name": "Trello account 4"}},"typeVersion": 1},{"id": "379e1633-90dd-49ab-ac55-3b37092e2d6e","name": "Map Fields3","type": "n8n-nodes-base.set","position": [64,7776],"parameters": {"options": {},"assignments": {"assignments": [{"id": "3c2613df-a000-4c8e-bd27-2aef696f5ced","name": "Board Name","type": "string","value": "={{ $('Get Board3').item.json.name }}"},{"id": "e4048a3f-d352-4b1f-a76a-4fbf9b74b163","name": "List Name","type": "string","value": "={{ $('Get Lists3').item.json.name }}"},{"id": "d0236a8a-8129-4370-b241-9e27adcb9952","name": "Task Name","type": "string","value": "={{ $json.name }}"},{"id": "8b6b23c1-1661-4af7-b62d-4facaf0d2651","name": "Task Description","type": "string","value": "={{ $json.desc }}"},{"id": "69b2b12a-9e67-4313-b395-83a5b613a0d7","name": "badges.due","type": "string","value": "={{ $json.badges.due }}"}]}},"typeVersion": 3.4},{"id": "9a6f85cd-6a72-4de1-8731-43f8a9cb9e7e","name": "Combine into One1","type": "n8n-nodes-base.aggregate","position": [208,7648],"parameters": {"options": {},"aggregate": "aggregateAllItemData"},"typeVersion": 1},{"id": "fc282406-1bdc-4f72-9e9a-6520d20881c2","name": "Sticky Note55","type": "n8n-nodes-base.stickyNote","position": [-320,7920],"parameters": {"color": 3,"width": 336,"height": 304,"content": "### 1️⃣ Connect Trello (Developer API)\n1. Get your **API key**: https://trello.com/app-key \n2. Generate a **token** (from the same page → **Token**)\n3. In n8n → **Credentials → New → Trello API**, paste **API Key** and **Token**, save. "},"typeVersion": 1},{"id": "dee41412-f458-43b5-a918-aa8badd79cdc","name": "When chat message received","type": "@n8n/n8n-nodes-langchain.chatTrigger","position": [-448,7536],"webhookId": "9c5af39a-d2a0-4837-9315-2f88184b8ab6","parameters": {"options": {}},"typeVersion": 1.3},{"id": "9acdfd7e-acd4-4a87-b850-f60677e89433","name": "Simple Memory","type": "@n8n/n8n-nodes-langchain.memoryBufferWindow","position": [768,8064],"parameters": {"sessionKey": "={{ $('Merge With Chat').item.json.sessionId }}","sessionIdType": "customKey"},"typeVersion": 1.3},{"id": "cd0c4fe0-60cb-4e47-b7c5-53272b6274af","name": "Edit Fields1","type": "n8n-nodes-base.set","position": [656,7504],"parameters": {"options": {},"assignments": {"assignments": [{"id": "0e3cf129-4b85-4255-ba25-5663531e9a0f","name": "trello","type": "string","value": "={{ $json.data }}"}]}},"typeVersion": 3.4},{"id": "10874d59-574e-47ff-8b8b-794193fafa26","name": "Merge With Chat","type": "n8n-nodes-base.merge","position": [368,7536],"parameters": {"mode": "combine","options": {},"combineBy": "combineAll"},"typeVersion": 3.2},{"id": "f7ea9fe1-2ec3-46de-b046-38a995d3edc2","name": "Trello Chatbot","type": "@n8n/n8n-nodes-langchain.agent","position": [592,7744],"parameters": {"text": "=trellow board aggregation: {{ $json.trello }} Chat message: {{ $('Merge With Chat').item.json.chatInput }} ","options": {"systemMessage": "Summarize this board"},"promptType": "define"},"typeVersion": 2.2}],"pinData": {},"connections": {"Get Board3": {"main": [[{"node": "Get Lists3","type": "main","index": 0}]]},"Get Cards3": {"main": [[{"node": "Map Fields3","type": "main","index": 0}]]},"Get Lists3": {"main": [[{"node": "Get Cards3","type": "main","index": 0}]]},"Map Fields3": {"main": [[{"node": "Combine into One1","type": "main","index": 0}]]},"Edit Fields1": {"main": [[{"node": "Trello Chatbot","type": "main","index": 0}]]},"Simple Memory": {"ai_memory": [[{"node": "Trello Chatbot","type": "ai_memory","index": 0}]]},"Trello Chatbot": {"main": [[]]},"Merge With Chat": {"main": [[{"node": "Edit Fields1","type": "main","index": 0}]]},"Combine into One1": {"main": [[{"node": "Merge With Chat","type": "main","index": 1}]]},"OpenAI Chat Model1": {"ai_languageModel": [[{"node": "Trello Chatbot","type": "ai_languageModel","index": 0}]]},"When chat message received": {"main": [[{"node": "Get Board3","type": "main","index": 0},{"node": "Merge With Chat","type": "main","index": 0}]]}}}
n8n エディター内:Ctrl+V で貼り付け→ワークフローが作成されます