AI NÊN SỬ DỤNG WORKFLOW NÀY?
- CONTENT CREATORS & SOCIAL MEDIA MANAGERS
- Tự động hóa quá trình tạo và đăng bài trên Facebook, Twitter/X, LinkedIn và Instagram
- Tiết kiệm thời gian và đảm bảo nội dung nhất quán trên nhiều nền tảng
- DIGITAL MARKETERS
- Tạo nội dung tối ưu hóa cho từng nền tảng dựa trên bài viết WordPress
- Dễ dàng tích hợp với AI và các API mạng xã hội để tăng hiệu suất tiếp thị
WORKFLOW GIẢI QUYẾT VẤN ĐỀ GÌ?
- Tạo nội dung mạng xã hội từ bài viết WordPress thủ công mất nhiều thời gian
- Khó tối ưu hóa nội dung cho từng nền tảng nếu làm thủ công
- Workflow này tự động hóa toàn bộ quá trình, từ lấy nội dung bài viết đến đăng bài và cập nhật trạng thái
CÁCH HOẠT ĐỘNG CỦA WORKFLOW
1. KÍCH HOẠT WORKFLOW
- Người dùng bấm “Test workflow” trong n8n để bắt đầu quá trình
2. LẤY DỮ LIỆU TỪ WORDPRESS
- Google Sheets lấy POST ID từ danh sách bài viết có sẵn
- Get Post truy xuất nội dung bài viết WordPress bằng POST ID
3. TẠO NỘI DUNG MẠNG XÃ HỘI
- AI Social Media Manager (OpenRouter) tạo caption phù hợp từng nền tảng:
- Twitter/X – nội dung ngắn gọn, có hashtags
- Facebook – bài viết có call-to-action
- LinkedIn – nội dung chuyên sâu, phù hợp B2B
- Instagram – caption sáng tạo, gắn thẻ liên quan
4. TẠO ẢNH BÀI ĐĂNG
- AI Image Generation (OpenAI) tạo hình ảnh tối ưu cho Facebook, LinkedIn & Instagram
5. ĐĂNG BÀI LÊN CÁC NỀN TẢNG XÃ HỘI
- Twitter/X
6. CẬP NHẬT TRẠNG THÁI TRÊN GOOGLE SHEETS
- Đánh dấu các bài đã đăng: “X OK”, “Facebook OK”, “LinkedIn OK”, “Instagram OK”
CÀI ĐẶT & TRIỂN KHAI (ƯỚC TÍNH: 20-30 PHÚT)
1. CẤU HÌNH GOOGLE SHEETS
- Tạo bảng với các cột: POST ID, TEXT, TWITTER, FACEBOOK, INSTAGRAM, LINKEDIN
- Cung cấp Document ID & Sheet Name trong Google Sheets Node
2. KẾT NỐI WORDPRESS
- Cấu hình REST API của WordPress
- Cung cấp thông tin đăng nhập WordPress trong n8n
3. CẤU HÌNH AI CHO CONTENT & HÌNH ẢNH
- Kết nối OpenRouter để tạo nội dung bài viết
- Kết nối OpenAI để tạo ảnh bài đăng
4. TÍCH HỢP API MẠNG XÃ HỘI
- Twitter/X: Cấu hình OAuth2 trong node Publish on X
- LinkedIn: Cấu hình OAuth2 trong node Publish on LinkedIn
- Facebook & Instagram: Kết nối qua Facebook Graph API
5. KIỂM TRA & TÙY CHỈNH
- Chạy thử workflow để kiểm tra toàn bộ quy trình
- Tùy chỉnh thêm nền tảng khác hoặc thay đổi cách AI tạo nội dung
ỨNG DỤNG MỞ RỘNG
Workflow này có thể mở rộng để:
- Tự động đăng bài lên nhiều nền tảng hơn (Pinterest, Reddit…)
- Cập nhật bài viết theo lịch trình
- Tích hợp chatbot AI để phản hồi bình luận tự động
Code Json:
{
"nodes": [
{
"parameters": {},
"id": "f5bb7898-44eb-45bf-b199-2146c8e901f6",
"name": "When clicking ‘Test workflow’",
"type": "n8n-nodes-base.manualTrigger",
"position": [
380,
840
],
"typeVersion": 1
},
{
"parameters": {
"documentId": {
"__rl": true,
"mode": "list",
"value": "1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit?usp=drivesdk",
"cachedResultName": "Social Media post"
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit#gid=0",
"cachedResultName": "Foglio1"
},
"filtersUI": {
"values": [
{
"lookupColumn": "TWITTER"
}
]
},
"options": {
"returnFirstMatch": true
}
},
"id": "b1977304-fbbf-4bb5-924a-e5db036bca91",
"name": "Google Sheets",
"type": "n8n-nodes-base.googleSheets",
"position": [
600,
840
],
"typeVersion": 4.5,
"credentials": {
"googleSheetsOAuth2Api": {
"id": "0W2zkiD7S3ubHzRe",
"name": "Google Sheets account"
}
}
},
{
"parameters": {
"model": "google/gemini-2.0-flash-exp:free",
"options": {}
},
"id": "1451692d-8e8d-4da7-be3e-b4dd20319c7a",
"name": "OpenRouter Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
"position": [
1000,
1060
],
"typeVersion": 1,
"credentials": {
"openRouterApi": {
"id": "oFYp4F3SnHWULT7e",
"name": "OpenRouter account"
}
}
},
{
"parameters": {
"schemaType": "manual",
"inputSchema": "{\n\t\"type\": \"object\",\n\t\"properties\": {\n\t\t\"twitter\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n\t\t\"facebook\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n \"linkedin\": {\n\t\t\t\"type\": \"string\"\n\t\t},\n \"instagram\": {\n\t\t\t\"type\": \"string\"\n\t\t}\n\t}\n}"
},
"id": "6768f867-666d-4c41-b77a-1bfb389b0329",
"name": "Structured Output Parser",
"type": "@n8n/n8n-nodes-langchain.outputParserStructured",
"position": [
1220,
1060
],
"typeVersion": 1.2
},
{
"parameters": {
"resource": "image",
"prompt": "={{ $json.output.instagram }}",
"options": {
"size": "1024x1024",
"returnImageUrls": true
}
},
"id": "05cf81ec-bb25-447a-9c54-183132b8804c",
"name": "Image Instagram",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1540,
1200
],
"typeVersion": 1.8,
"credentials": {
"openAiApi": {
"id": "g2zXjjjhrsvqSL44",
"name": "OpenAi account"
}
}
},
{
"parameters": {
"resource": "image",
"prompt": "={{ $json.output.facebook }}",
"options": {
"size": "1792x1024",
"returnImageUrls": false
}
},
"id": "2ae8be2c-28a3-4f55-aee3-2fff3517b149",
"name": "Image Facebook e Linkedin",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
1540,
780
],
"typeVersion": 1.8,
"credentials": {
"openAiApi": {
"id": "g2zXjjjhrsvqSL44",
"name": "OpenAi account"
}
}
},
{
"parameters": {
"promptType": "define",
"text": "=Generate social content from the following text with title \"{{ $json.title.rendered }}\" (in the same language):\n\n'''\n{{ $json.content.rendered }}\n'''",
"hasOutputParser": true,
"messages": {
"messageValues": [
{
"message": "=Your goal is to create engaging and informative content for LinkedIn, Instagram, Facebook, Twitter (X) while ensuring each post aligns with the platform’s audience, tone, and style. Content should reflect the company’s expertise, providing value-driven insights, tutorials, reviews, and discussions that resonate with tech professionals, enthusiasts, and businesses.\n\nEach post should be optimized for engagement, using platform-specific hashtags to improve reach and SEO. Maintain a professional yet approachable tone that promotes trust and authority in the tech space.\n\nContent Creation Best Practices:\nPost Optimization: Adapt content format, style, and hashtags based on each social media platform’s algorithm and audience engagement patterns.\nSEO & Hashtags: Use a balanced mix of general hashtags and platform-specific trending hashtags to maximize reach.\nEngagement-driven content: Focus on tech tutorials, IT industry updates, comparisons, reviews, and in-depth discussions that spark engagement.\nConsistency: Maintain a consistent tone and visual identity across all platforms, while tailoring content to each audience.\nData-driven trends: Regularly analyze post performance and adjust your hashtag strategy to reflect trending discussions within your topic. High-quality, relevant, and engaging copy that appeals to professionals, businesses, and enthusiasts of your topic must be provided.\n\n### Platform-specific requirements:\n1. **LinkedIn**:\n- Style: Professional and informative.\n- Tone: Focus on business results, employee gratitude, and community impact.\n- Content length: 3-4 sentences, detailed and insightful.\n- Hashtags: Create hashtags that are compatible with your topic.\n- Call to action: Engage businesses and professionals by encouraging comments or visits to Al Ansari's website.\n\n2. **Instagram**:\n- Style: Visual storytelling.\n- Tone: Inspiring and engaging.\n- Content length: 2-3 sentences, paired with creative captions and emojis.\n- Images: Highlight events, giveaways, and milestones (e.g., 50th anniversary keychains, eco-friendly tote bags).\n- Call to action: Use phrases like “Swipe to see more,” “Tag your coworkers,” or “Celebrate with us!”\n- Hashtags: Create hashtags that resonate with your topic\n\n3. **Facebook**:\n- Style: Friendly and relevant.\n- Tone: Community-focused, sharing employee stories, accomplishments, or event updates.\n- Content length: 2-3 sentences, slightly informal but still reflective of your company’s values.\n- Call to Action: Encourage likes, shares, and comments from connected families and communities\n\n4. **Twitter (X)**:\n- Style: Concise and impactful.\n- Tone: Crisp, engaging, and catchy.\n- Content Length: 150 characters or less, including hashtags.\n- Create hashtags that are compatible with the topic being discussed\n- Call to Action: Focus on rapid engagement through retweets, likes, and replies.\n\nWith this guide, generate posts for all platforms for the inputs below by inserting them into the specified json structure;"
}
]
}
},
"id": "583a8459-3574-44e6-85bf-a33b9a4bf9f4",
"name": "Social Media Manager",
"type": "@n8n/n8n-nodes-langchain.chainLlm",
"position": [
1040,
840
],
"typeVersion": 1.5
},
{
"parameters": {
"operation": "update",
"documentId": {
"__rl": true,
"mode": "list",
"value": "1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit?usp=drivesdk",
"cachedResultName": "Social Media post"
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit#gid=0",
"cachedResultName": "Foglio1"
},
"columns": {
"value": {
"LINKEDIN": "x",
"row_number": "={{ $('Google Sheets').item.json.row_number }}"
},
"schema": [
{
"id": "POST ID",
"type": "string",
"display": true,
"required": false,
"displayName": "POST ID",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TESTO",
"type": "string",
"display": true,
"required": false,
"displayName": "TESTO",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TWITTER",
"type": "string",
"display": true,
"required": false,
"displayName": "TWITTER",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "FACEBOOK",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "FACEBOOK",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "INSTAGRAM",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "INSTAGRAM",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "LINKEDIN",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "LINKEDIN",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"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": {}
},
"id": "dbdb39dc-02b2-4fe6-8b70-f38b86c9d9e3",
"name": "Linkedin OK",
"type": "n8n-nodes-base.googleSheets",
"position": [
2080,
660
],
"typeVersion": 4.5,
"credentials": {
"googleSheetsOAuth2Api": {
"id": "0W2zkiD7S3ubHzRe",
"name": "Google Sheets account"
}
}
},
{
"parameters": {
"operation": "update",
"documentId": {
"__rl": true,
"mode": "list",
"value": "1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit?usp=drivesdk",
"cachedResultName": "Social Media post"
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit#gid=0",
"cachedResultName": "Foglio1"
},
"columns": {
"value": {
"FACEBOOK": "x",
"row_number": "={{ $('Google Sheets').item.json.row_number }}"
},
"schema": [
{
"id": "POST ID",
"type": "string",
"display": true,
"required": false,
"displayName": "POST ID",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TESTO",
"type": "string",
"display": true,
"required": false,
"displayName": "TESTO",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TWITTER",
"type": "string",
"display": true,
"required": false,
"displayName": "TWITTER",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "FACEBOOK",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "FACEBOOK",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "INSTAGRAM",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "INSTAGRAM",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "LINKEDIN",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "LINKEDIN",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"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": {}
},
"id": "07aba718-fb10-48d4-bedb-0c19315acfe1",
"name": "Facebook Ok",
"type": "n8n-nodes-base.googleSheets",
"position": [
2080,
920
],
"typeVersion": 4.5,
"credentials": {
"googleSheetsOAuth2Api": {
"id": "0W2zkiD7S3ubHzRe",
"name": "Google Sheets account"
}
}
},
{
"parameters": {
"operation": "update",
"documentId": {
"__rl": true,
"mode": "list",
"value": "1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit?usp=drivesdk",
"cachedResultName": "Social Media post"
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit#gid=0",
"cachedResultName": "Foglio1"
},
"columns": {
"value": {
"INSTAGRAM": "x",
"row_number": "={{ $('Google Sheets').item.json.row_number }}"
},
"schema": [
{
"id": "POST ID",
"type": "string",
"display": true,
"required": false,
"displayName": "POST ID",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TESTO",
"type": "string",
"display": true,
"required": false,
"displayName": "TESTO",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TWITTER",
"type": "string",
"display": true,
"required": false,
"displayName": "TWITTER",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "FACEBOOK",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "FACEBOOK",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "INSTAGRAM",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "INSTAGRAM",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "LINKEDIN",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "LINKEDIN",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"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": {}
},
"id": "7fda8841-4b46-4f3b-9ba0-aa728ba7943f",
"name": "Instagram OK",
"type": "n8n-nodes-base.googleSheets",
"position": [
2080,
1200
],
"typeVersion": 4.5,
"credentials": {
"googleSheetsOAuth2Api": {
"id": "0W2zkiD7S3ubHzRe",
"name": "Google Sheets account"
}
}
},
{
"parameters": {
"operation": "get",
"postId": "={{ $json['POST ID'] }}",
"options": {}
},
"id": "fe599e8f-ff45-4aec-b70e-f0dc75b929d5",
"name": "Get Post",
"type": "n8n-nodes-base.wordpress",
"position": [
820,
840
],
"typeVersion": 1,
"credentials": {
"wordpressApi": {
"id": "UoUOa9xpVxfRGtlh",
"name": "Tongkhodonhua.com"
}
}
},
{
"parameters": {
"text": "={{ $json.output.twitter }}",
"additionalFields": {}
},
"id": "89a0deab-b55a-4eb6-8251-538f5f216d56",
"name": "Publish on X",
"type": "n8n-nodes-base.twitter",
"position": [
1820,
420
],
"typeVersion": 2,
"credentials": {
"twitterOAuth2Api": {
"id": "dNMAyyuRIVQSMWSy",
"name": "X account"
}
}
},
{
"parameters": {
"operation": "update",
"documentId": {
"__rl": true,
"mode": "list",
"value": "1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit?usp=drivesdk",
"cachedResultName": "Social Media post"
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1suPQNdgoAzrklleN4ok2mZnsq0GK1dt59oIHv8JWX5U/edit#gid=0",
"cachedResultName": "Foglio1"
},
"columns": {
"value": {
"TWITTER": "x",
"row_number": "={{ $('Google Sheets').item.json.row_number }}"
},
"schema": [
{
"id": "POST ID",
"type": "string",
"display": true,
"required": false,
"displayName": "POST ID",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TESTO",
"type": "string",
"display": true,
"required": false,
"displayName": "TESTO",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "TWITTER",
"type": "string",
"display": true,
"required": false,
"displayName": "TWITTER",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "FACEBOOK",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "FACEBOOK",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "INSTAGRAM",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "INSTAGRAM",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "LINKEDIN",
"type": "string",
"display": true,
"removed": false,
"required": false,
"displayName": "LINKEDIN",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"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": {}
},
"id": "d0a618f3-48e0-4ba1-9525-e15663b38d9f",
"name": "X OK",
"type": "n8n-nodes-base.googleSheets",
"position": [
2080,
420
],
"typeVersion": 4.5,
"credentials": {
"googleSheetsOAuth2Api": {
"id": "0W2zkiD7S3ubHzRe",
"name": "Google Sheets account"
}
}
},
{
"parameters": {
"postAs": "organization",
"organization": "xxxxxxx",
"text": "={{ $('Social Media Manager').item.json.output.linkedin }}",
"shareMediaCategory": "IMAGE",
"additionalFields": {}
},
"id": "8f19c32b-ab02-4098-a165-a3c9c6ff05c4",
"name": "Publish on LinkedIn",
"type": "n8n-nodes-base.linkedIn",
"position": [
1820,
660
],
"typeVersion": 1,
"credentials": {
"linkedInOAuth2Api": {
"id": "mEhkMYRZecj25v4V",
"name": "LinkedIn account"
}
}
},
{
"parameters": {
"httpRequestMethod": "POST",
"graphApiVersion": "v21.0",
"node": "433770813646235",
"edge": "photos",
"sendBinaryData": true,
"binaryPropertyName": "data",
"options": {
"queryParameters": {
"parameter": [
{
"name": "message",
"value": "={{ $('Social Media Manager').item.json.output.facebook }}"
},
{
"name": "link",
"value": "={{ $('Get Post').item.json.link }}"
}
]
}
}
},
"id": "69324bfa-ce6e-42e7-9598-13d8dbd13ae7",
"name": "Publish on Facebook",
"type": "n8n-nodes-base.facebookGraphApi",
"position": [
1820,
920
],
"typeVersion": 1,
"credentials": {
"facebookGraphApi": {
"id": "i0aAMDyE20RLI1gc",
"name": "Page Hóng"
}
}
},
{
"parameters": {
"method": "POST",
"url": "https://graph.facebook.com/v20.0/433770813646235/media",
"authentication": "predefinedCredentialType",
"nodeCredentialType": "facebookGraphApi",
"sendQuery": true,
"queryParameters": {
"parameters": [
{
"name": "image_url",
"value": "={{ $json.url }}"
},
{
"name": "caption",
"value": "={{ $('Social Media Manager').item.json.output.instagram }}"
}
]
},
"options": {}
},
"id": "ccc7bb23-2a26-42c6-9ac4-16a2cce77f66",
"name": "Publish on Instagram",
"type": "n8n-nodes-base.httpRequest",
"position": [
1820,
1200
],
"typeVersion": 4.2,
"credentials": {
"facebookGraphApi": {
"id": "i0aAMDyE20RLI1gc",
"name": "Page Hóng"
}
}
}
],
"connections": {
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Google Sheets",
"type": "main",
"index": 0
}
]
]
},
"Google Sheets": {
"main": [
[
{
"node": "Get Post",
"type": "main",
"index": 0
}
]
]
},
"OpenRouter Chat Model": {
"ai_languageModel": [
[
{
"node": "Social Media Manager",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Structured Output Parser": {
"ai_outputParser": [
[
{
"node": "Social Media Manager",
"type": "ai_outputParser",
"index": 0
}
]
]
},
"Image Instagram": {
"main": [
[
{
"node": "Publish on Instagram",
"type": "main",
"index": 0
}
]
]
},
"Image Facebook e Linkedin": {
"main": [
[
{
"node": "Publish on LinkedIn",
"type": "main",
"index": 0
},
{
"node": "Publish on Facebook",
"type": "main",
"index": 0
}
]
]
},
"Social Media Manager": {
"main": [
[
{
"node": "Image Instagram",
"type": "main",
"index": 0
},
{
"node": "Image Facebook e Linkedin",
"type": "main",
"index": 0
},
{
"node": "Publish on X",
"type": "main",
"index": 0
}
]
]
},
"Get Post": {
"main": [
[
{
"node": "Social Media Manager",
"type": "main",
"index": 0
}
]
]
},
"Publish on X": {
"main": [
[
{
"node": "X OK",
"type": "main",
"index": 0
}
]
]
},
"Publish on LinkedIn": {
"main": [
[
{
"node": "Linkedin OK",
"type": "main",
"index": 0
}
]
]
},
"Publish on Facebook": {
"main": [
[
{
"node": "Facebook Ok",
"type": "main",
"index": 0
}
]
]
},
"Publish on Instagram": {
"main": [
[
{
"node": "Instagram OK",
"type": "main",
"index": 0
}
]
]
}
},
"pinData": {},
"meta": {
"templateId": "3086",
"templateCredsSetupCompleted": true,
"instanceId": "3a518cf9c1233b7b7bac22dfea1751b4d34a0a3fbe239239f0d74077e5203687"
}
}
💬 Nếu có bất kỳ thắc mắc nào, hãy để lại comment bên dưới để được giải đáp nhanh nhất!