8
n8n ํ•œ๊ตญ์–ดamn8n.com

๐Ÿ“„๐Ÿ› ๏ธ PDF๋ฅผ ๋ธ”๋กœ๊ทธ๋กœ ๋ณ€ํ™˜

์ค‘๊ธ‰

์ด๊ฒƒ์€AI, Marketing๋ถ„์•ผ์˜์ž๋™ํ™” ์›Œํฌํ”Œ๋กœ์šฐ๋กœ, 12๊ฐœ์˜ ๋…ธ๋“œ๋ฅผ ํฌํ•จํ•ฉ๋‹ˆ๋‹ค.์ฃผ๋กœ If, Code, Ghost, FormTrigger, Agent ๋“ฑ์˜ ๋…ธ๋“œ๋ฅผ ์‚ฌ์šฉํ•˜๋ฉฐ์ธ๊ณต์ง€๋Šฅ ๊ธฐ์ˆ ์„ ๊ฒฐํ•ฉํ•˜์—ฌ ์Šค๋งˆํŠธ ์ž๋™ํ™”๋ฅผ ๊ตฌํ˜„ํ•ฉ๋‹ˆ๋‹ค. ๐Ÿ“„๐ŸŒ PDF๋ฅผ ๋ธ”๋กœ๊ทธ๋กœ ๋ณ€ํ™˜ - PDF ๋ฌธ์„œ์—์„œ Ghost CRM์— ๋ธ”๋กœ๊ทธ ๊ธฐ์‚ฌ ์ƒ์„ฑ

์‚ฌ์ „ ์š”๊ตฌ์‚ฌํ•ญ
  • โ€ขOpenAI API Key
์›Œํฌํ”Œ๋กœ์šฐ ๋ฏธ๋ฆฌ๋ณด๊ธฐ
๋…ธ๋“œ ์—ฐ๊ฒฐ ๊ด€๊ณ„๋ฅผ ์‹œ๊ฐ์ ์œผ๋กœ ํ‘œ์‹œํ•˜๋ฉฐ, ํ™•๋Œ€/์ถ•์†Œ ๋ฐ ์ด๋™์„ ์ง€์›ํ•ฉ๋‹ˆ๋‹ค
์›Œํฌํ”Œ๋กœ์šฐ ๋‚ด๋ณด๋‚ด๊ธฐ
๋‹ค์Œ JSON ๊ตฌ์„ฑ์„ ๋ณต์‚ฌํ•˜์—ฌ n8n์— ๊ฐ€์ ธ์˜ค๋ฉด ์ด ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค
{
  "id": "dMiUunCiaMsCr1Wu",
  "meta": {
    "instanceId": "03907a25f048377a8789a4332f28148522ba31ee907fababf704f1d88130b1b6",
    "templateCredsSetupCompleted": true
  },
  "name": "๐Ÿ“„๐Ÿ› ๏ธPDF2Blog",
  "tags": [],
  "nodes": [
    {
      "id": "58a4923b-3e8f-4abd-bebc-6488f8b04101",
      "name": "๋ฉ”๋ชจ์ง€",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        1340
      ],
      "parameters": {
        "color": 3,
        "width": 461,
        "height": 359.27075107113785,
        "content": "## Upload PDF and Extract Text"
      },
      "typeVersion": 1
    },
    {
      "id": "eb0ec98a-9c9d-4203-9586-9e81e23e7232",
      "name": "๋ฉ”๋ชจ์ง€1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1087.027580347215,
        1340
      ],
      "parameters": {
        "color": 4,
        "width": 508.8267597424673,
        "height": 532.0416571599118,
        "content": "## Create Blog Post"
      },
      "typeVersion": 1
    },
    {
      "id": "b2d3cb70-4335-43a2-80db-889559ebf020",
      "name": "๋ฉ”๋ชจ์ง€3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2020,
        1340
      ],
      "parameters": {
        "color": 6,
        "width": 370.4721755771028,
        "height": 352.3823858238478,
        "content": "## Publish Draft Blog Post to Ghost"
      },
      "typeVersion": 1
    },
    {
      "id": "766daeb8-23e8-4ee9-acee-ea2a787bbfda",
      "name": "PDF ์—…๋กœ๋“œ",
      "type": "n8n-nodes-base.formTrigger",
      "position": [
        660,
        1480
      ],
      "webhookId": "6c4a4180-7206-469f-a645-f41824ccbf42",
      "parameters": {
        "path": "pdf",
        "options": {},
        "formTitle": "PDF2Blog",
        "formFields": {
          "values": [
            {
              "fieldType": "file",
              "fieldLabel": "Upload PDF File",
              "multipleFiles": false,
              "requiredField": true,
              "acceptFileTypes": ".pdf"
            }
          ]
        },
        "formDescription": "Transform PDFs into captivating blog posts"
      },
      "typeVersion": 2.1
    },
    {
      "id": "055a734e-7128-487a-b109-a64214010bb2",
      "name": "ํ…์ŠคํŠธ ์ถ”์ถœ",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        860,
        1480
      ],
      "parameters": {
        "options": {},
        "operation": "pdf",
        "binaryPropertyName": "Upload_PDF_File"
      },
      "typeVersion": 1
    },
    {
      "id": "44256745-276a-4c88-80b6-d12a568d07e9",
      "name": "Ghost์— ๊ฒŒ์‹œ",
      "type": "n8n-nodes-base.ghost",
      "position": [
        2140,
        1480
      ],
      "parameters": {
        "title": "={{ $json.title }}",
        "source": "adminApi",
        "content": "={{ $json.content }}",
        "operation": "create",
        "additionalFields": {}
      },
      "credentials": {
        "ghostAdminApi": {
          "id": "yiqmX1MjG1FU3wyR",
          "name": "Ghost Admin account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "9796d4eb-e9d6-43bb-80c0-c527f3dc8843",
      "name": "gpt-4o-mini",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1180,
        1680
      ],
      "parameters": {
        "model": "gpt-4o-mini-2024-07-18",
        "options": {
          "responseFormat": "json_object"
        }
      },
      "credentials": {
        "openAiApi": {
          "id": "h597GY4ZJQD47RQd",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "719e7578-df85-441c-8d2f-cb7d3f7bb92f",
      "name": "Structured Output - JSON",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        1400,
        1680
      ],
      "parameters": {
        "jsonSchemaExample": "{\n    \"title\": \"title\",\n    \"content\": \"content\"\n}"
      },
      "typeVersion": 1.2
    },
    {
      "id": "5f16e695-3585-468f-8fcb-794f5e3b56d4",
      "name": "์ œ๋ชฉ๊ณผ ๋‚ด์šฉ ๋ถ„๋ฆฌ",
      "type": "n8n-nodes-base.code",
      "position": [
        1660,
        1480
      ],
      "parameters": {
        "jsCode": "try {\n  // Check if input exists and has the expected structure\n  const input = $input.all();\n  if (!input || !input.length) {\n    throw new Error('No input data received');\n  }\n\n  const firstItem = input[0];\n  if (!firstItem || !firstItem.json || !firstItem.json.output || !firstItem.json.output.output) {\n    throw new Error('Invalid input structure: missing required properties');\n  }\n\n  const output = firstItem.json.output.output;\n  \n  // Validate title exists\n  if (!output.title) {\n    throw new Error('Missing title in output');\n  }\n\n  // Validate content exists\n  if (!output.content) {\n    throw new Error('Missing content in output');\n  }\n\n  const title = output.title;\n  const content = output.content.replace(/<h1>.*?<\\/h1>/s, '').trim();\n\n  // Validate final content is not empty after processing\n  if (!content) {\n    throw new Error('Content is empty after processing');\n  }\n\n  console.log('Successfully processed content');\n\n  console.log(title)\n  console.log(content)\n  \n  return { title, content };\n\n} catch (error) {\n  // Log the error for debugging\n  console.error('Error processing content:', error.message);\n  \n  // Return a graceful failure object\n  return {\n    error: true,\n    message: error.message,\n    title: '',\n    content: '',\n    timestamp: new Date().toISOString()\n  };\n}"
      },
      "typeVersion": 2
    },
    {
      "id": "e4d41cf6-575d-469a-a7c5-fba0fc1cc568",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        1840,
        1480
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "aaf83c73-65f3-4a88-87f3-25b1acaf93ef",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.title }}",
              "rightValue": ""
            },
            {
              "id": "d9af5bce-f0fb-4c20-8b6a-b01a3bf3e1d1",
              "operator": {
                "type": "string",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json.content }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "b6b64f53-b689-440c-bc2e-478bccbfa5f5",
      "name": "์•„๋ฌด ์ž‘์—… ์•ˆ ํ•จ",
      "type": "n8n-nodes-base.noOp",
      "position": [
        2020,
        1740
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "20b12b54-d329-4c70-9fa2-0dc598477a66",
      "name": "๊ตฌ์กฐํ™”๋œ ๋ธ”๋กœ๊ทธ ๊ฒŒ์‹œ๋ฌผ ์ƒ์„ฑ",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1200,
        1480
      ],
      "parameters": {
        "text": "={{ $json.text }}",
        "agent": "conversationalAgent",
        "options": {
          "systemMessage": "=Analyze the provided PDF article and create a compelling blog post that will be returned in JSON format with two fields: \"title\" and \"content\". Follow these specifications:\n\n## Title Requirements\n- Create an engaging, SEO-friendly title under 10 words\n- Must not contain a colon\n- Should capture the article's essence\n- Will be formatted as an H1 in the content\n\n## Content Structure\n- Introduction (150-200 words)\n  * Compelling hook\n  * Topic context and importance\n  * Preview of main points\n\n- Main Content (6-8 chapters)\n  * Each chapter requires:\n    - Relevant H2 heading\n    - 300-400 words of unique content\n    - Specific topic focus\n    - Source material quotes/data\n    - Smooth transitions\n\n- Conclusion (200-250 words)\n  * Key takeaways\n  * Final thoughts/implications\n\n## Formatting Guidelines\n- Use proper HTML tags throughout\n- Structure with <p> tags for paragraphs\n- Include appropriate spacing\n- Use <blockquote> for direct quotes\n- Maintain consistent formatting\n- Write in clear, professional tone\n- Break up long paragraphs\n- Use engaging subheadings\n- Include transitional phrases\n\nThe content should be original, avoid direct copying, and maintain a consistent voice throughout. The final JSON response should contain only the title and content fields, with the content including all HTML formatting."
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "retryOnFail": true,
      "typeVersion": 1.6
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "ae25fae9-8ae8-4a49-ae90-dd2a89599f08",
  "connections": {
    "e4d41cf6-575d-469a-a7c5-fba0fc1cc568": {
      "main": [
        [
          {
            "node": "44256745-276a-4c88-80b6-d12a568d07e9",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "b6b64f53-b689-440c-bc2e-478bccbfa5f5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "766daeb8-23e8-4ee9-acee-ea2a787bbfda": {
      "main": [
        [
          {
            "node": "055a734e-7128-487a-b109-a64214010bb2",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "9796d4eb-e9d6-43bb-80c0-c527f3dc8843": {
      "ai_languageModel": [
        [
          {
            "node": "20b12b54-d329-4c70-9fa2-0dc598477a66",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "055a734e-7128-487a-b109-a64214010bb2": {
      "main": [
        [
          {
            "node": "20b12b54-d329-4c70-9fa2-0dc598477a66",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5f16e695-3585-468f-8fcb-794f5e3b56d4": {
      "main": [
        [
          {
            "node": "e4d41cf6-575d-469a-a7c5-fba0fc1cc568",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "719e7578-df85-441c-8d2f-cb7d3f7bb92f": {
      "ai_outputParser": [
        [
          {
            "node": "20b12b54-d329-4c70-9fa2-0dc598477a66",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "20b12b54-d329-4c70-9fa2-0dc598477a66": {
      "main": [
        [
          {
            "node": "5f16e695-3585-468f-8fcb-794f5e3b56d4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
์ž์ฃผ ๋ฌป๋Š” ์งˆ๋ฌธ

์ด ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์–ด๋–ป๊ฒŒ ์‚ฌ์šฉํ•˜๋‚˜์š”?

์œ„์˜ JSON ๊ตฌ์„ฑ ์ฝ”๋“œ๋ฅผ ๋ณต์‚ฌํ•˜์—ฌ n8n ์ธ์Šคํ„ด์Šค์—์„œ ์ƒˆ ์›Œํฌํ”Œ๋กœ์šฐ๋ฅผ ์ƒ์„ฑํ•˜๊ณ  "JSON์—์„œ ๊ฐ€์ ธ์˜ค๊ธฐ"๋ฅผ ์„ ํƒํ•œ ํ›„, ๊ตฌ์„ฑ์„ ๋ถ™์—ฌ๋„ฃ๊ณ  ํ•„์š”์— ๋”ฐ๋ผ ์ธ์ฆ ์„ค์ •์„ ์ˆ˜์ •ํ•˜์„ธ์š”.

์ด ์›Œํฌํ”Œ๋กœ์šฐ๋Š” ์–ด๋–ค ์‹œ๋‚˜๋ฆฌ์˜ค์— ์ ํ•ฉํ•œ๊ฐ€์š”?

์ค‘๊ธ‰ - ์ธ๊ณต์ง€๋Šฅ, ๋งˆ์ผ€ํŒ…

์œ ๋ฃŒ์ธ๊ฐ€์š”?

์ด ์›Œํฌํ”Œ๋กœ์šฐ๋Š” ์™„์ „ํžˆ ๋ฌด๋ฃŒ์ด๋ฉฐ ์ง์ ‘ ๊ฐ€์ ธ์™€ ์‚ฌ์šฉํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๋‹ค๋งŒ, ์›Œํฌํ”Œ๋กœ์šฐ์—์„œ ์‚ฌ์šฉํ•˜๋Š” ํƒ€์‚ฌ ์„œ๋น„์Šค(์˜ˆ: OpenAI API)๋Š” ์‚ฌ์šฉ์ž ์ง์ ‘ ๋น„์šฉ์„ ์ง€๋ถˆํ•ด์•ผ ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

๊ด€๋ จ ์›Œํฌํ”Œ๋กœ์šฐ ์ถ”์ฒœ

โœจ๐Ÿค– X + Facebook + Instagram + LinkedIn์— ์ ํ•ฉํ•œ ์ž๋™ํ™” AI ์ถ”๋™ ์†Œ์…œ ๋ฏธ๋””์–ด ์ฝ˜ํ…์ธ  ๊ณต์žฅ
โœจ๐Ÿค– AI๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋‹ค์ค‘ ํ”Œ๋žซํผ ์†Œ์…œ ๋ฏธ๋””์–ด ์ฝ˜ํ…์ธ  ์ƒ์„ฑ ์ž๋™ํ™”
If
Set
Code
+
If
Set
Code
57 ๋…ธ๋“œJoseph LePage
์ธ๊ณต์ง€๋Šฅ
โœ๏ธ๐ŸŒ„ ์ฒซ ๋ฒˆ์งธ WordPress ์ฝ˜ํ…์ธ  ์ƒ์„ฑ์ž - ๋น ๋ฅธ ์‹œ์ž‘
โœ๏ธ๐ŸŒ„ WordPress + AI ์ฝ˜ํ…์ธ  ์ƒ์„ฑๅ™จ์˜ ์ฒซ ๋ฒˆ์งธ - ๋น ๋ฅธ ์‹œ์ž‘
If
Set
Code
+
If
Set
Code
39 ๋…ธ๋“œJoseph LePage
์ธ๊ณต์ง€๋Šฅ
๐Ÿ“„โœจ PDF ๋ฌธ์„œ์—์„œ WordPress ์ฝ˜ํ…์ธ ๋ฅผ ์‰ฝ๊ฒŒ ์ƒ์„ฑ + Gmail ์ธ๊ณต์ง€๋Šฅ ๊ฒ€ํ† 
๐Ÿ“„โœจ PDF ๋ฌธ์„œ์—์„œ WordPress ์ฝ˜ํ…์ธ ๋ฅผ ์‰ฝ๊ฒŒ ์ƒ์„ฑํ•˜์—ฌ Gmail ์ธ๊ณต์ง€๋Šฅ ๊ฒ€ํ†  ํ”„๋กœ์„ธ์Šค ํ†ตํ•ฉ
If
Code
Gmail
+
If
Code
Gmail
27 ๋…ธ๋“œJoseph LePage
์ธ๊ณต์ง€๋Šฅ
๐Ÿ”๐Ÿ› ๏ธ Perplexity ์—ฐ๊ตฌ์›์„ HTML ์›น ํŽ˜์ด์ง€๋กœ ๋ณ€ํ™˜
๐Ÿ” Perplexity ์—ฐ๊ตฌ๋ฅผ HTML๋กœ ๋ณ€ํ™˜: AI ์ฃผ๋„์˜ ์ฝ˜ํ…์ธ  ์ฐฝ์ž‘
If
Set
Webhook
+
If
Set
Webhook
47 ๋…ธ๋“œJoseph LePage
์ธ๊ณต์ง€๋Šฅ
โœจ๐Ÿฉท ์ž๋™ํ™” ์†Œ์…œ ๋ฏธ๋””์–ด ์ฝ˜ํ…์ธ  ๋ฐฐํฌ ๊ณต์žฅ + ์‹œ์Šคํ…œ ํŠœ๋‹ ์กฐํ•ฉ
โœจ๐Ÿฉท ์ž๋™ํ™” ์†Œ์…œ ๋ฏธ๋””์–ด ์ฝ˜ํ…์ธ  ๋ฐฐํฌ ๊ณต์žฅ + ์‹œ์Šคํ…œ ํŠœ๋ง ์กฐํ•ฉ
If
Set
Code
+
If
Set
Code
100 ๋…ธ๋“œJoseph LePage
๋งˆ์ผ€ํŒ…
[ํ…œํ”Œ๋ฆฟ] AI ๋ฐ˜๋ ค๋™๋ฌผ ๊ฐ€๊ฒŒ v8
๐Ÿถ AI ํŽซ ์ƒต ์–ด์‹œ์Šคํ„ดํŠธ - GPT-4o, Google ์บ˜๋ฆฐ๋” ๋ฐ WhatsApp/Instagram/Facebook ํ†ตํ•ฉ
If
N8n
Set
+
If
N8n
Set
244 ๋…ธ๋“œAmanda Benks
์˜์—…
์›Œํฌํ”Œ๋กœ์šฐ ์ •๋ณด
๋‚œ์ด๋„
์ค‘๊ธ‰
๋…ธ๋“œ ์ˆ˜12
์นดํ…Œ๊ณ ๋ฆฌ2
๋…ธ๋“œ ์œ ํ˜•10
๋‚œ์ด๋„ ์„ค๋ช…

์ผ์ • ๊ฒฝํ—˜์„ ๊ฐ€์ง„ ์‚ฌ์šฉ์ž๋ฅผ ์œ„ํ•œ 6-15๊ฐœ ๋…ธ๋“œ์˜ ์ค‘๊ฐ„ ๋ณต์žก๋„ ์›Œํฌํ”Œ๋กœ์šฐ

์ €์ž
Joseph LePage

Joseph LePage

@joe

As an AI Automation consultant based in Canada, I partner with forward-thinking organizations to implement AI solutions that streamline operations and drive growth.

์™ธ๋ถ€ ๋งํฌ
n8n.io์—์„œ ๋ณด๊ธฐ โ†’

์ด ์›Œํฌํ”Œ๋กœ์šฐ ๊ณต์œ 

์นดํ…Œ๊ณ ๋ฆฌ

์นดํ…Œ๊ณ ๋ฆฌ: 34