自动Instagram内容规划与发布
高级
这是一个Design, AI, Marketing领域的自动化工作流,包含 54 个节点。主要使用 If, Set, Gmail, Crypto, Supabase 等节点,结合人工智能技术实现智能自动化。 使用OpenAI和内容日历自动规划并发布Instagram内容
前置要求
- •Google 账号和 Gmail API 凭证
- •Supabase URL 和 API Key
- •可能需要目标 API 的认证凭证
- •Facebook Graph API 凭证
- •OpenAI API Key
使用的节点 (54)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "19bcd60ab4c585843589e869186ed8f4ce9749309d0a3e8691d67879d955cf70"
},
"nodes": [
{
"id": "e6be441b-ad8a-4aa5-a28d-a389939732d1",
"name": "当点击\"测试工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-880,
480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "4f510134-5ed2-4698-80eb-0543daed05fd",
"name": "配置工作流",
"type": "n8n-nodes-base.set",
"position": [
-360,
480
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "b9129d03-41e5-4844-acef-a91d094d0e69",
"name": "更改请求字段",
"type": "n8n-nodes-base.set",
"position": [
1660,
360
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "c15a5420-e66f-4132-afc1-2d4e2c33de84",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "ee2ac14d-c48c-421a-9e22-f8655cfc3329",
"name": "获取月度计划",
"type": "n8n-nodes-base.supabase",
"position": [
100,
1060
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "63b364e0-4c83-419c-883e-6c8613fd7c47",
"name": "更改请求字段1",
"type": "n8n-nodes-base.set",
"position": [
1640,
1060
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "2476a0a9-0c2d-4afd-891b-30521853019a",
"name": "需要更改?1",
"type": "n8n-nodes-base.if",
"position": [
1460,
1060
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "58652b33-25e0-483d-86fb-edc767056c03",
"name": "便签1",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
920
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "b21c33ea-8d04-48f6-b13b-cf525ac5288f",
"name": "有月度计划吗?",
"type": "n8n-nodes-base.if",
"position": [
480,
1060
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "5537c261-4dd3-4b8a-ae94-b54ea0958bd4",
"name": "获取月度计划说明",
"type": "n8n-nodes-base.gmail",
"position": [
680,
1060
],
"webhookId": "03a0b1ff-a665-4657-9fa2-e43aaa7e59ad",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "4eb0a3c9-28c6-41c6-bdfb-7a7a8d6a0c55",
"name": "月度计划批准",
"type": "n8n-nodes-base.gmail",
"position": [
1260,
1060
],
"webhookId": "08e878d2-3f61-45b5-9b90-e06f96f632ad",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "37c39e96-4cbe-49f0-89a3-f0b254e03409",
"name": "保存月度计划",
"type": "n8n-nodes-base.supabase",
"position": [
1640,
1280
],
"parameters": {},
"typeVersion": 1
},
{
"id": "eae9d508-8234-4f1f-91dd-d28f5655af9a",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
1620
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "71956d7e-fa4b-4a3e-b51f-d1d13a71e687",
"name": "获取周度计划",
"type": "n8n-nodes-base.supabase",
"position": [
100,
1720
],
"parameters": {},
"retryOnFail": false,
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "d7cb8040-61c0-412f-a151-401734c125ff",
"name": "有周度计划吗?",
"type": "n8n-nodes-base.if",
"position": [
480,
1720
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "40ad6c31-e91b-41b3-9d0f-d02add519758",
"name": "获取周度计划说明",
"type": "n8n-nodes-base.gmail",
"position": [
680,
1720
],
"webhookId": "03a0b1ff-a665-4657-9fa2-e43aaa7e59ad",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "36965e2f-207f-4561-bbad-be834f283fec",
"name": "周度计划批准",
"type": "n8n-nodes-base.gmail",
"position": [
1200,
1720
],
"webhookId": "08e878d2-3f61-45b5-9b90-e06f96f632ad",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "e530ca23-6669-4f6b-9aaa-7af6b19ddeb5",
"name": "周度计划有更改吗?",
"type": "n8n-nodes-base.if",
"position": [
1380,
1720
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "42fc65ab-61ce-4ef1-80d9-494f378304d1",
"name": "周度计划更改字段",
"type": "n8n-nodes-base.set",
"position": [
1560,
1720
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "3ca5cdf3-e902-469f-acbd-e25ffb8a5867",
"name": "保存周度计划",
"type": "n8n-nodes-base.supabase",
"position": [
1560,
1940
],
"parameters": {},
"typeVersion": 1
},
{
"id": "442a5cde-2d8f-4708-b7f7-d75a4b463c51",
"name": "合并前一周的帖子",
"type": "n8n-nodes-base.aggregate",
"position": [
300,
2480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d4c08659-9637-4107-915f-2a337c4773d3",
"name": "使用OpenAI生成图片",
"type": "n8n-nodes-base.httpRequest",
"position": [
1240,
2480
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "70f02ded-d7fc-4837-95d8-eb3ebe612c68",
"name": "将响应转换为图片",
"type": "n8n-nodes-base.convertToFile",
"position": [
1440,
2480
],
"parameters": {},
"typeVersion": 1.1
},
{
"id": "0f2c252b-85b4-4eb6-a4a2-cba768a6f543",
"name": "添加分享链接",
"type": "n8n-nodes-base.set",
"position": [
1840,
2480
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "02ea4c39-d0c7-4dbb-aa1b-f7ca2a3f1158",
"name": "获取帖子批准",
"type": "n8n-nodes-base.gmail",
"position": [
2040,
2480
],
"webhookId": "728f8049-2461-4c13-af6d-468328d16020",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "90072338-f3c1-49d7-b982-a70587701980",
"name": "帖子已批准?",
"type": "n8n-nodes-base.if",
"position": [
100,
2820
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "f5cbb82b-e426-4097-935d-ece1073b8669",
"name": "添加帖子更改请求字段",
"type": "n8n-nodes-base.set",
"position": [
320,
2820
],
"parameters": {},
"typeVersion": 3.4
},
{
"id": "4e6bf0c6-b703-4662-b9bd-4281ab039aad",
"name": "Facebook Graph API",
"type": "n8n-nodes-base.facebookGraphApi",
"position": [
100,
3500
],
"parameters": {},
"typeVersion": 1
},
{
"id": "bd5b5f84-da29-4250-9d9f-84055e78625e",
"name": "生成唯一ID",
"type": "n8n-nodes-base.crypto",
"position": [
840,
2480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f1d92cb6-9f8a-49fd-9d93-0750276773c3",
"name": "上传图片到Supabase",
"type": "n8n-nodes-base.httpRequest",
"position": [
1640,
2480
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "feead10f-9fee-4db3-b1e5-262e9abe6dce",
"name": "Facebook Graph API1",
"type": "n8n-nodes-base.facebookGraphApi",
"position": [
300,
3500
],
"parameters": {},
"typeVersion": 1
},
{
"id": "20056a9f-0e58-4d5b-8b4f-4df6adcc3a33",
"name": "获取季度计划说明",
"type": "n8n-nodes-base.gmail",
"position": [
680,
360
],
"webhookId": "03a0b1ff-a665-4657-9fa2-e43aaa7e59ad",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "96dd97ef-0d03-4cab-8878-22624aa90910",
"name": "有季度计划吗?",
"type": "n8n-nodes-base.if",
"position": [
460,
360
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "95379587-6233-4dbf-b8db-c50998836306",
"name": "获取季度计划",
"type": "n8n-nodes-base.supabase",
"position": [
80,
360
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "b62a7533-4047-40d9-84d7-3e48d42cab92",
"name": "获取季度计划批准",
"type": "n8n-nodes-base.gmail",
"position": [
1260,
360
],
"webhookId": "08e878d2-3f61-45b5-9b90-e06f96f632ad",
"parameters": {},
"typeVersion": 2.1
},
{
"id": "58afc232-5cca-4ca0-abb3-272a84764532",
"name": "保存季度计划",
"type": "n8n-nodes-base.supabase",
"position": [
1660,
580
],
"parameters": {},
"typeVersion": 1
},
{
"id": "a0f655d3-388c-4582-825b-abab58178654",
"name": "下载参考图片",
"type": "n8n-nodes-base.httpRequest",
"position": [
1040,
2480
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "2c2e63a9-8cb9-424e-85a4-6abf4467f4a3",
"name": "获取过去7天的帖子",
"type": "n8n-nodes-base.supabase",
"position": [
100,
2480
],
"parameters": {},
"typeVersion": 1,
"alwaysOutputData": true
},
{
"id": "c8dbaa5a-fd66-406f-90df-787b6021583e",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
2300
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "af081e9e-91b5-49d0-9304-8101fa8ea683",
"name": "便签5",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
240
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "d6f7d647-f60c-402a-97c5-b177f6612cd6",
"name": "保存帖子",
"type": "n8n-nodes-base.supabase",
"position": [
100,
3060
],
"parameters": {},
"typeVersion": 1
},
{
"id": "20ffab1e-841e-4fc5-a716-7728f4d7fe0f",
"name": "### 需要帮助?",
"type": "n8n-nodes-base.stickyNote",
"position": [
-480,
920
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3c007d4f-c019-4c96-9b88-3581fc93c812",
"name": "批准季度计划?",
"type": "n8n-nodes-base.if",
"position": [
1440,
360
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "64825ec6-cc59-4b2b-ba37-52571b214ed6",
"name": "生成新的Instagram帖子",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
500,
2480
],
"parameters": {},
"typeVersion": 1
},
{
"id": "d4e0c1b0-1a0f-4d12-be1d-8a2318ea1d62",
"name": "生成季度计划",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
900,
360
],
"parameters": {},
"typeVersion": 1
},
{
"id": "81856aa0-5cc9-46d3-9fc0-f3c13fe96ed5",
"name": "季度计划汇总",
"type": "n8n-nodes-base.aggregate",
"position": [
280,
360
],
"parameters": {},
"typeVersion": 1
},
{
"id": "03708906-93b6-49e0-ac47-e742f4922c5d",
"name": "月度计划汇总",
"type": "n8n-nodes-base.aggregate",
"position": [
300,
1060
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f28922dd-5b9f-499f-8050-9c2b92ea4061",
"name": "周度计划汇总",
"type": "n8n-nodes-base.aggregate",
"position": [
300,
1720
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f3d6d405-5632-485d-ab17-6cc9daf12854",
"name": "生成月度计划",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
900,
1060
],
"parameters": {},
"typeVersion": 1
},
{
"id": "f76d76d8-e82e-4209-b16d-27bdcf54abe8",
"name": "生成周度计划",
"type": "@n8n/n8n-nodes-langchain.informationExtractor",
"position": [
880,
1720
],
"parameters": {},
"typeVersion": 1
},
{
"id": "61df6749-75ef-4d00-b4b0-616d1eaef61d",
"name": "OpenAI 聊天模型",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
-360,
1240
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "501c7a8f-3cd4-40bc-ac74-fe692611d230",
"name": "## 试试看!",
"type": "n8n-nodes-base.stickyNote",
"position": [
700,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "fee67389-d418-4b62-b2d9-297d320af65b",
"name": "GET 模型",
"type": "n8n-nodes-base.stickyNote",
"position": [
1320,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "0b3150c6-0b66-47d9-ae91-d5e37ad3b951",
"name": "## 1. 创建新的自定义 OpenAI 凭据",
"type": "n8n-nodes-base.stickyNote",
"position": [
0,
0
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"Save the post": {
"main": [
[
{
"node": "Facebook Graph API",
"type": "main",
"index": 0
}
]
]
},
"Add share link": {
"main": [
[
{
"node": "Get approval for the post",
"type": "main",
"index": 0
}
]
]
},
"Need changes?1": {
"main": [
[
{
"node": "Save monthly plan",
"type": "main",
"index": 0
}
],
[
{
"node": "Change request fields1",
"type": "main",
"index": 0
}
]
]
},
"Post approved?": {
"main": [
[
{
"node": "Save the post",
"type": "main",
"index": 0
}
],
[
{
"node": "Add post change request fields",
"type": "main",
"index": 0
}
]
]
},
"Get weekly plan": {
"main": [
[
{
"node": "Weekly plan aggregate",
"type": "main",
"index": 0
}
]
]
},
"Get monthly plan": {
"main": [
[
{
"node": "Monthly plan aggregate",
"type": "main",
"index": 0
}
]
]
},
"Has weekly plan?": {
"main": [
[
{
"node": "Get posts from the past 7 days",
"type": "main",
"index": 0
}
],
[
{
"node": "Get instructions on the weekly plan",
"type": "main",
"index": 0
}
]
]
},
"Save weekly plan": {
"main": [
[
{
"node": "Get weekly plan",
"type": "main",
"index": 0
}
]
]
},
"Has monthly plan?": {
"main": [
[
{
"node": "Get weekly plan",
"type": "main",
"index": 0
}
],
[
{
"node": "Get instructions on the monthly plan",
"type": "main",
"index": 0
}
]
]
},
"OpenAI Chat Model": {
"ai_languageModel": [
[
{
"node": "Generate quarterly plan",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Generate monthly plan",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Generate weekly plan",
"type": "ai_languageModel",
"index": 0
},
{
"node": "Generate new Instagram post",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"Save monthly plan": {
"main": [
[
{
"node": "Get monthly plan",
"type": "main",
"index": 0
}
]
]
},
"Configure workflow": {
"main": [
[
{
"node": "Get quarterly plan",
"type": "main",
"index": 0
}
]
]
},
"Facebook Graph API": {
"main": [
[
{
"node": "Facebook Graph API1",
"type": "main",
"index": 0
}
]
]
},
"Generate unique id": {
"main": [
[
{
"node": "Download the reference image",
"type": "main",
"index": 0
}
]
]
},
"Get quarterly plan": {
"main": [
[
{
"node": "Quaterly plan aggregate",
"type": "main",
"index": 0
}
]
]
},
"Has quarterly plan?": {
"main": [
[
{
"node": "Get monthly plan",
"type": "main",
"index": 0
}
],
[
{
"node": "Get instructions on the quarterly plan",
"type": "main",
"index": 0
}
]
]
},
"Save quarterly plan": {
"main": [
[
{
"node": "Get quarterly plan",
"type": "main",
"index": 0
}
]
]
},
"Generate weekly plan": {
"main": [
[
{
"node": "Weekly plan approval",
"type": "main",
"index": 0
}
]
]
},
"Montly plan approval": {
"main": [
[
{
"node": "Need changes?1",
"type": "main",
"index": 0
}
]
]
},
"Weekly plan approval": {
"main": [
[
{
"node": "Changes to the weekly plan?",
"type": "main",
"index": 0
}
]
]
},
"Change request fields": {
"main": [
[
{
"node": "Generate quarterly plan",
"type": "main",
"index": 0
}
]
]
},
"Generate monthly plan": {
"main": [
[
{
"node": "Montly plan approval",
"type": "main",
"index": 0
}
]
]
},
"Weekly plan aggregate": {
"main": [
[
{
"node": "Has weekly plan?",
"type": "main",
"index": 0
}
]
]
},
"Change request fields1": {
"main": [
[
{
"node": "Generate monthly plan",
"type": "main",
"index": 0
}
]
]
},
"Monthly plan aggregate": {
"main": [
[
{
"node": "Has monthly plan?",
"type": "main",
"index": 0
}
]
]
},
"Approve quarterly plan?": {
"main": [
[
{
"node": "Save quarterly plan",
"type": "main",
"index": 0
}
],
[
{
"node": "Change request fields",
"type": "main",
"index": 0
}
]
]
},
"Generate quarterly plan": {
"main": [
[
{
"node": "Get approval on the quarterly plan",
"type": "main",
"index": 0
}
]
]
},
"Quaterly plan aggregate": {
"main": [
[
{
"node": "Has quarterly plan?",
"type": "main",
"index": 0
}
]
]
},
"Upload image to Supabase": {
"main": [
[
{
"node": "Add share link",
"type": "main",
"index": 0
}
]
]
},
"Convert response to image": {
"main": [
[
{
"node": "Upload image to Supabase",
"type": "main",
"index": 0
}
]
]
},
"Get approval for the post": {
"main": [
[
{
"node": "Post approved?",
"type": "main",
"index": 0
}
]
]
},
"Weekly plan change fields": {
"main": [
[
{
"node": "Generate weekly plan",
"type": "main",
"index": 0
}
]
]
},
"Generate image with OpenAI": {
"main": [
[
{
"node": "Convert response to image",
"type": "main",
"index": 0
}
]
]
},
"Changes to the weekly plan?": {
"main": [
[
{
"node": "Save weekly plan",
"type": "main",
"index": 0
}
],
[
{
"node": "Weekly plan change fields",
"type": "main",
"index": 0
}
]
]
},
"Generate new Instagram post": {
"main": [
[
{
"node": "Generate unique id",
"type": "main",
"index": 0
}
]
]
},
"merge previous week's posts": {
"main": [
[
{
"node": "Generate new Instagram post",
"type": "main",
"index": 0
}
]
]
},
"Download the reference image": {
"main": [
[
{
"node": "Generate image with OpenAI",
"type": "main",
"index": 0
}
]
]
},
"Add post change request fields": {
"main": [
[
{
"node": "Generate new Instagram post",
"type": "main",
"index": 0
}
]
]
},
"Get posts from the past 7 days": {
"main": [
[
{
"node": "merge previous week's posts",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Test workflow’": {
"main": [
[
{
"node": "Configure workflow",
"type": "main",
"index": 0
}
]
]
},
"Get approval on the quarterly plan": {
"main": [
[
{
"node": "Approve quarterly plan?",
"type": "main",
"index": 0
}
]
]
},
"Get instructions on the weekly plan": {
"main": [
[
{
"node": "Generate weekly plan",
"type": "main",
"index": 0
}
]
]
},
"Get instructions on the monthly plan": {
"main": [
[
{
"node": "Generate monthly plan",
"type": "main",
"index": 0
}
]
]
},
"Get instructions on the quarterly plan": {
"main": [
[
{
"node": "Generate quarterly plan",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 设计, 人工智能, 营销
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
第8集:Instagram影响者
使用GPT-4.1、Supabase和人工审批自动化Instagram影响者内容
If
Set
Gmail
+10
55 节点NICKYAI
设计
第8集:Instagram 影响者
使用 OpenAI 和 FB Graph API 创建自动化 Instagram 内容生成器
If
Set
Gmail
+10
55 节点jolonbankey
设计
使用OpenAI、ElevenLabs和Replicate创建并上传AI短视频
使用OpenAI、ElevenLabs和Replicate创建并上传AI短视频
If
Set
Wait
+15
68 节点AYOUBTIG
设计
自动化博客撰写与社交媒体推广代理
使用GPT-4、Perplexity和WordPress自动化SEO博客创建+社交媒体
Set
Code
Gmail
+21
79 节点LukaszB
设计
AI驱动的YouTube短视频自动化:使用OpenAI和ElevenLabs创建与发布
AI驱动的YouTube Shorts创建器(OpenAI脚本与ElevenLabs语音)
If
Set
Wait
+15
76 节点WIKIPILOT
设计
AI 自动化 YouTube Shorts:使用 OpenAI 创建和发布
AI 自动化 YouTube Shorts:使用 OpenAI 创建和发布
If
Set
Wait
+15
76 节点AYYOUB TIGAMI
设计