8
n8n 한국어amn8n.com

OpenAI 블로그 글 작성기

중급

이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 10개의 노드를 포함합니다.주로 Code, Sort, HttpRequest, ScheduleTrigger, OpenAi 등의 노드를 사용하며. WooCommerce 제품 기반 GPT-4.1-mini 자동 블로그 글 생성

사전 요구사항
  • 대상 API의 인증 정보가 필요할 수 있음
  • OpenAI API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "pgpdUduSobC5XGsE",
  "meta": {
    "instanceId": "256e0224567a81ad2d19d67041dccb4aba84a3ec55947042e28c6efa76b21434",
    "templateCredsSetupCompleted": false
  },
  "name": "OpenAi Blog Post Writer",
  "tags": [],
  "nodes": [
    {
      "id": "af8cadb7-3d81-4a81-a41a-9232ccfe8791",
      "name": "스케줄 트리거",
      "type": "n8n-nodes-base.scheduleTrigger",
      "notes": "Change day and time schedule for the triggering of this node. ",
      "position": [
        -40,
        -120
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "hours",
              "hoursInterval": 6,
              "triggerAtMinute": 17
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "2ffc32c1-8abf-4e77-aa19-5b53a65ec359",
      "name": "Woocommerce 제품 가져오기",
      "type": "n8n-nodes-base.httpRequest",
      "notes": "Uses Basic Auth credentials to connect to the WooCommerce REST API.\n\n🛠️ Required:\n- Valid WooCommerce API key with Read permissions\n- Domain updated to match the current store\n- Basic Auth credentials selected from n8n credentials manager\n\n🔁 Behavior:\n- Pulls 100 products (paginated if needed)\n- Used as source input for downstream automation (e.g., blog post or sync)",
      "position": [
        240,
        -200
      ],
      "parameters": {
        "url": "https://yourwebsite.com/wp-json/wc/v3/products?per_page=100",
        "options": {},
        "authentication": "genericCredentialType",
        "genericAuthType": "httpBasicAuth"
      },
      "credentials": {
        "httpBasicAuth": {
          "id": "Basic Auth credentials",
          "name": "Crednetials"
        }
      },
      "notesInFlow": true,
      "typeVersion": 4.2
    },
    {
      "id": "626696fb-922e-4d7a-acbc-9d991f3d59c2",
      "name": "GPT-4.1-MINI로 선택된 제품 관련 블로그 글 생성",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "notes": "Change OpenAi credentials and adjust prompt and tone input. ",
      "position": [
        920,
        -260
      ],
      "parameters": {
        "modelId": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini",
          "cachedResultName": "GPT-4.1-MINI"
        },
        "options": {},
        "messages": {
          "values": [
            {
              "content": "=Write a fun, curiosity-driven blog post for the following product {{ $json.permalink }}. The post should appeal to people looking for quirky, unique, or thoughtful gifts—like birthdays, holidays, viral TikTok items, minimalist gifts, or AI-themed stuff. Make it casual, catchy, and shareable. Avoid sounding corporate. Only write one. INclude the link to the product in the post.  "
            }
          ]
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "OpenAi account",
          "name": "OpenAi account"
        }
      },
      "notesInFlow": true,
      "typeVersion": 1.8
    },
    {
      "id": "fd64d732-62f4-4c63-a53e-4ca352437bf2",
      "name": "Wordpress에 게시",
      "type": "n8n-nodes-base.httpRequest",
      "notes": "Select basic auth credentials and adjust domain name as needed. ",
      "position": [
        1600,
        -320
      ],
      "parameters": {
        "url": "https://yourwebsite.com/wp-json/wp/v2/posts",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "authentication": "genericCredentialType",
        "bodyParameters": {
          "parameters": [
            {
              "name": "title",
              "value": "={{$json[\"title\"]}}"
            },
            {
              "name": "content",
              "value": "={{ $json.content }}"
            },
            {
              "name": "excerpt",
              "value": "={{ $json.excerpt }}"
            },
            {
              "name": "slug",
              "value": "={{$json[\"slug\"]}}"
            },
            {
              "name": "status",
              "value": "publish"
            },
            {
              "name": "categories[0]",
              "value": "1"
            }
          ]
        },
        "genericAuthType": "httpBasicAuth"
      },
      "credentials": {
        "httpBasicAuth": {
          "id": "Your Crednetials",
          "name": "Your Credentials"
        }
      },
      "notesInFlow": true,
      "typeVersion": 4.2
    },
    {
      "id": "204cfa52-1c8b-4bf0-b645-28913c6fbd18",
      "name": "하나만 반환",
      "type": "n8n-nodes-base.code",
      "position": [
        700,
        -220
      ],
      "parameters": {
        "jsCode": "// Pass through the first item only\nreturn items[0];\n"
      },
      "typeVersion": 2
    },
    {
      "id": "d901393d-555d-4ba7-a5ea-6d2626bccca2",
      "name": "스티커 메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        180,
        -300
      ],
      "parameters": {
        "content": "Pull 100 Woocommerce Products. Set shop's authentication credentials here. "
      },
      "typeVersion": 1
    },
    {
      "id": "b23f799e-df15-4a67-a818-9d5619a61d38",
      "name": "스티커 메모1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        900,
        -340
      ],
      "parameters": {
        "width": 380,
        "content": "Create blog post about selected product via OpenAi. Set OpenAi credentials here. "
      },
      "typeVersion": 1
    },
    {
      "id": "9c18e11d-48a1-4b1a-b5ac-3872407678c4",
      "name": "제품 무작위 정렬",
      "type": "n8n-nodes-base.sort",
      "position": [
        500,
        -200
      ],
      "parameters": {
        "type": "random"
      },
      "typeVersion": 1
    },
    {
      "id": "8cf8ef2f-6e3e-47e5-a7d2-d48e98bf2217",
      "name": "게시용 글 포맷팅",
      "type": "n8n-nodes-base.code",
      "position": [
        1320,
        -300
      ],
      "parameters": {
        "jsCode": "const raw = $input.first().json.message.content || \"\";\n\nif (!raw) {\n  throw new Error(\"No content found in 'content' field.\");\n}\n\n// Extract title and content\nlet title = \"\";\nlet content = \"\";\n\nif (raw.includes(\"\\n\\n\")) {\n  const [maybeTitle, ...rest] = raw.split(\"\\n\\n\");\n  if (maybeTitle.length < 120) {\n    title = maybeTitle.trim();\n    content = rest.join(\"\\n\\n\").trim();\n  } else {\n    content = raw.trim();\n  }\n} else {\n  content = raw.trim();\n}\n\nif (!title) {\n  const firstLine = content.split(\"\\n\")[0];\n  if (firstLine.length < 120) {\n    title = firstLine.trim();\n    content = content.replace(firstLine, \"\").trim();\n  } else {\n    title = \"Untitled Blog Post\";\n  }\n}\n\n// Slugify\nconst slug = title\n  .toLowerCase()\n  .replace(/[^a-z0-9]+/g, \"-\")\n  .replace(/(^-|-$)/g, \"\");\n\n// Excerpt: first ~30 words\nconst excerpt = content.split(/\\s+/).slice(0, 30).join(\" \") + \"...\";\n\nreturn [\n  {\n    json: {\n      title,\n      slug,\n      excerpt,\n      content,\n    },\n  },\n];\n"
      },
      "typeVersion": 2
    },
    {
      "id": "4ff33de0-46c5-4609-85fa-d0c396dd185e",
      "name": "스티커 메모2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1460,
        -360
      ],
      "parameters": {
        "width": 260,
        "content": "Set your Wordpress authentication credentials here. "
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "8102db42-7cef-4061-9600-a5526abd94f2",
  "connections": {
    "204cfa52-1c8b-4bf0-b645-28913c6fbd18": {
      "main": [
        [
          {
            "node": "626696fb-922e-4d7a-acbc-9d991f3d59c2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "af8cadb7-3d81-4a81-a41a-9232ccfe8791": {
      "main": [
        [
          {
            "node": "2ffc32c1-8abf-4e77-aa19-5b53a65ec359",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9c18e11d-48a1-4b1a-b5ac-3872407678c4": {
      "main": [
        [
          {
            "node": "204cfa52-1c8b-4bf0-b645-28913c6fbd18",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "2ffc32c1-8abf-4e77-aa19-5b53a65ec359": {
      "main": [
        [
          {
            "node": "9c18e11d-48a1-4b1a-b5ac-3872407678c4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "8cf8ef2f-6e3e-47e5-a7d2-d48e98bf2217": {
      "main": [
        [
          {
            "node": "fd64d732-62f4-4c63-a53e-4ca352437bf2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "626696fb-922e-4d7a-acbc-9d991f3d59c2": {
      "main": [
        [
          {
            "node": "8cf8ef2f-6e3e-47e5-a7d2-d48e98bf2217",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

중급 - 콘텐츠 제작, 멀티모달 AI

유료인가요?

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

워크플로우 정보
난이도
중급
노드 수10
카테고리2
노드 유형6
난이도 설명

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

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34