8
n8n 한국어amn8n.com

Facebook 페이지에 릴스 게시

고급

이것은Social Media분야의자동화 워크플로우로, 17개의 노드를 포함합니다.주로 If, Set, Code, Wait, GoogleDrive 등의 노드를 사용하며. Google Sheets와 Drive를 사용한 Facebook Reels 게시 자동화

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

카테고리

워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
  "id": "hpXL1RWOL0AurfV4",
  "meta": {
    "instanceId": "b5825084f383ba38862ba0b5b7e95c5107a40c4ed7afc78372d74501163a8e33",
    "templateCredsSetupCompleted": true
  },
  "name": "Publish a Reel on a Facebook Page",
  "tags": [
    {
      "id": "bijhlBrac9anlLzs",
      "name": "Drive",
      "createdAt": "2025-10-24T11:20:52.395Z",
      "updatedAt": "2025-10-24T11:20:52.395Z"
    },
    {
      "id": "jjIfrn6w1N0BsOpf",
      "name": "Facebook",
      "createdAt": "2025-10-24T11:20:43.395Z",
      "updatedAt": "2025-10-24T11:20:43.395Z"
    },
    {
      "id": "AGH85nOczgSmrhPc",
      "name": "Reels",
      "createdAt": "2025-10-13T08:26:02.604Z",
      "updatedAt": "2025-10-13T08:26:02.604Z"
    },
    {
      "id": "U9LHxJS6pH2YCEtj",
      "name": "Sheet",
      "createdAt": "2025-10-13T08:26:02.584Z",
      "updatedAt": "2025-10-13T08:26:02.584Z"
    }
  ],
  "nodes": [
    {
      "id": "c98f4dee-831a-4de6-b2df-d44cf320a7f4",
      "name": "정보",
      "type": "n8n-nodes-base.set",
      "position": [
        -1472,
        48
      ],
      "parameters": {
        "options": {},
        "assignments": {
          "assignments": [
            {
              "id": "5ca53588-a5fd-47fe-a9db-5e8b42e88a19",
              "name": "Token",
              "type": "string",
              "value": "<token>"
            },
            {
              "id": "0fc539bd-e223-4f1a-86b2-15e4b2a34df6",
              "name": "Id Page",
              "type": "string",
              "value": "<id page>"
            }
          ]
        }
      },
      "typeVersion": 3.4
    },
    {
      "id": "5dee332a-6319-419c-9fe2-2ed3f4b7639b",
      "name": "일정 트리거",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1696,
        48
      ],
      "parameters": {
        "rule": {
          "interval": [
            {
              "field": "minutes",
              "minutesInterval": 30
            }
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "f0a8f95d-88f8-41b6-8a38-2ae55a4ce3ec",
      "name": "Google Drive",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1456,
        384
      ],
      "parameters": {
        "fileId": {
          "__rl": true,
          "mode": "id",
          "value": "={{ $('Get Row Sheet').first().json['File ID'] }}"
        },
        "options": {
          "binaryPropertyName": "data"
        },
        "operation": "download"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "b1IgmLfVK7MkWuXO",
          "name": "Google Drive account"
        }
      },
      "executeOnce": true,
      "typeVersion": 3,
      "alwaysOutputData": false
    },
    {
      "id": "4424daa9-14d9-47d5-b78b-2b2fda283540",
      "name": "대기",
      "type": "n8n-nodes-base.wait",
      "position": [
        -1360,
        656
      ],
      "webhookId": "42d2250f-9af7-4912-862f-4ae0615bf2fd",
      "parameters": {
        "unit": "minutes"
      },
      "typeVersion": 1.1
    },
    {
      "id": "e8db21a1-9a82-4c4b-a50e-af406a12bb8d",
      "name": "1단계: 업로드 세션 초기화",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1664,
        384
      ],
      "parameters": {
        "url": "=https://graph.facebook.com/v23.0/{{ $('info').first().json['Id Page'] }}/video_reels\n",
        "method": "POST",
        "options": {
          "response": {
            "response": {
              "fullResponse": true
            }
          }
        },
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "upload_phase",
              "value": "start"
            },
            {
              "name": "access_token",
              "value": "={{ $('info').first().json.Token }}"
            }
          ]
        }
      },
      "executeOnce": true,
      "typeVersion": 4.2
    },
    {
      "id": "62cef400-c3fb-439e-a0ab-3c8f77e4c158",
      "name": "2단계: 비디오 업로드",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1040,
        384
      ],
      "parameters": {
        "url": "={{ $('Step 1: Initialize an Upload Session').first().json.body.upload_url }}",
        "method": "POST",
        "options": {},
        "sendBody": true,
        "contentType": "binaryData",
        "sendHeaders": true,
        "headerParameters": {
          "parameters": [
            {
              "name": "offset",
              "value": "0"
            },
            {
              "name": "file_size",
              "value": "={{ $('Get the size file').first().json.actualSize }}"
            },
            {
              "name": "=Authorization",
              "value": "=OAuth {{ $('info').first().json.Token }}"
            }
          ]
        },
        "inputDataFieldName": "=data"
      },
      "typeVersion": 4.2
    },
    {
      "id": "547c52ee-7883-432d-8485-2a7c1f3b92c9",
      "name": "3단계: Reel 게시",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -1664,
        752
      ],
      "parameters": {
        "url": "=https://graph.facebook.com/v23.0/{{ $('info').first().json['Id Page'] }}/video_reels",
        "method": "POST",
        "options": {
          "response": {
            "response": {
              "fullResponse": true
            }
          }
        },
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "video_id",
              "value": "={{ $('Step 1: Initialize an Upload Session').first().json.body.video_id }}"
            },
            {
              "name": "upload_phase",
              "value": "finish"
            },
            {
              "name": "access_token",
              "value": "={{ $('info').first().json.Token }}"
            },
            {
              "name": "video_state",
              "value": "PUBLISHED"
            },
            {
              "name": "description",
              "value": "={{ $('Get Row Sheet').first().json['Caption'] }}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "91e05176-b3a8-44de-a819-32a0575e288a",
      "name": "시트에서 행 가져오기",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1248,
        48
      ],
      "parameters": {
        "options": {},
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JMT2BpWxfcG-d_XEWRppdSr_ZkG0XvtiaGaB8Lzdl78/edit#gid=0",
          "cachedResultName": "Trang tính1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1JMT2BpWxfcG-d_XEWRppdSr_ZkG0XvtiaGaB8Lzdl78",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JMT2BpWxfcG-d_XEWRppdSr_ZkG0XvtiaGaB8Lzdl78/edit?usp=drivesdk",
          "cachedResultName": "Publish a reel on a Facebook Page"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "HfujyDOlKBcmEBrq",
          "name": "Google Sheets account"
        }
      },
      "executeOnce": true,
      "typeVersion": 4.5
    },
    {
      "id": "ea72e8eb-6685-4e91-93cd-a9bdf276ad95",
      "name": "파일 크기 가져오기",
      "type": "n8n-nodes-base.code",
      "position": [
        -1248,
        384
      ],
      "parameters": {
        "jsCode": "return items.map(item => {\n  const size = item.binary.data.fileSize;\n  const contentLength = Buffer.from(item.binary.data.data, 'base64').length;\n\n  item.json = {\n    declaredSize: size,\n    actualSize: contentLength\n  };\n\n  return item;\n});\n"
      },
      "typeVersion": 2
    },
    {
      "id": "bfb4edf0-3c25-4e88-9bf6-16657f977d59",
      "name": "상태 업데이트",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1360,
        832
      ],
      "parameters": {
        "columns": {
          "value": {
            "Link post": "x",
            "row_number": "={{ $('Get Row Sheet').first().json.row_number }}"
          },
          "schema": [
            {
              "id": "File ID",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "File ID",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "File name",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "File name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Caption",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Caption",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Link Share",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "Link Share",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Link post",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "Link post",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "row_number",
              "type": "number",
              "display": true,
              "removed": false,
              "readOnly": true,
              "required": false,
              "displayName": "row_number",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "row_number"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "update",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JMT2BpWxfcG-d_XEWRppdSr_ZkG0XvtiaGaB8Lzdl78/edit#gid=0",
          "cachedResultName": "Trang tính1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1JMT2BpWxfcG-d_XEWRppdSr_ZkG0XvtiaGaB8Lzdl78",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1JMT2BpWxfcG-d_XEWRppdSr_ZkG0XvtiaGaB8Lzdl78/edit?usp=drivesdk",
          "cachedResultName": "Publish a reel on a Facebook Page"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "HfujyDOlKBcmEBrq",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.5
    },
    {
      "id": "ac97c446-241f-4306-bdb8-5d6768fcffa5",
      "name": "게시물 댓글 생성",
      "type": "n8n-nodes-base.httpRequest",
      "onError": "continueRegularOutput",
      "position": [
        -1040,
        656
      ],
      "parameters": {
        "url": "=https://graph.facebook.com/v23.0/115432036514099_{{ $('Step 1: Initialize an Upload Session').first().json.body.video_id }}/comments",
        "method": "POST",
        "options": {
          "response": {
            "response": {
              "fullResponse": true
            }
          }
        },
        "sendQuery": true,
        "queryParameters": {
          "parameters": [
            {
              "name": "access_token",
              "value": "={{ $('info').first().json.Token }}"
            },
            {
              "name": "message",
              "value": "=Mua hàng tại Shopee: {{ $('Get Row Sheet').item.json['Link Aff 1'] }}"
            }
          ]
        }
      },
      "typeVersion": 4.2
    },
    {
      "id": "d6e2986d-25da-47aa-b73e-6766b0ac6ba1",
      "name": "파일 및 폴더 검색",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -1424,
        -288
      ],
      "parameters": {
        "filter": {
          "folderId": {
            "__rl": true,
            "mode": "list",
            "value": "16tm-jSUaz4B4Xk8Dc0h-jxxKVydzwHKJ",
            "cachedResultUrl": "https://drive.google.com/drive/folders/16tm-jSUaz4B4Xk8Dc0h-jxxKVydzwHKJ",
            "cachedResultName": "n8n creator"
          }
        },
        "options": {
          "fields": [
            "id",
            "name"
          ]
        },
        "resource": "fileFolder",
        "returnAll": true,
        "queryString": "mimeType = 'video/mp4'",
        "searchMethod": "query"
      },
      "credentials": {
        "googleDriveOAuth2Api": {
          "id": "b1IgmLfVK7MkWuXO",
          "name": "Google Drive account"
        }
      },
      "typeVersion": 3
    },
    {
      "id": "74566e2f-e8b3-408b-8b7b-b4f6aa5907b4",
      "name": "일정 트리거1",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -1712,
        -288
      ],
      "parameters": {
        "rule": {
          "interval": [
            {}
          ]
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "162ef463-3032-4744-bfea-60a02b441dc9",
      "name": "시트에 행 추가 또는 업데이트",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        -1072,
        -288
      ],
      "parameters": {
        "columns": {
          "value": {
            "Name": "={{ $json.name }}",
            "File ID": "={{ $json.id }}",
            "Link Share": "=https://drive.google.com/uc?id={{ $json.id }}&export=download"
          },
          "schema": [
            {
              "id": "Stories",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Stories",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "File ID",
              "type": "string",
              "display": true,
              "removed": false,
              "required": false,
              "displayName": "File ID",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Name",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Name",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            },
            {
              "id": "Link Share",
              "type": "string",
              "display": true,
              "required": false,
              "displayName": "Link Share",
              "defaultMatch": false,
              "canBeUsedToMatch": true
            }
          ],
          "mappingMode": "defineBelow",
          "matchingColumns": [
            "File ID"
          ],
          "attemptToConvertTypes": false,
          "convertFieldsToString": false
        },
        "options": {},
        "operation": "appendOrUpdate",
        "sheetName": {
          "__rl": true,
          "mode": "list",
          "value": "gid=0",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1RnE5O06l7W6TLCLKkwEH5Oyl-EZ3OE-Uc3OWFbDohYI/edit#gid=0",
          "cachedResultName": "Trang tính1"
        },
        "documentId": {
          "__rl": true,
          "mode": "list",
          "value": "1RnE5O06l7W6TLCLKkwEH5Oyl-EZ3OE-Uc3OWFbDohYI",
          "cachedResultUrl": "https://docs.google.com/spreadsheets/d/1RnE5O06l7W6TLCLKkwEH5Oyl-EZ3OE-Uc3OWFbDohYI/edit?usp=drivesdk",
          "cachedResultName": "Video stories facebook"
        }
      },
      "credentials": {
        "googleSheetsOAuth2Api": {
          "id": "HfujyDOlKBcmEBrq",
          "name": "Google Sheets account"
        }
      },
      "typeVersion": 4.7
    },
    {
      "id": "33b6589f-a47e-45e1-a914-2796db631b35",
      "name": "스티커 메모",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2400,
        -336
      ],
      "parameters": {
        "width": 1536,
        "height": 272,
        "content": "## Automated Google Drive Video List Update to Google Sheet\n\nThis workflow is designed to **periodically search for new MP4 video files** \n\nin a specific Google Drive folder and **update the file details** \n\n(Name, File ID, Share Link) into a Google Sheet.\n\n"
      },
      "typeVersion": 1
    },
    {
      "id": "e715160f-c6be-4daf-a27b-addcfe315b63",
      "name": "조건문",
      "type": "n8n-nodes-base.if",
      "position": [
        -1040,
        48
      ],
      "parameters": {
        "options": {},
        "conditions": {
          "options": {
            "version": 2,
            "leftValue": "",
            "caseSensitive": true,
            "typeValidation": "strict"
          },
          "combinator": "and",
          "conditions": [
            {
              "id": "960b3395-7df1-4cdd-ac7a-2a738c812cc9",
              "operator": {
                "type": "number",
                "operation": "notEmpty",
                "singleValue": true
              },
              "leftValue": "={{ $json[\"File ID\"] }}",
              "rightValue": ""
            }
          ]
        }
      },
      "typeVersion": 2.2
    },
    {
      "id": "9b3751d2-558e-46f7-991a-474279e09b50",
      "name": "스티커 메모1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -2400,
        16
      ],
      "parameters": {
        "width": 1536,
        "height": 992,
        "content": "## Publish a Reel on a Facebook Page\n\nThis advanced workflow is designed to\n\n **automatically publish a Reel on a Facebook Page** by following the platform's \n\nmulti-step uploading process, based on data pulled from a Google Sheet.\n\n#### 1. Google Sheets (required)\n\nYou can also duplicate this ready-to-use template:\n👉 [Google Sheet example](https://docs.google.com/spreadsheets/d/1JMT2BpWxfcG-d_XEWRppdSr_ZkG0XvtiaGaB8Lzdl78/edit?usp=sharing)\n\n#### 2. Google Drive\n\nThe uploaded video must:\n\n* Be in **.mp4 format**\n* Be stored inside a **shared folder** (accessible to your connected Google account in n8n)\n\n#### 3. Facebook Page & Token\n\nYou’ll need:\n\n* Your **Page ID**\n* A valid **Page Access Token** with permissions to manage and publish Reels\n\nFor detailed instructions on obtaining the Page ID and access token, see:\n👉 [n8n workflow example – Publish a Reel on a Facebook Page](https://n8n.io/workflows/10038)\n"
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "timezone": "Asia/Ho_Chi_Minh",
    "callerPolicy": "workflowsFromSameOwner",
    "availableInMCP": false,
    "executionOrder": "v1"
  },
  "versionId": "4cab5ef2-d515-4c2a-a7ab-bd2268ab3db1",
  "connections": {
    "e715160f-c6be-4daf-a27b-addcfe315b63": {
      "main": [
        [
          {
            "node": "e8db21a1-9a82-4c4b-a50e-af406a12bb8d",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "91e05176-b3a8-44de-a819-32a0575e288a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "4424daa9-14d9-47d5-b78b-2b2fda283540": {
      "main": [
        [
          {
            "node": "ac97c446-241f-4306-bdb8-5d6768fcffa5",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "c98f4dee-831a-4de6-b2df-d44cf320a7f4": {
      "main": [
        [
          {
            "node": "91e05176-b3a8-44de-a819-32a0575e288a",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "f0a8f95d-88f8-41b6-8a38-2ae55a4ce3ec": {
      "main": [
        [
          {
            "node": "ea72e8eb-6685-4e91-93cd-a9bdf276ad95",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "91e05176-b3a8-44de-a819-32a0575e288a": {
      "main": [
        [
          {
            "node": "e715160f-c6be-4daf-a27b-addcfe315b63",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "5dee332a-6319-419c-9fe2-2ed3f4b7639b": {
      "main": [
        [
          {
            "node": "c98f4dee-831a-4de6-b2df-d44cf320a7f4",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ea72e8eb-6685-4e91-93cd-a9bdf276ad95": {
      "main": [
        [
          {
            "node": "62cef400-c3fb-439e-a0ab-3c8f77e4c158",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "74566e2f-e8b3-408b-8b7b-b4f6aa5907b4": {
      "main": [
        [
          {
            "node": "d6e2986d-25da-47aa-b73e-6766b0ac6ba1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "d6e2986d-25da-47aa-b73e-6766b0ac6ba1": {
      "main": [
        [
          {
            "node": "162ef463-3032-4744-bfea-60a02b441dc9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "62cef400-c3fb-439e-a0ab-3c8f77e4c158": {
      "main": [
        [
          {
            "node": "547c52ee-7883-432d-8485-2a7c1f3b92c9",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "547c52ee-7883-432d-8485-2a7c1f3b92c9": {
      "main": [
        [
          {
            "node": "bfb4edf0-3c25-4e88-9bf6-16657f977d59",
            "type": "main",
            "index": 0
          },
          {
            "node": "4424daa9-14d9-47d5-b78b-2b2fda283540",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "e8db21a1-9a82-4c4b-a50e-af406a12bb8d": {
      "main": [
        [
          {
            "node": "f0a8f95d-88f8-41b6-8a38-2ae55a4ce3ec",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
자주 묻는 질문

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

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

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

고급 - 소셜 미디어

유료인가요?

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

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

고급 사용자를 위한 16+개 노드의 복잡한 워크플로우

외부 링크
n8n.io에서 보기

이 워크플로우 공유

카테고리

카테고리: 34