使用 Blotato 跨平台发布视频(Instagram、YouTube)
高级
这是一个Social Media领域的自动化工作流,包含 64 个节点。主要使用 Set, DataTable, FormTrigger, HttpRequest, GoogleSheets 等节点。 使用 Blotato 跨多个平台发布视频(Instagram、YouTube)
前置要求
- •可能需要目标 API 的认证凭证
- •Google Sheets API 凭证
使用的节点 (64)
分类
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "42bde649da4575cc0d49afcf8affcdbece40e5e40061aa2c9b7a8b3639284dfe",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "d336f7dc-1dcd-45a0-a996-ea7d5f484ad8",
"name": "定时触发器",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
256,
144
],
"parameters": {
"rule": {
"interval": [
{
"triggerAtHour": 22
}
]
}
},
"typeVersion": 1.2
},
{
"id": "dc5d9fb8-9642-4f3e-92a0-16fd5a462aa0",
"name": "分配社交媒体ID",
"type": "n8n-nodes-base.set",
"position": [
608,
144
],
"parameters": {
"mode": "raw",
"options": {},
"jsonOutput": "{\n \"instagram_id\": \"111\",\n \"youtube_id\": \"222\",\n \"tiktok_id\": \"333\",\n \"facebook_id\": \"444\",\n \"facebook_page_id\": \"555\",\n \"threads_id\": \"666\",\n \"twitter_id\": \"777\",\n \"linkedin_id\": \"888\",\n \"pinterest_id\": \"999\",\n \"pinterest_board_id\": \"101010\",\n \"bluesky_id\": \"111111\"\n}"
},
"typeVersion": 3.4
},
{
"id": "c7c2ac38-26a6-4d75-be1a-9f33aa1ae307",
"name": "获取我的视频",
"type": "n8n-nodes-base.googleSheets",
"position": [
400,
144
],
"parameters": {
"options": {},
"filtersUI": {
"values": [
{
"lookupValue": "Ready",
"lookupColumn": "ReadyToPost"
}
]
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1lbzt8Wv-1l7_OB-sV2a0XciLrNfBkEGMhg1glnQ33LU/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1lbzt8Wv-1l7_OB-sV2a0XciLrNfBkEGMhg1glnQ33LU",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1lbzt8Wv-1l7_OB-sV2a0XciLrNfBkEGMhg1glnQ33LU/edit?usp=drivesdk",
"cachedResultName": "UGC Ads Veo & Sora"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "RUTdANAHw85DSQub",
"name": "Google Sheets account"
}
},
"typeVersion": 4.5
},
{
"id": "38ea7322-33dd-4df7-b704-bd742fbc428e",
"name": "上传视频到Blotato",
"type": "n8n-nodes-base.httpRequest",
"position": [
800,
144
],
"parameters": {
"url": "https://backend.blotato.com/v2/media",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{
"name": "url",
"value": "={{ $('Get my video').item.json['URL VIDEO'] }}"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "30a46bda-60bc-43e4-8a89-5563cb3d706a",
"name": "INSTAGRAM",
"type": "n8n-nodes-base.httpRequest",
"position": [
1024,
144
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs').item.json.instagram_id }}\",\n \"target\": {\n \"targetType\": \"instagram\"\n },\n \"content\": {\n \"text\": \"{{ $('Get my video').item.json.DESCRIPTION }}\",\n \"platform\": \"instagram\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "4122e70d-089a-41eb-8db2-95761f8f098b",
"name": "YOUTUBE",
"type": "n8n-nodes-base.httpRequest",
"position": [
1168,
144
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs').item.json.youtube_id }}\",\n \"target\": {\n \"targetType\": \"youtube\",\n \"title\": \"{{ $('Get my video').item.json.Titre }}\",\n \"privacyStatus\": \"unlisted\",\n \"shouldNotifySubscribers\": \"false\"\n },\n \"content\": {\n \"text\": \"{{ $('Get my video').item.json.DESCRIPTION }}\",\n \"platform\": \"youtube\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "cccbe613-2139-4f42-a24f-200a2e408bc8",
"name": "TIKTOK",
"type": "n8n-nodes-base.httpRequest",
"position": [
1312,
144
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs').item.json.tiktok_id }}\",\n \"target\": {\n \"targetType\": \"tiktok\",\n \"isYourBrand\": \"false\", \n \"disabledDuet\": \"false\",\n \"privacyLevel\": \"PUBLIC_TO_EVERYONE\",\n \"isAiGenerated\": \"true\",\n \"disabledStitch\": \"false\",\n \"disabledComments\": \"false\",\n \"isBrandedContent\": \"false\"\n \n },\n \"content\": {\n \"text\": \"{{ $('Get my video').item.json.DESCRIPTION }}\",\n \"platform\": \"tiktok\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "afe122b9-3ab9-4144-883e-b4720f1bbd8c",
"name": "FACEBOOK",
"type": "n8n-nodes-base.httpRequest",
"position": [
1024,
304
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs').item.json.facebook_id }}\",\n \"target\": {\n \"targetType\": \"facebook\",\n \"pageId\": \"{{ $('Assign Social Media IDs').item.json.facebook_page_id }}\"\n\n \n },\n \"content\": {\n \"text\": \"{{ $('Get my video').item.json.DESCRIPTION }}\",\n \"platform\": \"facebook\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "095489ba-6915-49fe-b340-8819aad54e22",
"name": "THREADS",
"type": "n8n-nodes-base.httpRequest",
"position": [
1168,
304
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs').item.json.threads_id }}\",\n \"target\": {\n \"targetType\": \"threads\"\n \n },\n \"content\": {\n \"text\": \"{{ $('Get my video').item.json.DESCRIPTION }}\",\n \"platform\": \"threads\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "d55613e8-b463-4d68-842b-af19072ef10e",
"name": "LINKEDIN",
"type": "n8n-nodes-base.httpRequest",
"position": [
1024,
464
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs').item.json.linkedin_id }}\",\n \"target\": {\n \"targetType\": \"linkedin\"\n \n },\n \"content\": {\n \"text\": \"{{ $('Get my video').item.json.DESCRIPTION }}\",\n \"platform\": \"linkedin\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "fb34d18c-d373-4f69-ae48-9d85897fba11",
"name": "BLUESKY",
"type": "n8n-nodes-base.httpRequest",
"position": [
1168,
464
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "= {\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs').item.json.bluesky_id }}\",\n \"target\": {\n \"targetType\": \"bluesky\"\n \n },\n \"content\": {\n \"text\": \"{{ $('Get my video').item.json.DESCRIPTION }}\",\n \"platform\": \"bluesky\",\n \"mediaUrls\": [\n \"https://pbs.twimg.com/media/GE8MgIiWEAAfsK3.jpg\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "8315f19c-25a1-46f9-8d0d-b8ef5cfe770e",
"name": "PINTEREST",
"type": "n8n-nodes-base.httpRequest",
"position": [
1312,
464
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs').item.json.pinterest_id }}\",\n \"target\": {\n \"targetType\": \"pinterest\",\n \"boardId\": \"{{ $('Assign Social Media IDs').item.json.pinterest_board_id }}\" \n },\n \"content\": {\n \"text\": \"{{ $('Get my video').item.json.DESCRIPTION }}\",\n \"platform\": \"pinterest\",\n \"mediaUrls\": [\n \"https://pbs.twimg.com/media/GE8MgIiWEAAfsK3.jpg\"\n ]\n }\n }\n}\n\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "6bbaaab3-d50c-4c45-9590-83ed8434ab70",
"name": "便签 3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-144,
32
],
"parameters": {
"color": 4,
"width": 336,
"height": 536,
"content": "# 视频到社交发布器(定时)"
},
"typeVersion": 1
},
{
"id": "cb0bb0ae-b769-40d0-ab32-3d8c64f21fd3",
"name": "TWITTER",
"type": "n8n-nodes-base.httpRequest",
"position": [
1312,
304
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs').item.json.twitter_id }}\",\n \"target\": {\n \"targetType\": \"twitter\"\n \n },\n \"content\": {\n \"text\": \"{{ $('Get my video').item.json.DESCRIPTION }}\",\n \"platform\": \"twitter\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "8b87d484-0868-482f-9c00-0014ae95c815",
"name": "便签 - 数据",
"type": "n8n-nodes-base.stickyNote",
"position": [
208,
32
],
"parameters": {
"color": 7,
"width": 320,
"height": 80,
"content": "## 数据源"
},
"typeVersion": 1
},
{
"id": "2cddcce7-d155-4144-b0d5-d96db1d4a75e",
"name": "便签 - 配置",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
32
],
"parameters": {
"color": 7,
"width": 384,
"height": 80,
"content": "## 配置"
},
"typeVersion": 1
},
{
"id": "cf12bf17-7383-42e7-8b93-bc00bc7f03be",
"name": "便签 - 社交",
"type": "n8n-nodes-base.stickyNote",
"position": [
976,
32
],
"parameters": {
"color": 7,
"width": 464,
"height": 80,
"content": "## 社交发布"
},
"typeVersion": 1
},
{
"id": "42539661-b56d-42cf-b7ab-61c0a74bae12",
"name": "上传文件",
"type": "n8n-nodes-base.formTrigger",
"position": [
208,
1600
],
"webhookId": "f48b5e90-221e-40bf-b186-85002851cbda",
"parameters": {
"options": {},
"formTitle": "Upload File To DropBox",
"formFields": {
"values": [
{
"fieldType": "file",
"fieldLabel": "Upload file",
"requiredField": true
},
{
"fieldLabel": "Video Title",
"placeholder": "Give it a YouTube video title",
"requiredField": true
},
{
"fieldLabel": "Description",
"placeholder": "What's the video about?",
"requiredField": true
}
]
}
},
"typeVersion": 2.3
},
{
"id": "cc4758ef-4438-4bf9-927c-b43a47f08684",
"name": "调用'[SUB] 视频到社交'",
"type": "n8n-nodes-base.executeWorkflow",
"position": [
672,
1600
],
"parameters": {
"options": {},
"workflowId": {
"__rl": true,
"mode": "list",
"value": "lyRkF0MpsfIFzMKA",
"cachedResultUrl": "/workflow/lyRkF0MpsfIFzMKA",
"cachedResultName": "[SUB] Video to Social"
},
"workflowInputs": {
"value": {},
"mappingMode": "defineBelow"
}
},
"typeVersion": 1.3
},
{
"id": "f9faf140-e6a4-4757-aae1-c5285a876e12",
"name": "调用'[SUB] Dropbox上传链接'",
"type": "n8n-nodes-base.executeWorkflow",
"position": [
352,
1600
],
"parameters": {
"options": {},
"workflowId": {
"__rl": true,
"mode": "list",
"value": "DsRqr6QdhNM0TRaQ",
"cachedResultUrl": "/workflow/DsRqr6QdhNM0TRaQ",
"cachedResultName": "[SUB] Dropbox upload links 2"
},
"workflowInputs": {
"value": {},
"mappingMode": "defineBelow"
}
},
"typeVersion": 1.3
},
{
"id": "5cb5c6d9-d0f1-4310-950d-5bd802377f9f",
"name": "设置URL、标题和描述",
"type": "n8n-nodes-base.set",
"position": [
512,
1600
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "13783502-f55b-4a8a-8735-2fdc0fdb8c88",
"name": "url",
"type": "string",
"value": "={{ $json.url }}"
},
{
"id": "0e254fc7-b2c7-4158-9104-ceda85cbfb5e",
"name": "Description",
"type": "string",
"value": "={{ $('Upload File').item.json.Description }}"
},
{
"id": "862257ce-7fc7-41f2-90ce-5c842f4f726a",
"name": "Title",
"type": "string",
"value": "={{ $('Upload File').item.json['Video Title'] }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "53482ae1-9206-4c6a-9bb9-35ddea0feaa4",
"name": "测试工作流完成",
"type": "n8n-nodes-base.noOp",
"position": [
832,
1600
],
"parameters": {},
"typeVersion": 1
},
{
"id": "ead2bba6-9f15-48fb-96bf-bbbd99ee4eb8",
"name": "便签 2",
"type": "n8n-nodes-base.stickyNote",
"position": [
208,
1472
],
"parameters": {
"width": 736,
"height": 448,
"content": "## 测试工作流"
},
"typeVersion": 1
},
{
"id": "6dcbf644-3547-420b-82b3-ea65e9e86548",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
208,
32
],
"parameters": {
"color": 3,
"width": 320,
"height": 544,
"content": ""
},
"typeVersion": 1
},
{
"id": "459e2fe0-225b-4a24-ab59-984d8651f7d9",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
32
],
"parameters": {
"color": 3,
"width": 384,
"height": 544,
"content": ""
},
"typeVersion": 1
},
{
"id": "311a6a73-c7b7-43df-8312-483149399886",
"name": "便签 4",
"type": "n8n-nodes-base.stickyNote",
"position": [
976,
32
],
"parameters": {
"color": 3,
"width": 464,
"height": 800,
"content": ""
},
"typeVersion": 1
},
{
"id": "b4053c53-c598-4d40-95ca-3037d790fd56",
"name": "便签 - 数据1",
"type": "n8n-nodes-base.stickyNote",
"position": [
1472,
32
],
"parameters": {
"color": 7,
"width": 256,
"height": 80,
"content": "## 数据源"
},
"typeVersion": 1
},
{
"id": "46884c42-1adc-46b2-a45f-f2e71d40645b",
"name": "便签 5",
"type": "n8n-nodes-base.stickyNote",
"position": [
1472,
32
],
"parameters": {
"color": 3,
"width": 256,
"height": 544,
"content": ""
},
"typeVersion": 1
},
{
"id": "b6f13bd6-c70d-40b4-8d46-b42966a90a57",
"name": "更新视频表格",
"type": "n8n-nodes-base.googleSheets",
"position": [
1536,
144
],
"parameters": {
"columns": {
"value": {
"ReadyToPost": "Finished"
},
"schema": [
{
"id": "No",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "No",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Product",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Product",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Product Photo",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Product Photo",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "SiteURL",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "SiteURL",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "ICP",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "ICP",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Product Features",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Product Features",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "MaleOrFemale",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "MaleOrFemale",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Language",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Language",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Scenes",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Scenes",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Video Setting",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Video Setting",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Model",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Model",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Status",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Status",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Finished Video",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Finished Video",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Extended Video",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Extended Video",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "Reviewed",
"type": "string",
"display": true,
"removed": true,
"required": false,
"displayName": "Reviewed",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "ReadyToPost",
"type": "string",
"display": true,
"required": false,
"displayName": "ReadyToPost",
"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": [
"No"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1lbzt8Wv-1l7_OB-sV2a0XciLrNfBkEGMhg1glnQ33LU/edit#gid=0",
"cachedResultName": "Sheet1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1lbzt8Wv-1l7_OB-sV2a0XciLrNfBkEGMhg1glnQ33LU",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1lbzt8Wv-1l7_OB-sV2a0XciLrNfBkEGMhg1glnQ33LU/edit?usp=drivesdk",
"cachedResultName": "UGC Ads Veo & Sora"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "RUTdANAHw85DSQub",
"name": "Google Sheets account"
}
},
"typeVersion": 4.5
},
{
"id": "a388ee0c-1291-4eaf-ad85-f1aab6921af4",
"name": "便签6",
"type": "n8n-nodes-base.stickyNote",
"position": [
576,
288
],
"parameters": {
"color": 5,
"width": 176,
"height": 256,
"content": "## Blotato ID"
},
"typeVersion": 1
},
{
"id": "f955ca62-859b-431e-a804-5cdd6d3e72ed",
"name": "便签7",
"type": "n8n-nodes-base.stickyNote",
"position": [
768,
288
],
"parameters": {
"color": 5,
"width": 160,
"height": 256,
"content": "## Blotato密钥"
},
"typeVersion": 1
},
{
"id": "07d3e230-9c0f-4778-bbca-35f0dd3817d5",
"name": "便签8",
"type": "n8n-nodes-base.stickyNote",
"position": [
352,
288
],
"parameters": {
"color": 5,
"width": 160,
"height": 272,
"content": "## 视频表格"
},
"typeVersion": 1
},
{
"id": "1e6838a7-3818-4f3f-83ce-e6306abf19ec",
"name": "### 替换 Airtable 连接",
"type": "n8n-nodes-base.stickyNote",
"position": [
1504,
288
],
"parameters": {
"color": 5,
"width": 176,
"height": 272,
"content": "## 更新视频表格"
},
"typeVersion": 1
},
{
"id": "abc4145d-40aa-43b6-b094-cfded423c7f1",
"name": "便签10",
"type": "n8n-nodes-base.stickyNote",
"position": [
992,
640
],
"parameters": {
"color": 5,
"width": 432,
"height": 176,
"content": "## Blotato密钥一次又一次...😫😫"
},
"typeVersion": 1
},
{
"id": "9326d2e0-25ec-422f-909b-347d70909f15",
"name": "便签11",
"type": "n8n-nodes-base.stickyNote",
"position": [
-144,
912
],
"parameters": {
"color": 4,
"width": 336,
"height": 1000,
"content": "# 视频到社交发布器(子工作流)"
},
"typeVersion": 1
},
{
"id": "b811eba3-320f-4d15-9443-1f05ae829b55",
"name": "便签 - 数据2",
"type": "n8n-nodes-base.stickyNote",
"position": [
208,
912
],
"parameters": {
"color": 7,
"width": 320,
"height": 80,
"content": "## 数据源"
},
"typeVersion": 1
},
{
"id": "1a4aa96f-5123-49f1-9565-6d9bc7eab10b",
"name": "便签 - 配置1",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
912
],
"parameters": {
"color": 7,
"width": 384,
"height": 80,
"content": "## 配置"
},
"typeVersion": 1
},
{
"id": "6036fcf7-ff62-4407-b547-5cd386a8f7b6",
"name": "便签 - 社交1",
"type": "n8n-nodes-base.stickyNote",
"position": [
976,
912
],
"parameters": {
"color": 7,
"width": 464,
"height": 80,
"content": "## 社交发布"
},
"typeVersion": 1
},
{
"id": "8bc51e4f-636a-4f83-87be-ead8f8805af0",
"name": "便签12",
"type": "n8n-nodes-base.stickyNote",
"position": [
208,
912
],
"parameters": {
"color": 3,
"width": 320,
"height": 544,
"content": ""
},
"typeVersion": 1
},
{
"id": "07a919e7-0ba8-4d8a-9662-f65a36560407",
"name": "## 试试看!",
"type": "n8n-nodes-base.stickyNote",
"position": [
560,
912
],
"parameters": {
"color": 3,
"width": 384,
"height": 544,
"content": ""
},
"typeVersion": 1
},
{
"id": "690631fb-d3f0-43c4-b88d-5cefcc687750",
"name": "便签 14",
"type": "n8n-nodes-base.stickyNote",
"position": [
976,
912
],
"parameters": {
"color": 3,
"width": 464,
"height": 752,
"content": ""
},
"typeVersion": 1
},
{
"id": "09d43689-5051-4a4c-a43b-c93ee29cd836",
"name": "便签 - 数据3",
"type": "n8n-nodes-base.stickyNote",
"position": [
1472,
912
],
"parameters": {
"color": 7,
"width": 256,
"height": 80,
"content": "## 数据源"
},
"typeVersion": 1
},
{
"id": "ae5949cb-ef3f-4846-bfb8-88c257fb00dd",
"name": "便签15",
"type": "n8n-nodes-base.stickyNote",
"position": [
1472,
912
],
"parameters": {
"color": 3,
"width": 256,
"height": 544,
"content": ""
},
"typeVersion": 1
},
{
"id": "3b9052b5-32e1-48cb-af04-4a33025cab11",
"name": "便签 16",
"type": "n8n-nodes-base.stickyNote",
"position": [
576,
1168
],
"parameters": {
"color": 5,
"width": 176,
"height": 256,
"content": "## Blotato ID"
},
"typeVersion": 1
},
{
"id": "9ac62c72-83f9-401e-a036-52fc36d6b204",
"name": "近期交易",
"type": "n8n-nodes-base.stickyNote",
"position": [
768,
1168
],
"parameters": {
"color": 5,
"width": 160,
"height": 256,
"content": "## Blotato密钥"
},
"typeVersion": 1
},
{
"id": "dfbfb33f-65f6-41d4-aedf-e6cc3189a504",
"name": "便利贴18",
"type": "n8n-nodes-base.stickyNote",
"position": [
384,
1152
],
"parameters": {
"color": 5,
"width": 150,
"height": 272,
"content": "## 数据表"
},
"typeVersion": 1
},
{
"id": "e5445187-7587-4455-9c1e-15a57645963e",
"name": "便签 19",
"type": "n8n-nodes-base.stickyNote",
"position": [
1504,
1168
],
"parameters": {
"color": 5,
"width": 208,
"height": 272,
"content": "## 此节点不执行任何操作"
},
"typeVersion": 1
},
{
"id": "250bb78a-ed68-4a6f-a6b6-f046012041e8",
"name": "便签20",
"type": "n8n-nodes-base.stickyNote",
"position": [
992,
1488
],
"parameters": {
"color": 5,
"width": 432,
"content": "## 从数据表获取Blotato密钥..."
},
"typeVersion": 1
},
{
"id": "032bc32a-b286-45e9-bfd6-c7016c4e356c",
"name": "要发布的媒体",
"type": "n8n-nodes-base.executeWorkflowTrigger",
"position": [
240,
1008
],
"parameters": {
"inputSource": "passthrough"
},
"typeVersion": 1.1
},
{
"id": "71280fe1-ae63-47e0-8e6a-36744a5dcb9a",
"name": "社交帖子完成",
"type": "n8n-nodes-base.noOp",
"position": [
1552,
1008
],
"parameters": {},
"typeVersion": 1
},
{
"id": "6507adcf-eb42-4cad-93d9-4bda6ca86ea5",
"name": "获取Blotato密钥",
"type": "n8n-nodes-base.dataTable",
"position": [
400,
1008
],
"parameters": {
"filters": {
"conditions": [
{
"keyName": "service",
"keyValue": "blotato"
}
]
},
"operation": "get",
"dataTableId": {
"__rl": true,
"mode": "list",
"value": "qLafevkoXrOAZBOz",
"cachedResultUrl": "/projects/w1o5aCEZlpQzzMF5/datatables/qLafevkoXrOAZBOz",
"cachedResultName": "Credentials"
}
},
"typeVersion": 1
},
{
"id": "98509679-51fc-452e-8f84-237dd8eb5c9c",
"name": "分配社交媒体ID2",
"type": "n8n-nodes-base.set",
"position": [
624,
1008
],
"parameters": {
"mode": "raw",
"options": {},
"jsonOutput": "{\n \"instagram_id\": \"8378\",\n \"youtube_id\": \"7226\",\n \"tiktok_id\": \"10230\",\n \"facebook_id\": \"5924\",\n \"facebook_page_id\": \"114153624910922\",\n \"threads_id\": \"1928\",\n \"twitter_id\": \"4143\",\n \"linkedin_id\": \"888\",\n \"pinterest_id\": \"999\",\n \"pinterest_board_id\": \"101010\",\n \"bluesky_id\": \"111111\"\n}"
},
"typeVersion": 3.4
},
{
"id": "243d4f21-c42a-4cb0-85f7-3b2552a1e64e",
"name": "上传视频到Blotato2",
"type": "n8n-nodes-base.httpRequest",
"position": [
800,
1008
],
"parameters": {
"url": "https://backend.blotato.com/v2/media",
"method": "POST",
"options": {},
"sendBody": true,
"sendHeaders": true,
"bodyParameters": {
"parameters": [
{
"name": "url",
"value": "={{ $('Media to publish').item.json.url }}"
}
]
},
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key",
"value": "={{ $('get blotato key').item.json.token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "a1f00671-4149-45b9-9903-a1be9a3c4b83",
"name": "INSTAGRAM2",
"type": "n8n-nodes-base.httpRequest",
"position": [
1024,
1008
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs2').item.json.instagram_id }}\",\n \"target\": {\n \"targetType\": \"instagram\"\n },\n \"content\": {\n \"text\": \"{{ $('Media to publish').item.json.Description }}\",\n \"platform\": \"instagram\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key",
"value": "={{ $('get blotato key').item.json.token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "1523cb62-e5e3-46d1-b402-da340ad25280",
"name": "YOUTUBE2",
"type": "n8n-nodes-base.httpRequest",
"position": [
1152,
1008
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs2').item.json.youtube_id }}\",\n \"target\": {\n \"targetType\": \"youtube\",\n \"title\": \"{{ $('Media to publish').item.json.Title }}\",\n \"privacyStatus\": \"unlisted\",\n \"shouldNotifySubscribers\": \"false\"\n },\n \"content\": {\n \"text\": \"{{ $('Media to publish').item.json.Description }}\",\n \"platform\": \"youtube\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key",
"value": "={{ $('get blotato key').item.json.token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "5a522e16-b389-4573-87b8-028ccc6de4bc",
"name": "TIKTOK2",
"type": "n8n-nodes-base.httpRequest",
"position": [
1280,
1008
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs2').item.json.tiktok_id }}\",\n \"target\": {\n \"targetType\": \"tiktok\",\n \"isYourBrand\": \"false\", \n \"disabledDuet\": \"false\",\n \"privacyLevel\": \"PUBLIC_TO_EVERYONE\",\n \"isAiGenerated\": \"true\",\n \"disabledStitch\": \"false\",\n \"disabledComments\": \"false\",\n \"isBrandedContent\": \"false\"\n \n },\n \"content\": {\n \"text\": \"{{ $('Media to publish').item.json.Description }}\",\n \"platform\": \"tiktok\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key",
"value": "={{ $('get blotato key').item.json.token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "c5033ee4-220f-4931-9c29-a0b54eea31cd",
"name": "FACEBOOK2",
"type": "n8n-nodes-base.httpRequest",
"position": [
1024,
1168
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs2').item.json.facebook_id }}\",\n \"target\": {\n \"targetType\": \"facebook\",\n \"pageId\": \"{{ $('Assign Social Media IDs2').item.json.facebook_page_id }}\"\n\n \n },\n \"content\": {\n \"text\": \"{{ $('Media to publish').item.json.Description }}\",\n \"platform\": \"facebook\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key",
"value": "={{ $('get blotato key').item.json.token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "c722ac72-6e06-4f05-9523-db2002267615",
"name": "THREADS2",
"type": "n8n-nodes-base.httpRequest",
"position": [
1152,
1168
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs2').item.json.threads_id }}\",\n \"target\": {\n \"targetType\": \"threads\"\n \n },\n \"content\": {\n \"text\": \"{{ $('Media to publish').item.json.Description }}\",\n \"platform\": \"threads\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key",
"value": "={{ $('get blotato key').item.json.token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "795a4007-e4d2-4395-bc6a-b64ae0e7a866",
"name": "LINKEDIN2",
"type": "n8n-nodes-base.httpRequest",
"position": [
1024,
1328
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs2').item.json.linkedin_id }}\",\n \"target\": {\n \"targetType\": \"linkedin\"\n \n },\n \"content\": {\n \"text\": \"{{ $('Media to publish').item.json.Description }}\",\n \"platform\": \"linkedin\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key",
"value": "={{ $('get blotato key').item.json.token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "d3bd23ef-ec7e-48f2-b77c-1fc42e25c1e2",
"name": "BLUESKY2",
"type": "n8n-nodes-base.httpRequest",
"position": [
1152,
1328
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "= {\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs2').item.json.bluesky_id }}\",\n \"target\": {\n \"targetType\": \"bluesky\"\n \n },\n \"content\": {\n \"text\": \"{{ $('Media to publish').item.json.Description }}\",\n \"platform\": \"bluesky\",\n \"mediaUrls\": [\n \"https://pbs.twimg.com/media/GE8MgIiWEAAfsK3.jpg\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key",
"value": "={{ $('get blotato key').item.json.token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "551ccaed-d007-44ce-8174-08ed3bd50e9b",
"name": "PINTEREST2",
"type": "n8n-nodes-base.httpRequest",
"position": [
1280,
1328
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs2').item.json.pinterest_id }}\",\n \"target\": {\n \"targetType\": \"pinterest\",\n \"boardId\": \"{{ $('Assign Social Media IDs2').item.json.pinterest_board_id }}\" \n },\n \"content\": {\n \"text\": \"{{ $('Media to publish').item.json.Description }}\",\n \"platform\": \"pinterest\",\n \"mediaUrls\": [\n \"https://pbs.twimg.com/media/GE8MgIiWEAAfsK3.jpg\"\n ]\n }\n }\n}\n\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key",
"value": "={{ $('get blotato key').item.json.token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "8cd7acb1-dc0a-4167-87f7-d0a9333222ec",
"name": "TWITTER2",
"type": "n8n-nodes-base.httpRequest",
"position": [
1280,
1168
],
"parameters": {
"url": "https://backend.blotato.com/v2/posts",
"method": "POST",
"options": {},
"jsonBody": "={\n \"post\": {\n \"accountId\": \"{{ $('Assign Social Media IDs2').item.json.twitter_id }}\",\n \"target\": {\n \"targetType\": \"twitter\"\n \n },\n \"content\": {\n \"text\": \"{{ $('Media to publish').item.json.Description }}\",\n \"platform\": \"twitter\",\n \"mediaUrls\": [\n \"{{ $json.url }}\"\n ]\n }\n }\n}\n",
"sendBody": true,
"sendHeaders": true,
"specifyBody": "json",
"headerParameters": {
"parameters": [
{
"name": "blotato-api-key",
"value": "={{ $('get blotato key').item.json.token }}"
}
]
}
},
"typeVersion": 4.2
},
{
"id": "d1679ab8-02ea-4f6a-b810-e818cc2e931e",
"name": "便利贴21",
"type": "n8n-nodes-base.stickyNote",
"position": [
208,
1152
],
"parameters": {
"color": 5,
"width": 150,
"height": 272,
"content": "## 子触发器"
},
"typeVersion": 1
},
{
"id": "5ec6ac0d-41de-40e0-9f07-cb75654ccf3d",
"name": "便签22",
"type": "n8n-nodes-base.stickyNote",
"position": [
208,
1760
],
"parameters": {
"color": 5,
"width": 736,
"height": 144,
"content": "## 此节点做什么?"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"TIKTOK2": {
"main": [
[
{
"node": "Social Posts Completed",
"type": "main",
"index": 0
}
]
]
},
"TWITTER2": {
"main": [
[
{
"node": "Social Posts Completed",
"type": "main",
"index": 0
}
]
]
},
"Upload File": {
"main": [
[
{
"node": "Call '[SUB] Dropbox upload link'",
"type": "main",
"index": 0
}
]
]
},
"Get my video": {
"main": [
[
{
"node": "Assign Social Media IDs",
"type": "main",
"index": 0
}
]
]
},
"get blotato key": {
"main": [
[
{
"node": "Assign Social Media IDs2",
"type": "main",
"index": 0
}
]
]
},
"Media to publish": {
"main": [
[
{
"node": "get blotato key",
"type": "main",
"index": 0
}
]
]
},
"Schedule Trigger": {
"main": [
[
{
"node": "Get my video",
"type": "main",
"index": 0
}
]
]
},
"Assign Social Media IDs": {
"main": [
[
{
"node": "Upload Video to Blotato",
"type": "main",
"index": 0
}
]
]
},
"Upload Video to Blotato": {
"main": [
[
{
"node": "INSTAGRAM",
"type": "main",
"index": 0
},
{
"node": "YOUTUBE",
"type": "main",
"index": 0
},
{
"node": "TIKTOK",
"type": "main",
"index": 0
},
{
"node": "FACEBOOK",
"type": "main",
"index": 0
},
{
"node": "THREADS",
"type": "main",
"index": 0
},
{
"node": "LINKEDIN",
"type": "main",
"index": 0
},
{
"node": "BLUESKY",
"type": "main",
"index": 0
},
{
"node": "PINTEREST",
"type": "main",
"index": 0
},
{
"node": "Update Video Sheet",
"type": "main",
"index": 0
},
{
"node": "TWITTER",
"type": "main",
"index": 0
}
]
]
},
"Assign Social Media IDs2": {
"main": [
[
{
"node": "Upload Video to Blotato2",
"type": "main",
"index": 0
}
]
]
},
"Upload Video to Blotato2": {
"main": [
[
{
"node": "INSTAGRAM2",
"type": "main",
"index": 0
},
{
"node": "YOUTUBE2",
"type": "main",
"index": 0
},
{
"node": "TIKTOK2",
"type": "main",
"index": 0
},
{
"node": "FACEBOOK2",
"type": "main",
"index": 0
},
{
"node": "THREADS2",
"type": "main",
"index": 0
},
{
"node": "TWITTER2",
"type": "main",
"index": 0
}
]
]
},
"Call '[SUB] Video to Social'": {
"main": [
[
{
"node": "Test Workflow Completed",
"type": "main",
"index": 0
}
]
]
},
"Set URL, Title & Description": {
"main": [
[
{
"node": "Call '[SUB] Video to Social'",
"type": "main",
"index": 0
}
]
]
},
"Call '[SUB] Dropbox upload link'": {
"main": [
[
{
"node": "Set URL, Title & Description",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 社交媒体
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
已发布:[子流程] Dropbox 上传链接
上传文件到 Dropbox 并生成直接下载链接
If
Set
Dropbox
+7
19 节点Anthony
文件管理
在可视化参考库中探索n8n节点
在可视化参考库中探索n8n节点
If
Ftp
Set
+93
113 节点I versus AI
其他
使用Google Sheets、Forms和Gmail通知自动化多步骤入职流程
使用Google Sheets、Forms和Gmail通知自动化多步骤入职流程
If
Set
Code
+11
31 节点PollupAI
人力资源
WordPress博客自动化专业版(深度研究)v2.1市场
使用GPT-4o、Perplexity AI和多语言支持自动化SEO优化的博客创建
If
Set
Xml
+27
125 节点Daniel Ng
内容创作
(Duc)深度研究市场模板
集成PerplexityAI研究和OpenAI内容的多层级WordPress博客生成器
If
Set
Xml
+28
132 节点Daniel Ng
人工智能
实时Notion Todoist双向同步模板
使用Redis的Notion Todoist实时双向同步
If
Set
Code
+26
246 节点Mario
销售
工作流信息
难度等级
高级
节点数量64
分类1
节点类型10
作者
Anthony
@usascholarI write code to save you headaches. I post workflows, that I had a hard time with or find was really needed. If you pay for one of my workflows, congratulations... it probably took me 10x the $$ amount in my personal time, figuring the darn thing out.
外部链接
在 n8n.io 查看 →
分享此工作流