이진 MIME 타입 변경-확장자
중급
이것은AI분야의자동화 워크플로우로, 6개의 노드를 포함합니다.주로 Set, Code, ExtractFromFile, ExecuteWorkflowTrigger 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. 이진 MIME 타입/확장명을 변경합니다.
사전 요구사항
- •AI 서비스 API Key(예: OpenAI, Anthropic 등)
카테고리
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"meta": {
"instanceId": "e409ea34548a2afe2dffba31130cd1cf2e98ebe2afaeed2a63caf2a0582d1da0"
},
"nodes": [
{
"id": "491b237e-9d42-4017-bc80-9301367e4469",
"name": "파일에서 추출",
"type": "n8n-nodes-base.extractFromFile",
"position": [
220,
-80
],
"parameters": {
"options": {},
"operation": "binaryToPropery",
"binaryPropertyName": "={{ Object.keys($binary).first() }}"
},
"typeVersion": 1
},
{
"id": "2a7ea7bd-b009-4219-a5da-5d62976185a5",
"name": "출력 파일 이름 설정",
"type": "n8n-nodes-base.set",
"position": [
-160,
-80
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "db6b30b5-a420-430b-87ae-a4887bfe9628",
"name": "binary_key",
"type": "string",
"value": "={{ Object.keys($binary).first() }}"
},
{
"id": "8e1643f7-e794-43b2-a5ac-80b6b621b547",
"name": "output_file_name",
"type": "string",
"value": "SET YOUR OUTPUT FILE NAME AND EXTENSION !! (ex: .mp3 or .png)"
}
]
},
"includeOtherFields": true
},
"typeVersion": 3.4
},
{
"id": "b9e1072b-c9c2-4d5b-a13a-4eed7a920203",
"name": "바이너리 데이터 유형 변경",
"type": "n8n-nodes-base.code",
"position": [
440,
-80
],
"parameters": {
"jsCode": "const myBuffer = Buffer.from($json.data, 'base64');\n\n$input.item.binary = {\n [$('SET OUTPUT FILE NAME').last().json.binary_key]: await this.helpers.prepareBinaryData(myBuffer, $('SET OUTPUT FILE NAME').last().json.output_file_name)\n};\n\nreturn $input.item;\n"
},
"typeVersion": 2
},
{
"id": "e5fc3b22-3f86-4cef-b0c7-d2f8b7261784",
"name": "스티키 노트",
"type": "n8n-nodes-base.stickyNote",
"position": [
-320,
-420
],
"parameters": {
"color": 3,
"width": 420,
"height": 500,
"content": "### ⚙️ CONFIGURE HERE ⚙️\n\nThis is the main node you need to edit.\n\n1. **`output_file_name`**: Change this value to the desired file name and extension. The extension is what determines the new MIME type.\n * **Example:** To convert to an MP3, set the value to `audio.mp3`.\n * **Example:** To ensure a file is treated as a PNG, set it to `image.png`.\n\n2. **`binary_key`**: This field is dynamic and automatically finds the name of the incoming binary property. **Do not change this.**"
},
"typeVersion": 1
},
{
"id": "41ac8c2b-6530-46bc-9153-8b3c312076f9",
"name": "스티키 노트1",
"type": "n8n-nodes-base.stickyNote",
"position": [
140,
-340
],
"parameters": {
"color": 7,
"width": 480,
"height": 420,
"content": "### ⚙️ Core Logic (No Edit Needed)\n\nThese nodes work together to perform the conversion:\n\n1. **Extract from File:** Converts the binary into text (Base64).\n2. **Code:** Rebuilds the binary file using the new file name you provided in the previous step.\n\nThis process effectively changes the file's perceived format for other n8n nodes or external services."
},
"typeVersion": 1
},
{
"id": "d7de41a8-eb35-4b84-862f-9a2deb438d93",
"name": "바이너리 MIME 유형/확장자 변경",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
-520,
-80
],
"parameters": {
"inputSource": "passthrough"
},
"typeVersion": 1.1
}
],
"pinData": {},
"connections": {
"491b237e-9d42-4017-bc80-9301367e4469": {
"main": [
[
{
"node": "b9e1072b-c9c2-4d5b-a13a-4eed7a920203",
"type": "main",
"index": 0
}
]
]
},
"2a7ea7bd-b009-4219-a5da-5d62976185a5": {
"main": [
[
{
"node": "491b237e-9d42-4017-bc80-9301367e4469",
"type": "main",
"index": 0
}
]
]
},
"d7de41a8-eb35-4b84-862f-9a2deb438d93": {
"main": [
[
{
"node": "2a7ea7bd-b009-4219-a5da-5d62976185a5",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 인공지능
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
AI 기반 Nextcloud 문서 채팅 시스템, LangChain 및 OpenAI 사용
AI 기반 Nextcloud 문서 채팅 시스템, LangChain 및 OpenAI 사용
If
Set
Code
+
If
Set
Code
21 노드johappel
인공지능
ComfyUI를 사용하여 AI 미디어 생성: 이미지, 비디오, 3D 및 오디오 브리지
ComfyUI를 사용하여 AI 미디어 생성: 이미지, 비디오, 3D 및 오디오 브리지
If
Set
Code
+
If
Set
Code
51 노드Nielo
디자인
🎓 병행 처리를 사용하여 속도가 중요한 작업 흐름 최적화(확산-집합)
🎓 병렬 처리(확산/집합)를 사용하여 속도 중요한 작업 흐름 최적화
If
Set
Code
+
If
Set
Code
34 노드Lucas Peyrin
엔지니어링
대기 노드를 포함한 장기 실행 워크플로우 상태 관리 시스템
대기 노드를 포함한 장기 실행 워크플로우 상태 관리 시스템
If
Set
Code
+
If
Set
Code
42 노드Lucas Peyrin
엔지니어링
자동 n8n 업데이터 (Docker)
자동 n8n 업데이터 (Docker)
If
Set
Ssh
+
If
Set
Ssh
26 노드Lucas Peyrin
인공지능
자동 GPT와 Gemini 재해당전선을 사용하여 유연한 AI 워크플로우를 구축
사용법 자동 GPT와 Gemini 트랜스퍼트 링크를 사용하여 유연한 AI 작업 흐름 구축
Set
Manual Trigger
Code
+
Set
Manual Trigger
Code
9 노드Lucas Peyrin
인공지능
워크플로우 정보
난이도
중급
노드 수6
카테고리1
노드 유형5
저자
Lucas Peyrin
@lucaspeyrinInnovative builder with a passion for crafting automation solutions that solve real-world challenges. From streamlining workflows to driving efficiency, my work empowers teams and individuals to achieve more with less effort. Experienced in developing scalable tools and strategies that deliver results with n8n, supabase and cline.
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유