8
n8n 中文网amn8n.com

使用GPT-4o自动创建和上传Instagram帖子

中级

这是一个Social Media, Multimodal AI领域的自动化工作流,包含 11 个节点。主要使用 Code, Merge, Airtable, Aggregate, HttpRequest 等节点。 使用GPT-4o标题、ImgBB和Buffer集成自动化Instagram帖子

前置要求
  • Airtable API Key
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "9nfRCINawOWFF1vf",
  "meta": {
    "instanceId": "d92ae4b43988b888be9e59a711908a679453e558f86530d2ed2c1c3491f22bf5"
  },
  "name": "使用GPT-4o自动创建和上传Instagram帖子",
  "tags": [],
  "nodes": [
    {
      "id": "10bde56d-cf14-4af5-9452-ccc97f53a8e2",
      "name": "本地文件触发器",
      "type": "n8n-nodes-base.localFileTrigger",
      "position": [
        80,
        2280
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "d735a27d-f825-4187-93de-5d2e124b4ac0",
      "name": "转换器",
      "type": "n8n-nodes-base.code",
      "position": [
        240,
        2280
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "ac5b49cc-184a-473f-8ee5-17679c6affd1",
      "name": "从文件获取图像",
      "type": "n8n-nodes-base.readWriteFile",
      "position": [
        420,
        2280
      ],
      "parameters": {},
      "typeVersion": 1,
      "alwaysOutputData": true
    },
    {
      "id": "b921ee52-a127-49ba-9614-b780d61fabe6",
      "name": "分析图片",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        660,
        2280
      ],
      "parameters": {},
      "typeVersion": 1.8
    },
    {
      "id": "58bc9951-b368-448f-8979-f3b67c1ef874",
      "name": "便签 1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        0,
        0
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "c1c8a752-298f-436b-b11d-bfcbd332d368",
      "name": "从文件提取",
      "type": "n8n-nodes-base.extractFromFile",
      "position": [
        660,
        2140
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "e8395ec2-47be-4270-b690-5ced03a5ffad",
      "name": "合并",
      "type": "n8n-nodes-base.merge",
      "position": [
        1280,
        2260
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "51fb9ddf-463f-4058-b87a-b951378cd591",
      "name": "聚合",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        1500,
        2260
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "9223e96e-e24d-46fc-9358-595337ac7b1d",
      "name": "代码",
      "type": "n8n-nodes-base.code",
      "position": [
        1060,
        2140
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "93bb0645-5254-440f-836b-d9b8d3464d12",
      "name": "ImgBB",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        840,
        2140
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "22aa328e-b339-4e6c-b4cb-80f549b0e297",
      "name": "Airtable",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1740,
        2260
      ],
      "parameters": {},
      "typeVersion": 2.1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "41d59bd1-3412-463a-b2d3-636f6504dcce",
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ImgBB": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Merge": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Airtable",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Converter": {
      "main": [
        [
          {
            "node": "Get Image From File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Analyze Image": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Extract from File": {
      "main": [
        [
          {
            "node": "ImgBB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Local File Trigger": {
      "main": [
        [
          {
            "node": "Converter",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Image From File": {
      "main": [
        [
          {
            "node": "Analyze Image",
            "type": "main",
            "index": 0
          },
          {
            "node": "Extract from File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

中级 - 社交媒体, 多模态 AI

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
中级
节点数量11
分类2
节点类型10
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

作者
AiAgent

AiAgent

@lifehacks

As a self-taught entrepreneur, I’m passionate about automating everyday tasks to simplify life. Every system I create is designed to enhance efficiency and free up valuable time. Once I perfect an automation that transforms my own routine, I’m excited to share it with you—so you can experience the same benefits.

外部链接
在 n8n.io 查看

分享此工作流