Perplexity(Sonar) 출시 모듈
중급
이것은Building Blocks, AI분야의자동화 워크플로우로, 6개의 노드를 포함합니다.주로 Set, HttpRequest, ExecuteWorkflowTrigger 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. Perplexity Sonar 모델을 사용하여 AI 응답(재사용 가능 모듈) 생성
사전 요구사항
- •대상 API의 인증 정보가 필요할 수 있음
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "YUOkKLDiARiuwpTP",
"meta": {
"instanceId": "a178adf4fc552be53aea873908ce86641ce2cc90fc0083d4c400639e377ba9d2",
"templateCredsSetupCompleted": true
},
"name": "Perplexity(sonar) for publication",
"tags": [],
"nodes": [
{
"id": "33f3c51d-45f0-4c2b-9981-a413ae50772e",
"name": "고정 메모",
"type": "n8n-nodes-base.stickyNote",
"position": [
-420,
-520
],
"parameters": {
"color": 4,
"width": 980,
"height": 240,
"content": "## 🔍 Perplexity API Integration\n\nThis workflow sends a request to Perplexity’s chat completion API using the `sonar` or `sonar-pro` model.\n\n➡️ Triggered via \"Execute Workflow\" \n📤 Accepts dynamic `SystemPrompt` and `UserPrompt` \n🔐 Supports Header Auth\n\n📘 [API Docs](https://docs.perplexity.ai/api-reference/async-chat-completions-post)"
},
"typeVersion": 1
},
{
"id": "19797db1-b7bb-47c9-b13f-983639639309",
"name": "다른 워크플로우에서 실행 시",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
0,
0
],
"parameters": {
"workflowInputs": {
"values": [
{
"name": "SystemPrompt"
},
{
"name": "UserPrompt"
}
]
}
},
"typeVersion": 1.1
},
{
"id": "58674959-f4bb-4bae-a6cd-600059072b6b",
"name": "매개변수",
"type": "n8n-nodes-base.set",
"position": [
240,
0
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "18e5ccd4-5538-4ace-9957-00a2c0c43518",
"name": "model",
"type": "string",
"value": "sonar"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "cf181e63-9a9b-4ab0-a4cf-cf8e8ceba85f",
"name": "고정 메모1",
"type": "n8n-nodes-base.stickyNote",
"position": [
240,
-260
],
"parameters": {
"width": 330,
"height": 240,
"content": "## 🧠 Supported Models\n\n- `sonar`\n- `sonar-pro`\n\n📘 [Model cards and capabilities](https://docs.perplexity.ai/models/model-cards)\n\nTo switch models, change the `\"model\"` value in the **Parameters** node."
},
"typeVersion": 1
},
{
"id": "aed49866-4b61-4170-aafb-7c70b2312a3a",
"name": "Perplexity API 요청",
"type": "n8n-nodes-base.httpRequest",
"position": [
460,
0
],
"parameters": {
"url": "https://api.perplexity.ai/chat/completions",
"method": "POST",
"options": {},
"jsonBody": "={\n \"model\": \"{{$('Parameters').item.json.model}}\",\n \"messages\": [\n {\n \"role\": \"system\",\n \"content\": \"{{ $('When Executed by Another Workflow').item.json.SystemPrompt }}\"\n },\n {\n \"role\": \"user\",\n \"content\": \"{{ $('When Executed by Another Workflow').item.json.UserPrompt }}\"\n }\n ]\n}",
"sendBody": true,
"specifyBody": "json",
"authentication": "genericCredentialType",
"genericAuthType": "httpHeaderAuth"
},
"typeVersion": 4.2
},
{
"id": "0ae885d9-e8bf-4974-9741-46875836e6d7",
"name": "고정 메모2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-420,
-260
],
"parameters": {
"width": 380,
"height": 460,
"content": "## 🧩 Input Parameters\n\nThis workflow expects **two inputs** when triggered from another workflow:\n\n- `SystemPrompt` 🧠 \n → Sets the system message (e.g., behavior or tone) for the LLM.\n\n- `UserPrompt` 💬 \n → The main user question or instruction for the model.\n\n📌 These inputs are used to construct the `messages` array for the Perplexity API.\n\nYou can pass them via the “Execute Workflow” node in your parent workflow."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "a1639271-f212-461b-b661-b0ecad7e9ebb",
"connections": {
"58674959-f4bb-4bae-a6cd-600059072b6b": {
"main": [
[
{
"node": "aed49866-4b61-4170-aafb-7c70b2312a3a",
"type": "main",
"index": 0
}
]
]
},
"aed49866-4b61-4170-aafb-7c70b2312a3a": {
"main": [
[]
]
},
"19797db1-b7bb-47c9-b13f-983639639309": {
"main": [
[
{
"node": "58674959-f4bb-4bae-a6cd-600059072b6b",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 빌딩 블록, 인공지능
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
Anthropic Claude API를 사용하여 대량으로 튜토리얼 처리
Anthropic Claude API를 사용하여 배치로 튜토리얼 처리
If
Set
Code
+
If
Set
Code
39 노드Greg Evseev
빌딩 블록
Mistral 트랜스크립션
Google 캘린더와 사용자 정의 함수를 사용하여 MCP 서버 구축
Set
Switch
Debug Helper
+
Set
Switch
Debug Helper
32 노드Solomon
빌딩 블록
自定义 YouTube MCP 서버 구축
사용자 정의 YouTube MCP 서버 구축
Set
Switch
Aggregate
+
Set
Switch
Aggregate
20 노드Jimleuk
빌딩 블록
自定义 API MCP 서버 구축
사용자 정의 API MCP 서버 구축
If
Set
Filter
+
If
Set
Filter
25 노드Jimleuk
엔지니어링
自定义 GitHub MCP 서버 구축
사용자 정의 GitHub MCP 서버 구축
Set
Github
Switch
+
Set
Github
Switch
19 노드Jimleuk
엔지니어링
빌드 커스텀 Qdrant 벡터 스토리지 MCP 서버
개별 Qdrant 벡터 스토리지 MCP 서버 구축
If
Set
Code
+
If
Set
Code
44 노드Jimleuk
빌딩 블록