8
n8n 한국어amn8n.com

GPT-5를 사용한 댓글 생성으로 WordPress 블로그 상호작용 자동화

중급

이것은Multimodal AI분야의자동화 워크플로우로, 7개의 노드를 포함합니다.주로 Set, HttpRequest, ManualTrigger, OpenAi 등의 노드를 사용하며. GPT-5 생성 리뷰를 사용한 WordPress 블로그 상호작용 자동화

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음
  • OpenAI API Key

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "meta": {
    "instanceId": "8e39b7468c6828f4a107b01649bad86d436b5b7484be7eb792fe15ba099d5821"
  },
  "nodes": [
    {
      "id": "37f90234-8233-495a-b9e5-394de7c76852",
      "name": "워크플로우 실행 클릭 시",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -16,
        -272
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "4d31b3f6-bc9c-467d-a797-682570710b9b",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -400
      ],
      "parameters": {
        "color": 4,
        "width": 1648,
        "height": 320,
        "content": "## Article AI Comment Generator\n\nThis workflow uses AI to generate relevant, natural-sounding comments for blog posts. It retrieves articles via the WordPress REST API, builds a prompt from the post content, and posts the AI-generated comment back to the site.\n\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "fa18a2e9-b5ab-4d96-bd04-bd5914c69a8b",
      "name": "WordPress에서 게시글 가져오기",
      "type": "n8n-nodes-base.httpRequest",
      "maxTries": 5,
      "position": [
        208,
        -272
      ],
      "parameters": {
        "url": "https://example.com/wp-json/wp/v2/posts?per_page=100&status=publish&_fields=id,title,excerpt,content,link,comment_status",
        "options": {
          "timeout": 60000,
          "batching": {
            "batch": {
              "batchSize": 25
            }
          }
        },
        "authentication": "genericCredentialType",
        "genericAuthType": "httpBasicAuth"
      },
      "credentials": {
        "httpBasicAuth": {
          "id": "a390F9PA3LRvL5DR",
          "name": "YOUR_API_KEY"
        }
      },
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 2000
    },
    {
      "id": "93d2699f-0579-463c-a7d8-d35c89c058cf",
      "name": "게시글 댓글 프롬프트 작성",
      "type": "n8n-nodes-base.set",
      "position": [
        464,
        -272
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "3af62c72-bd9b-433a-943c-4caafe23bdd5",
              "name": "prompt",
              "type": "string",
              "value": "=={{ `For the article “${$json.title?.rendered || ''}”, write a short, natural comment (1 sentence) that is relevant. \nSummary: ${(($json.excerpt?.rendered || $json.content?.rendered || '')\n  .replace(/<[^>]+>/g,' ')\n  .replace(/\\s+/g,' ')\n  .trim()).slice(0,300)}` }}\nComment characteristics:\n- If possible, use the article's keyword in the comment\n- Some positive, some neutral\n- Conversational tone, not formal\n- Some short, some long\n"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "532d9763-aa7b-4903-9af4-be58fa4d2fd0",
      "name": "게시글 댓글 생성 (AI)",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        736,
        -272
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-5",
          "cachedResultName": "GPT-5"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "content": "=={{$json.prompt}}\n"
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "oETjE0hiLJ8SZxWX",
          "name": "YOUR_API_KEY"
        }
      },
      "retryOnFail": true,
      "typeVersion": 1.8,
      "waitBetweenTries": 2000
    },
    {
      "id": "4128f339-860f-4920-ae79-beb6c9bf43d4",
      "name": "AI 출력1 추출",
      "type": "n8n-nodes-base.set",
      "position": [
        1088,
        -272
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "18fe84dc-59b3-440b-830d-da161cd5e3da",
              "name": "comment",
              "type": "string",
              "value": "={{$json.message?.content || $json.choices?.[0]?.message?.content || $json.content}}"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "12085249-1c90-41d9-af5c-0ff91f3aedbc",
      "name": "게시글에 댓글 게시",
      "type": "n8n-nodes-base.httpRequest",
      "maxTries": 5,
      "position": [
        1344,
        -272
      ],
      "parameters": {
        "url": "https://example.com/wp-json/wp/v2/comments",
        "method": "POST",
        "options": {
          "timeout": 60000
        },
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "post",
              "value": "={{ $('Fetch Articles from WordPress').item.json.id }}"
            },
            {
              "name": "content",
              "value": "={{ $('Generate Article Comment (AI)').item.json.message.content }}"
            },
            {
              "name": "author_name",
              "value": "={{ (() => {\n  const first = ['John','Emily','Michael','Sophia','David','Olivia','Daniel','Ava','James','Isabella','Ethan','Mia','William','Charlotte','Benjamin','Amelia','Alexander','Harper','Lucas','Ella'];\n  const last  = ['Smith','Johnson','Williams','Brown','Jones','Garcia','Miller','Davis','Rodriguez','Martinez','Hernandez','Lopez','Gonzalez','Wilson','Anderson','Thomas','Taylor','Moore','Jackson','Martin'];\n  return `${first[Math.floor(Math.random()*first.length)]} ${last[Math.floor(Math.random()*last.length)]}`;\n})() }}\n"
            },
            {
              "name": "author_email",
              "value": "={{ `guest+post${$items(\"Fetch Articles from WordPress\")[$itemIndex()].json.id}-${Date.now()%100000}@example.com`.toLowerCase() }}"
            }
          ]
        },
        "genericAuthType": "httpBasicAuth"
      },
      "credentials": {
        "httpBasicAuth": {
          "id": "a390F9PA3LRvL5DR",
          "name": "YOUR_API_KEY"
        }
      },
      "retryOnFail": true,
      "typeVersion": 4.2,
      "waitBetweenTries": 2000
    }
  ],
  "pinData": {},
  "connections": {
    "4128f339-860f-4920-ae79-beb6c9bf43d4": {
      "main": [
        [
          {
            "node": "12085249-1c90-41d9-af5c-0ff91f3aedbc",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "93d2699f-0579-463c-a7d8-d35c89c058cf": {
      "main": [
        [
          {
            "node": "532d9763-aa7b-4903-9af4-be58fa4d2fd0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "fa18a2e9-b5ab-4d96-bd04-bd5914c69a8b": {
      "main": [
        [
          {
            "node": "93d2699f-0579-463c-a7d8-d35c89c058cf",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "532d9763-aa7b-4903-9af4-be58fa4d2fd0": {
      "main": [
        [
          {
            "node": "4128f339-860f-4920-ae79-beb6c9bf43d4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "37f90234-8233-495a-b9e5-394de7c76852": {
      "main": [
        [
          {
            "node": "fa18a2e9-b5ab-4d96-bd04-bd5914c69a8b",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 멀티모달 AI

유료인가요?

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

워크플로우 정보
난이도
중급
노드 수7
카테고리1
노드 유형5
난이도 설명

일정 경험을 가진 사용자를 위한 6-15개 노드의 중간 복잡도 워크플로우

저자
Ali Khosravani

Ali Khosravani

@alikhosro

Automation & SEO Specialist with years of experience building smart workflows, AI-powered content solutions, and marketing automations. Skilled in n8n, WordPress, and API integrations to help businesses save time and grow faster.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34