8
n8n 한국어amn8n.com

Apify, GPT-4, Google Drive를 사용하여 경쟁자에서 AI Facebook 광고 변이 생성

중급

이것은Content Creation, Multimodal AI분야의자동화 워크플로우로, 9개의 노드를 포함합니다.주로 GoogleSheets, Agent, GoogleSheetsTrigger, LmChatOpenAi, OutputParserStructured 등의 노드를 사용하며. GPT-4.1-mini를 사용하여 새 Google Sheets 항목에 AI 설명 생성

사전 요구사항
  • Google Sheets API 인증 정보
  • OpenAI API Key
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "meta": {
    "instanceId": "ad0113c344ee237399e44e9f11798b05baeb83a6196d514a9ae9d2ad71c3b5c9",
    "templateCredsSetupCompleted": true
  },
  "nodes": [
    {
      "id": "0ad754e7-e05a-4935-a792-f3178248099a",
      "name": "OpenAI 채팅 모델",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -1024,
        160
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1-mini"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "4l6TDfLZVFS24g3X",
          "name": "OpenAi account 4"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "7f83e0b2-5561-480f-b3c6-9bba76158752",
      "name": "구조화된 출력 파서",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        -832,
        128
      ],
      "parameters": {
        "jsonSchemaExample": "{\n\t\"description\": \"description\"\n}"
      },
      "typeVersion": 1.3
    },
    {
      "id": "d88108ee-e1a0-43d2-948a-37bd706a33b5",
      "name": "Update row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -672,
        -336
      ],
      "parameters": {
        "columns": {
          "value": {
            "topic": "={{ $('Row added - Google Sheet').item.json.topic }}",
            "description": "={{ $json.output.description }}"
          },
          "schema": [
            {
              "id": "topic",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "topic",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "description",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "description",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "row_number",
              "type": "number",
              "display": true,
              "removed": true,
              "readOnly": true,
              "required": false,
              "displayName": "row_number",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "topic"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "update",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d8O_Iwg5UtDjHM22zWHMegORatYzaQUYmzrcYnG5OSs/edit#gid=0",
          "cachedResultName": "data"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1d8O_Iwg5UtDjHM22zWHMegORatYzaQUYmzrcYnG5OSs",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d8O_Iwg5UtDjHM22zWHMegORatYzaQUYmzrcYnG5OSs/edit?usp=drivesdk",
          "cachedResultName": "Sheets Triggers"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "HlBW2puZbuCCq8jJ",
          "name": "Google Sheets account 3"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "bfa0fde3-6ddb-4e69-a1d5-b6d86ef89672",
      "name": "Append row in sheet",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -656,
        -32
      ],
      "parameters": {
        "columns": {
          "value": {
            "Update": "={{ $('Row added - Google Sheet').item.json.topic }} was added"
          },
          "schema": [
            {
              "id": "Update",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "Update",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "topic"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "append",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": 196803262,
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d8O_Iwg5UtDjHM22zWHMegORatYzaQUYmzrcYnG5OSs/edit#gid=196803262",
          "cachedResultName": "actions"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1d8O_Iwg5UtDjHM22zWHMegORatYzaQUYmzrcYnG5OSs",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d8O_Iwg5UtDjHM22zWHMegORatYzaQUYmzrcYnG5OSs/edit?usp=drivesdk",
          "cachedResultName": "Sheets Triggers"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "HlBW2puZbuCCq8jJ",
          "name": "Google Sheets account 3"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "ae9c19db-71eb-4b38-adba-ca5d7468bdc2",
      "name": "메모16",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2432,
        -656
      ],
      "parameters": {
        "width": 2016,
        "content": "## 📬 Need Help or Want to Customize This?\n📧 [robert@ynteractive.com](mailto:robert@ynteractive.com)  \n🔗 [LinkedIn](https://www.linkedin.com/in/robert-breen-29429625/)"
      },
      "typeVersion": 1
    },
    {
      "id": "6196c4fc-679c-4b5e-bbcc-685917d4fa5a",
      "name": "메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2432,
        -480
      ],
      "parameters": {
        "color": 5,
        "width": 904,
        "height": 860,
        "content": "### Step 1: Set Up Your Google Sheets\n\n**Option 1: Use Our Pre-Made Template (Recommended)**\n1. Copy our template: [AI Description Generator Template](https://docs.google.com/spreadsheets/d/1d8O_Iwg5UtDjHM22zWHMegORatYzaQUYmzrcYnG5OSs/edit?usp=sharing)\n2. Click \"File\" → \"Make a copy\" to create your own version\n3. Rename it as desired (e.g., \"My AI Content Generator\")\n4. Note your new sheet's URL - you'll need this for the workflow\n\n**Option 2: Create From Scratch**\n1. Go to [Google Sheets](https://sheets.google.com/)\n2. Create a new spreadsheet\n3. **Set up the main \"data\" tab:**\n   - Rename \"Sheet1\" to \"data\"\n   - Set up column headers in row 1:\n     - A1: `topic`\n     - B1: `description`\n4. **Create an \"actions\" tab:**\n   - Add a new sheet and name it \"actions\"\n   - Set up column headers:\n     - A1: `Update`\n5. Copy your sheet's URL\n\n### Step 2: Configure Google API Access\n\n1. **Enable Google Sheets API**\n   - Go to [Google Cloud Console](https://console.cloud.google.com/)\n   - Create a new project or select existing one\n   - Enable \"Google Sheets API\"\n   - Enable \"Google Drive API\"\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "ab630ed2-52a0-42ac-9e3d-3d9826ceb7e4",
      "name": "Row added - Google Sheet",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -1376,
        96
      ],
      "parameters": {
        "event": "rowAdded",
        "options": {},
        "pollTimes": {
          "item": [
            {
              "mode": "everyMinute"
            }
          ]
        },
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d8O_Iwg5UtDjHM22zWHMegORatYzaQUYmzrcYnG5OSs/edit#gid=0",
          "cachedResultName": "data"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1d8O_Iwg5UtDjHM22zWHMegORatYzaQUYmzrcYnG5OSs",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d8O_Iwg5UtDjHM22zWHMegORatYzaQUYmzrcYnG5OSs/edit?usp=drivesdk",
          "cachedResultName": "Sheets Triggers"
        }
      },
      "credentials": {
        "googleSheetsTriggerOAuth2Api": {
          "id": "5qZk3IRejGCu9qrm",
          "name": "Google Sheets Trigger account"
        }
      },
      "typeVersion": 1
    },
    {
      "id": "5b4d1f11-89c8-4b38-89f1-2e353eaa9b40",
      "name": "Description Writer",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -992,
        -112
      ],
      "parameters": {
        "text": "={{ $json.topic }}",
        "options": {
          "systemMessage": "write a description of the topic. \n\noutput like this. \n\n{\n\t\"description\": \"description\"\n}"
        },
        "promptType": "define",
        "hasOutputParser": true
      },
      "typeVersion": 2.2
    },
    {
      "id": "8150251e-63e2-43a0-8952-85b86c796df0",
      "name": "메모1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1504,
        -480
      ],
      "parameters": {
        "color": 4,
        "width": 1096,
        "height": 860,
        "content": "\n### Step 4: Import and Configure the N8N Workflow\n\n1. **Import the Workflow**\n   - Copy the workflow JSON from the template\n   - In your N8N instance, go to Workflows → Import from JSON\n   - Paste the JSON and import\n\n2. **Configure OpenAI Credentials**\n   - Click on the \"OpenAI Chat Model\" node\n   - Set up credentials using your OpenAI API key\n   - Test the connection to ensure it works\n\n3. **Configure Google Sheets Integration**\n   \n   **For the Trigger Node:**\n   - Click on \"Row added - Google Sheet\" node\n   - Set up Google Sheets Trigger OAuth2 credentials\n   - Select your spreadsheet from the dropdown\n   - Choose the \"data\" sheet\n   - Set polling to \"Every Minute\" (already configured)\n\n"
      },
      "typeVersion": 1
    }
  ],
  "pinData": {
    "Row added - Google Sheet": [
      {
        "topic": "n8n",
        "description": ""
      }
    ]
  },
  "connections": {
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "5b4d1f11-89c8-4b38-89f1-2e353eaa9b40",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "5b4d1f11-89c8-4b38-89f1-2e353eaa9b40": {
      "main": [
        [
          {
            "node": "d88108ee-e1a0-43d2-948a-37bd706a33b5",
            "type": "main",
            "index": 0
          },
          {
            "node": "bfa0fde3-6ddb-4e69-a1d5-b6d86ef89672",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ab630ed2-52a0-42ac-9e3d-3d9826ceb7e4": {
      "main": [
        [
          {
            "node": "5b4d1f11-89c8-4b38-89f1-2e353eaa9b40",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "5b4d1f11-89c8-4b38-89f1-2e353eaa9b40",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

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

유료인가요?

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

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

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

저자
Robert Breen

Robert Breen

@rbreen

Professional services consultant with over 10 years of experience solving complex business problems across industries. I specialize in n8n and process automation—designing custom workflows that integrate tools like Google Calendar, Airtable, GPT, and internal systems. Whether you need to automate scheduling, sync data, or streamline operations, I build solutions that save time and drive results.

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34