8
n8n 한국어amn8n.com

OctoPrint 관리자

고급

이것은Engineering, AI, IT Ops분야의자동화 워크플로우로, 16개의 노드를 포함합니다.주로 Discord, HttpRequest, ManualTrigger, Agent, HttpRequestTool 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. GPT-4o와 OctoPrint API를 통해 3D 프린터를 제어

사전 요구사항
  • Discord Bot Token 또는 Webhook
  • 대상 API의 인증 정보가 필요할 수 있음
  • OpenAI API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "YyMOJKUM7DmZpySf",
  "meta": {
    "instanceId": "b4fa5e208d17098379f0d875b3ffa037e21f16d6e20850aa3447c9f571e6dce5",
    "templateCredsSetupCompleted": true
  },
  "name": "OctoPrint Manager",
  "tags": [],
  "nodes": [
    {
      "id": "17588807-7232-48f2-9746-9e5ebfb4370f",
      "name": "'Test workflow' 클릭 시",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -360,
        100
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "338329b4-f691-4fac-bdab-ea5cd74add80",
      "name": "OctoPrint 작업 준비",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -80,
        100
      ],
      "parameters": {
        "url": "http://OctoPrint-IP/api/job",
        "method": "POST",
        "options": {},
        "jsonBody": "{\n  \"command\": \"start\"\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "headerParameters": {
          "parameters": [
            {
              "name": "Content-Type",
              "value": "Content-Type: application/json"
            },
            {
              "name": "X-Api-Key",
              "value": "OctoPrint-API-Key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "c909da95-6a3e-4647-9da7-fcc375bcc517",
      "name": "AI 에이전트",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        372,
        460
      ],
      "parameters": {
        "options": {}
      },
      "retryOnFail": true,
      "typeVersion": 1.9
    },
    {
      "id": "9579f327-f2ec-456f-96aa-72693a0b2619",
      "name": "OpenAI 채팅 모델",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -140,
        680
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4o-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "OPENAI-ID",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "6ce7ede9-b95e-4e6a-ae54-84336956fc53",
      "name": "심플 메모리",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        -20,
        680
      ],
      "parameters": {
        "sessionKey": "Test",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.3
    },
    {
      "id": "9cd904a0-90c7-42b6-be12-38d5be921881",
      "name": "채팅 메시지 수신 시",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        -360,
        460
      ],
      "webhookId": "WEBHOOK-ID",
      "parameters": {
        "public": true,
        "options": {}
      },
      "typeVersion": 1.1
    },
    {
      "id": "99e83e4f-5528-4fa4-9680-3f3126da6d26",
      "name": "OctoPrint 작업 목록 조회",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        100,
        740
      ],
      "parameters": {
        "url": "http://OctoPrint-IP/api/files",
        "options": {},
        "sendHeaders": true,
        "toolDescription": "Makes an HTTP request and returns the list of OctoPrint jobs available for print",
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "OctoPrint-API-Key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "fc7e5787-2045-4fed-888b-9abed6705706",
      "name": "OctoPrint 프린터 상태 확인",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        220,
        680
      ],
      "parameters": {
        "url": "http://OctoPrint-IP/api/printer",
        "options": {},
        "sendHeaders": true,
        "toolDescription": "Makes an HTTP request and returns the OctoPrint Printer Status",
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "OctoPrint-API-Key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "f113838d-08db-4f2c-a9da-03abf6274db0",
      "name": "OctoPrint 작업 일시정지",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        340,
        740
      ],
      "parameters": {
        "url": "http://OctoPrint-IP/api/job",
        "method": "POST",
        "options": {},
        "jsonBody": "{ \"command\": \"pause\", \"action\": \"pause\" }",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "toolDescription": "Makes an HTTP request and pauses the current print job",
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "OctoPrint-API-Key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "63ffabe8-85df-45a7-a643-8ee73515805c",
      "name": "OctoPrint 작업 취소",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        460,
        680
      ],
      "parameters": {
        "url": "http://OctoPrint-IP/api/job",
        "method": "POST",
        "options": {},
        "jsonBody": "{ \"command\": \"cancel\" }",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "toolDescription": "Makes an HTTP request and cancel the current print job",
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "OctoPrint-API-Key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "7b9c3760-a078-4215-88be-83f66d262aaa",
      "name": "OctoPrint 작업 재개",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        580,
        740
      ],
      "parameters": {
        "url": "http://OctoPrint-IP/api/job",
        "method": "POST",
        "options": {},
        "jsonBody": "{ \"command\": \"pause\", \"action\": \"resume\" }",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "toolDescription": "Makes an HTTP request and resume the current print job",
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "OctoPrint-API-Key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "a78d26d9-dd3c-4282-9c2b-e09abbbe2a3a",
      "name": "OctoPrint를 프린터에 연결",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        700,
        680
      ],
      "parameters": {
        "url": "http://OctoPrint-IP/api/connection",
        "method": "POST",
        "options": {},
        "jsonBody": "{\n  \"command\": \"connect\",\n  \"port\": \"/dev/ttyUSB0\",\n  \"baudrate\": 115200,\n  \"printerProfile\": \"_default\"\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "toolDescription": "Makes an HTTP request and returns the OctoPrint Printer Status",
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "OctoPrint-API-Key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "b998d0d3-1263-4ddd-929d-e2c22df66b0e",
      "name": "OctoPrint 프린터 연결 상태 확인",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        820,
        760
      ],
      "parameters": {
        "url": "http://OctoPrint-IP/api/connection",
        "options": {},
        "sendHeaders": true,
        "toolDescription": "Makes an HTTP request and returns the OctoPrint Printer Status",
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "OctoPrint-API-Key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "26d5c411-efeb-484a-a81a-3139d8d44f54",
      "name": "OctoPrint 작업 시작",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        940,
        680
      ],
      "parameters": {
        "url": "http://OctoPrint-IP/api/job",
        "method": "POST",
        "options": {},
        "jsonBody": "{\n  \"command\": \"start\"\n}",
        "sendBody": true,
        "sendHeaders": true,
        "specifyBody": "json",
        "toolDescription": "Makes an HTTP request and start the next print job.",
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "OctoPrint-API-Key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "22aa2ad2-0401-45a5-b718-c33c86825d6a",
      "name": "현재 프린팅 작업 상세 정보 조회",
      "type": "n8n-nodes-base.httpRequestTool",
      "position": [
        200,
        880
      ],
      "parameters": {
        "url": "http://OctoPrint-IP/api/job",
        "options": {},
        "sendHeaders": true,
        "toolDescription": "Makes an HTTP request and returns the current job details from the 3d printer",
        "headerParameters": {
          "parameters": [
            {
              "name": "X-Api-Key",
              "value": "OctoPrint-API-Key"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "d207658e-eef2-4b17-b886-e80e5d81620f",
      "name": "Discord",
      "type": "n8n-nodes-base.discord",
      "position": [
        840,
        380
      ],
      "webhookId": "WEBHOOK-ID",
      "parameters": {
        "content": "={{ $json.output }}",
        "options": {},
        "authentication": "webhook"
      },
      "credentials": {
        "discordWebhookApi": {
          "id": "CuTjcFpLDBJufNt9",
          "name": "OctoPrint Manager"
        }
      },
      "typeVersion": 2
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "520b7a27-8a5a-4df1-b21d-f0e8bb36b1fc",
  "connections": {
    "c909da95-6a3e-4647-9da7-fcc375bcc517": {
      "main": [
        [
          {
            "node": "d207658e-eef2-4b17-b886-e80e5d81620f",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "6ce7ede9-b95e-4e6a-ae54-84336956fc53": {
      "ai_memory": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "9579f327-f2ec-456f-96aa-72693a0b2619": {
      "ai_languageModel": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "99e83e4f-5528-4fa4-9680-3f3126da6d26": {
      "ai_tool": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "f113838d-08db-4f2c-a9da-03abf6274db0": {
      "ai_tool": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "26d5c411-efeb-484a-a81a-3139d8d44f54": {
      "ai_tool": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "63ffabe8-85df-45a7-a643-8ee73515805c": {
      "ai_tool": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "7b9c3760-a078-4215-88be-83f66d262aaa": {
      "ai_tool": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "9cd904a0-90c7-42b6-be12-38d5be921881": {
      "main": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "a78d26d9-dd3c-4282-9c2b-e09abbbe2a3a": {
      "ai_tool": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "fc7e5787-2045-4fed-888b-9abed6705706": {
      "ai_tool": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "22aa2ad2-0401-45a5-b718-c33c86825d6a": {
      "ai_tool": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "17588807-7232-48f2-9746-9e5ebfb4370f": {
      "main": [
        [
          {
            "node": "338329b4-f691-4fac-bdab-ea5cd74add80",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "b998d0d3-1263-4ddd-929d-e2c22df66b0e": {
      "ai_tool": [
        [
          {
            "node": "c909da95-6a3e-4647-9da7-fcc375bcc517",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

이 워크플로우를 어떻게 사용하나요?

위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.

이 워크플로우는 어떤 시나리오에 적합한가요?

고급 - 엔지니어링, 인공지능, IT 운영

유료인가요?

이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.

워크플로우 정보
난이도
고급
노드 수16
카테고리3
노드 유형8
난이도 설명

고급 사용자를 위한 16+개 노드의 복잡한 워크플로우

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34